src/java.base/share/native/include/classfile_constants.h.template
changeset 54595 a61da18408c1
parent 48826 c4d9d1b08e2e
child 58722 cba8afa5cfed
equal deleted inserted replaced
54594:e0516ee47c36 54595:a61da18408c1
     1 /*
     1 /*
     2  * Copyright (c) 2004, 2017, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2004, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   107     JVM_CONSTANT_NameAndType            = 12,
   107     JVM_CONSTANT_NameAndType            = 12,
   108     JVM_CONSTANT_MethodHandle           = 15,  // JSR 292
   108     JVM_CONSTANT_MethodHandle           = 15,  // JSR 292
   109     JVM_CONSTANT_MethodType             = 16,  // JSR 292
   109     JVM_CONSTANT_MethodType             = 16,  // JSR 292
   110     JVM_CONSTANT_Dynamic                = 17,
   110     JVM_CONSTANT_Dynamic                = 17,
   111     JVM_CONSTANT_InvokeDynamic          = 18,
   111     JVM_CONSTANT_InvokeDynamic          = 18,
   112     JVM_CONSTANT_ExternalMax            = 18
   112     JVM_CONSTANT_Module                 = 19,
       
   113     JVM_CONSTANT_Package                = 20,
       
   114     JVM_CONSTANT_ExternalMax            = 20 
   113 };
   115 };
   114 
   116 
   115 /* JVM_CONSTANT_MethodHandle subtypes */
   117 /* JVM_CONSTANT_MethodHandle subtypes */
   116 enum {
   118 enum {
   117     JVM_REF_getField                = 1,
   119     JVM_REF_getField                = 1,