This code has been reviewed and submitted internally. Feel free to discuss on the PR and we can submit follow-up changes as necessary.
Commits:
Catch InaccessibleObjectExceptions thrown by JDK9 in ObjectExplorer.
This exception is thrown by JDK9 whenever we try to make an internal field accessible. I have talked to the java platforms team, and they have no better solution than to catch the exception.
1723391a00614fb9241171f2f0958a19e8661df2
-------
Change ObjectExplorer to use Unsafe to get field values rather than trying to use setAccessible on fields, which may fail in JDK9 if it tries to cross module boundaries.
46ad37b890ef98665a77ad8f567e26e658fe3506
This code has been reviewed and submitted internally. Feel free to discuss on the PR and we can submit follow-up changes as necessary.
Commits:
Catch InaccessibleObjectExceptions thrown by JDK9 in ObjectExplorer. This exception is thrown by JDK9 whenever we try to make an internal field accessible. I have talked to the java platforms team, and they have no better solution than to catch the exception. 1723391a00614fb9241171f2f0958a19e8661df2 -------
Change ObjectExplorer to use Unsafe to get field values rather than trying to use setAccessible on fields, which may fail in JDK9 if it tries to cross module boundaries. 46ad37b890ef98665a77ad8f567e26e658fe3506