From 39b70af69b0b086f82da8ac032de5e5a5e0cdc45 Mon Sep 17 00:00:00 2001 From: Andy Clement Date: Thu, 21 Sep 2017 10:29:14 -0700 Subject: [PATCH] add constants to list --- bcel-builder/src/org/aspectj/apache/bcel/Constants.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bcel-builder/src/org/aspectj/apache/bcel/Constants.java b/bcel-builder/src/org/aspectj/apache/bcel/Constants.java index 5f37d106a..85abecff7 100644 --- a/bcel-builder/src/org/aspectj/apache/bcel/Constants.java +++ b/bcel-builder/src/org/aspectj/apache/bcel/Constants.java @@ -155,14 +155,16 @@ public interface Constants { public final static byte CONSTANT_MethodType = 16; public final static byte CONSTANT_InvokeDynamic = 18; - // Java 9 + // J9: public final static byte CONSTANT_Module = 19; public final static byte CONSTANT_Package = 20; public final static String[] CONSTANT_NAMES = { "", "CONSTANT_Utf8", "", "CONSTANT_Integer", "CONSTANT_Float", "CONSTANT_Long", "CONSTANT_Double", "CONSTANT_Class", "CONSTANT_String", "CONSTANT_Fieldref", "CONSTANT_Methodref", - "CONSTANT_InterfaceMethodref", "CONSTANT_NameAndType","","","CONSTANT_MethodHandle","CONSTANT_MethodType","","CONSTANT_InvokeDynamic" }; + "CONSTANT_InterfaceMethodref", "CONSTANT_NameAndType","","","CONSTANT_MethodHandle","CONSTANT_MethodType","","CONSTANT_InvokeDynamic", + // J9: + "CONSTANT_Module", "CONSTANT_Package"}; /** * The name of the static initializer, also called "class initialization method" or "interface initialization -- 2.39.5