src/share/native/com/sun/java/util/jar/pack/constants.h

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2001, 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2001, 2013, 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

@@ -57,10 +57,13 @@
 #define JAVA6_PACKAGE_MINOR_VERSION 1
 
 #define JAVA7_PACKAGE_MAJOR_VERSION 170
 #define JAVA7_PACKAGE_MINOR_VERSION 1
 
+#define JAVA8_PACKAGE_MAJOR_VERSION 171
+#define JAVA8_PACKAGE_MINOR_VERSION 0
+
 // magic number for gzip streams (for processing pack200-gzip data)
 #define GZIP_MAGIC      0x1F8B0800
 #define GZIP_MAGIC_MASK 0xFFFFFF00  // last byte is variable "flg" field
 
 enum {

@@ -118,10 +121,11 @@
     METHOD_ATTR_Code                                 = 17,
     METHOD_ATTR_Exceptions                           = 18,
     METHOD_ATTR_RuntimeVisibleParameterAnnotations   = 23,
     METHOD_ATTR_RuntimeInvisibleParameterAnnotations = 24,
     METHOD_ATTR_AnnotationDefault                    = 25,
+    METHOD_ATTR_MethodParameters                     = 26,
     CODE_ATTR_StackMapTable          = 0,
     CODE_ATTR_LineNumberTable        = 1,
     CODE_ATTR_LocalVariableTable     = 2,
     CODE_ATTR_LocalVariableTypeTable = 3,
     //X_ATTR_Synthetic = 12,  // ACC_SYNTHETIC; not predefined

@@ -158,10 +162,11 @@
         F(METHOD_ATTR_Code,Code) \
         F(METHOD_ATTR_Exceptions,Exceptions) \
         F(METHOD_ATTR_RuntimeVisibleParameterAnnotations,RuntimeVisibleParameterAnnotations) \
         F(METHOD_ATTR_RuntimeInvisibleParameterAnnotations,RuntimeInvisibleParameterAnnotations) \
         F(METHOD_ATTR_AnnotationDefault,AnnotationDefault) \
+        F(METHOD_ATTR_MethodParameters,MethodParameters) \
           /*(end)*/
 #define CODE_ATTR_DO(F) \
         F(CODE_ATTR_StackMapTable,StackMapTable) \
         F(CODE_ATTR_LineNumberTable,LineNumberTable) \
         F(CODE_ATTR_LocalVariableTable,LocalVariableTable) \