< prev index next > src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/ClassConstants.java
Print this page
/*
- * Copyright (c) 2002, 2025, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 2026, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
public static final short MINOR_VERSION = 0;
public static final short MAJOR_VERSION_OLD = 46;
public static final short MINOR_VERSION_OLD = 0;
+ // Value types major and minor versions.
+ public static final short VALUE_TYPES_MAJOR_VERSION = 70;
+ public static final short JAVA_PREVIEW_MINOR_VERSION = (short) 65535;
+
// From jvm.h
public static final long JVM_ACC_PUBLIC = 0x0001; /* visible to everyone */
public static final long JVM_ACC_PRIVATE = 0x0002; /* visible only to the defining class */
public static final long JVM_ACC_PROTECTED = 0x0004; /* visible to subclasses */
public static final long JVM_ACC_STATIC = 0x0008; /* instance variable is static */
public static final long JVM_ACC_FINAL = 0x0010; /* no further subclassing, overriding */
public static final long JVM_ACC_SYNCHRONIZED = 0x0020; /* wrap method call in monitor lock */
public static final long JVM_ACC_SUPER = 0x0020; /* funky handling of invokespecial */
+ public static final long JVM_ACC_IDENTITY = 0x0020; /* identity class for 27 and above */
public static final long JVM_ACC_VOLATILE = 0x0040; /* can not cache in registers */
public static final long JVM_ACC_BRIDGE = 0x0040; /* bridge method generated by compiler */
public static final long JVM_ACC_TRANSIENT = 0x0080; /* not persistent */
public static final long JVM_ACC_VARARGS = 0x0080; /* method declared with variable number of args */
public static final long JVM_ACC_NATIVE = 0x0100; /* implemented in C */
public static final long JVM_ACC_INTERFACE = 0x0200; /* class is an interface */
public static final long JVM_ACC_ABSTRACT = 0x0400; /* no definition provided */
public static final long JVM_ACC_STRICT = 0x0800; /* strict floating point */
+ public static final long JVM_ACC_STRICT_INIT = 0x0800; /* strict field initialization */
public static final long JVM_ACC_SYNTHETIC = 0x1000; /* compiler-generated class, method or field */
public static final long JVM_ACC_ANNOTATION = 0x2000; /* annotation type */
public static final long JVM_ACC_ENUM = 0x4000; /* field is declared as element of enum */
// from jvm.h
public static final long JVM_RECOGNIZED_CLASS_MODIFIERS = (JVM_ACC_PUBLIC |
JVM_ACC_FINAL |
JVM_ACC_SUPER |
+ JVM_ACC_IDENTITY |
JVM_ACC_INTERFACE |
JVM_ACC_ABSTRACT |
JVM_ACC_ANNOTATION |
JVM_ACC_ENUM |
JVM_ACC_SYNTHETIC);
JVM_ACC_STATIC |
JVM_ACC_FINAL |
JVM_ACC_VOLATILE |
JVM_ACC_TRANSIENT |
JVM_ACC_ENUM |
+ JVM_ACC_STRICT_INIT |
JVM_ACC_SYNTHETIC);
public static final long JVM_RECOGNIZED_METHOD_MODIFIERS = (JVM_ACC_PUBLIC |
JVM_ACC_PRIVATE |
JVM_ACC_PROTECTED |
< prev index next >