mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8238195: Lookup::defineClass should link the class to match the specification
Reviewed-by: alanb, chegar
This commit is contained in:
parent
1feb24e561
commit
1c6ca09b02
2 changed files with 32 additions and 2 deletions
|
@ -1631,7 +1631,7 @@ public class MethodHandles {
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates a class or interface from {@code bytes}
|
||||
* Creates and links a class or interface from {@code bytes}
|
||||
* with the same class loader and in the same runtime package and
|
||||
* {@linkplain java.security.ProtectionDomain protection domain} as this lookup's
|
||||
* {@linkplain #lookupClass() lookup class} as if calling
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue