mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8340131: Refactor internal makeHiddenClassDefiner to take option mask instead of Set<ClassOption>
Reviewed-by: liach, jvernee
This commit is contained in:
parent
05b9d47905
commit
e1ebeef040
6 changed files with 44 additions and 25 deletions
|
@ -285,7 +285,7 @@ public class MethodHandleProxies {
|
|||
byte[] template = createTemplate(loader, binaryNameToDesc(className),
|
||||
referenceClassDesc(intfc), uniqueName, methods);
|
||||
// define the dynamic module to the class loader of the interface
|
||||
var definer = new Lookup(intfc).makeHiddenClassDefiner(className, template, Set.of(), DUMPER);
|
||||
var definer = new Lookup(intfc).makeHiddenClassDefiner(className, template, DUMPER);
|
||||
|
||||
@SuppressWarnings("removal")
|
||||
var sm = System.getSecurityManager();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue