mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8270949: Make dynamically generated classes with the class file version of the current release
Reviewed-by: alanb
This commit is contained in:
parent
b7245c6164
commit
ddce47cd3c
8 changed files with 20 additions and 7 deletions
|
@ -27,6 +27,7 @@ package java.lang.invoke;
|
|||
|
||||
import jdk.internal.misc.CDS;
|
||||
import jdk.internal.misc.Unsafe;
|
||||
import jdk.internal.misc.VM;
|
||||
import sun.security.action.GetPropertyAction;
|
||||
|
||||
import java.util.Properties;
|
||||
|
@ -46,6 +47,7 @@ class MethodHandleStatics {
|
|||
private MethodHandleStatics() { } // do not instantiate
|
||||
|
||||
static final Unsafe UNSAFE = Unsafe.getUnsafe();
|
||||
static final int CLASSFILE_VERSION = VM.classFileVersion();
|
||||
|
||||
static final boolean DEBUG_METHOD_HANDLE_NAMES;
|
||||
static final boolean DUMP_CLASS_FILES;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue