8158559: Fix for 8132216 breaks langtools build
authorksrini
Thu, 02 Jun 2016 11:06:20 -0700
changeset 38833 818819898fc5
parent 38832 759100b68651
child 38834 0344e455d960
8158559: Fix for 8132216 breaks langtools build Reviewed-by: mcimadamore
langtools/src/jdk.jdeps/share/classes/com/sun/tools/classfile/Annotation.java
--- a/langtools/src/jdk.jdeps/share/classes/com/sun/tools/classfile/Annotation.java	Thu Jun 02 16:08:24 2016 +0100
+++ b/langtools/src/jdk.jdeps/share/classes/com/sun/tools/classfile/Annotation.java	Thu Jun 02 11:06:20 2016 -0700
@@ -232,6 +232,12 @@
                 values[i] = element_value.read(cr);
         }
 
+        public Array_element_value(element_value[] values, int tag) {
+            super(tag);
+            this.num_values = values.length;
+            this.values = values;
+        }
+
         @Override
         public int length() {
             int n = 2;