< prev index next >

src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassReader.java

Print this page

        

*** 232,242 **** * @Target */ CompoundAnnotationProxy target; /** ! * The prototype @Repetable Attribute.Compound if this class is an annotation annotated with * @Repeatable */ CompoundAnnotationProxy repeatable; /** Get the ClassReader instance for this invocation. */ --- 232,242 ---- * @Target */ CompoundAnnotationProxy target; /** ! * The prototype @Repeatable Attribute.Compound if this class is an annotation annotated with * @Repeatable */ CompoundAnnotationProxy repeatable; /** Get the ClassReader instance for this invocation. */
*** 874,885 **** if (saveParameterNames && !sawMethodParameters) { // Pick up parameter names from the variable table. // Parameter names are not explicitly identified as such, // but all parameter name entries in the LocalVariableTable // have a start_pc of 0. Therefore, we record the name ! // indicies of all slots with a start_pc of zero in the ! // parameterNameIndicies array. // Note that this implicitly honors the JVMS spec that // there may be more than one LocalVariableTable, and that // there is no specified ordering for the entries. int numEntries = nextChar(); for (int i = 0; i < numEntries; i++) { --- 874,885 ---- if (saveParameterNames && !sawMethodParameters) { // Pick up parameter names from the variable table. // Parameter names are not explicitly identified as such, // but all parameter name entries in the LocalVariableTable // have a start_pc of 0. Therefore, we record the name ! // indices of all slots with a start_pc of zero in the ! // parameterNameIndices array. // Note that this implicitly honors the JVMS spec that // there may be more than one LocalVariableTable, and that // there is no specified ordering for the entries. int numEntries = nextChar(); for (int i = 0; i < numEntries; i++) {
*** 996,1006 **** protected void read(Symbol sym, int attrLen) { readParameterAnnotations(sym); } }, ! // additional "legacy" v49 attributes, superceded by flags new AttributeReader(names.Annotation, V49, CLASS_OR_MEMBER_ATTRIBUTE) { protected void read(Symbol sym, int attrLen) { sym.flags_field |= ANNOTATION; } --- 996,1006 ---- protected void read(Symbol sym, int attrLen) { readParameterAnnotations(sym); } }, ! // additional "legacy" v49 attributes, superseded by flags new AttributeReader(names.Annotation, V49, CLASS_OR_MEMBER_ATTRIBUTE) { protected void read(Symbol sym, int attrLen) { sym.flags_field |= ANNOTATION; }
< prev index next >