< prev index next >

src/java.base/share/native/include/classfile_constants.h.template

Print this page
@@ -1,7 +1,7 @@
  /*
-  * Copyright (c) 2004, 2019, Oracle and/or its affiliates. All rights reserved.
+  * Copyright (c) 2004, 2022, 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.  Oracle designates this

@@ -42,17 +42,21 @@
      JVM_ACC_PROTECTED     = 0x0004,
      JVM_ACC_STATIC        = 0x0008,
      JVM_ACC_FINAL         = 0x0010,
      JVM_ACC_SYNCHRONIZED  = 0x0020,
      JVM_ACC_SUPER         = 0x0020,
+     JVM_ACC_IDENTITY      = 0x0020,
      JVM_ACC_VOLATILE      = 0x0040,
      JVM_ACC_BRIDGE        = 0x0040,
+     JVM_ACC_VALUE         = 0x0040,
      JVM_ACC_TRANSIENT     = 0x0080,
      JVM_ACC_VARARGS       = 0x0080,
      JVM_ACC_NATIVE        = 0x0100,
+     JVM_ACC_PERMITS_VALUE = 0x0100,
      JVM_ACC_INTERFACE     = 0x0200,
      JVM_ACC_ABSTRACT      = 0x0400,
+     JVM_ACC_PRIMITIVE     = 0x0800,
      JVM_ACC_STRICT        = 0x0800,
      JVM_ACC_SYNTHETIC     = 0x1000,
      JVM_ACC_ANNOTATION    = 0x2000,
      JVM_ACC_ENUM          = 0x4000,
      JVM_ACC_MODULE        = 0x8000

@@ -65,10 +69,11 @@
  #define JVM_ACC_FINAL_BIT         4
  #define JVM_ACC_SYNCHRONIZED_BIT  5
  #define JVM_ACC_SUPER_BIT         5
  #define JVM_ACC_VOLATILE_BIT      6
  #define JVM_ACC_BRIDGE_BIT        6
+ #define JVM_ACC_PERMITS_VALUE_BIT 6
  #define JVM_ACC_TRANSIENT_BIT     7
  #define JVM_ACC_VARARGS_BIT       7
  #define JVM_ACC_NATIVE_BIT        8
  #define JVM_ACC_INTERFACE_BIT     9
  #define JVM_ACC_ABSTRACT_BIT      10

@@ -109,11 +114,11 @@
      JVM_CONSTANT_MethodType             = 16,  // JSR 292
      JVM_CONSTANT_Dynamic                = 17,
      JVM_CONSTANT_InvokeDynamic          = 18,
      JVM_CONSTANT_Module                 = 19,
      JVM_CONSTANT_Package                = 20,
-     JVM_CONSTANT_ExternalMax            = 20 
+     JVM_CONSTANT_ExternalMax            = 20
  };
  
  /* JVM_CONSTANT_MethodHandle subtypes */
  enum {
      JVM_REF_getField                = 1,

@@ -150,10 +155,11 @@
      JVM_SIGNATURE_ENDSPECIAL    = '>',
      JVM_SIGNATURE_ARRAY         = '[',
      JVM_SIGNATURE_BYTE          = 'B',
      JVM_SIGNATURE_CHAR          = 'C',
      JVM_SIGNATURE_CLASS         = 'L',
+     JVM_SIGNATURE_PRIMITIVE_OBJECT = 'Q',
      JVM_SIGNATURE_ENDCLASS      = ';',
      JVM_SIGNATURE_ENUM          = 'E',
      JVM_SIGNATURE_FLOAT         = 'F',
      JVM_SIGNATURE_DOUBLE        = 'D',
      JVM_SIGNATURE_FUNC          = '(',
< prev index next >