-
Notifications
You must be signed in to change notification settings - Fork 713
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Selectively enforce lookup class package check
Only following APIs are subject to lookup class package check (matching RI behaviours): MethodHandles.Lookup.in(Class<?> lookupClass) MethodHandles.Lookup.dropLookupMode(int modeToDrop) MethodHandles.Lookup.privateLookupIn(Class<?> targetClass, MethodHandles.Lookup caller) The change only applies to JDK15. The package check stays same for pre-JDK15 levels. Signed-off-by: Jason Feng <fengj@ca.ibm.com>
- Loading branch information
1 parent
0346887
commit 514b23b
Showing
2 changed files
with
34 additions
and
13 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