-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WFLY-11406] Properly fix DefaultClassFactory so it can be used on JD…
…K12 and above. Some background about this change: After bisecting openjdk code base we identified this commit openjdk/jdk@3f0dace which introduced new JDK behaviour WRT reflective access to some fields and methods. Since this commit it is impossible to: A) Reflectively access all fields and methods of: Reflection.class AccessibleObject.class ClassLoader.class Constructor.class Field.class Method.class B) Reflectively access fields: Class.class -> "classLoader" System.class -> "security" The proper fix is to use MethodHandles to workaround this reflection limitations.
- Loading branch information
Showing
3 changed files
with
32 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters