Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix reflection in TerminalBuilder getParentProcessCommand() #261

Merged
merged 1 commit into from
May 4, 2018

Conversation

ZeroErrors
Copy link
Contributor

Fixes:

  • java.lang.ProcessHandle typod as java.lang.ProcessHandler
  • The type returned from the info method is ProcessHandleImpl.Info and reflection is not allowed on this due to new restrictions in JDK 9 so to work around this we can just use the type ProcessHandle.Info interface that is returned from the info method.

Tested working on JDK 10

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants