equal
deleted
inserted
replaced
649 if ((flags & ANNOTATION) != 0 && !target.useAnnotationFlag()) { |
649 if ((flags & ANNOTATION) != 0 && !target.useAnnotationFlag()) { |
650 int alenIdx = writeAttr(names.Annotation); |
650 int alenIdx = writeAttr(names.Annotation); |
651 endAttr(alenIdx); |
651 endAttr(alenIdx); |
652 acount++; |
652 acount++; |
653 } |
653 } |
|
654 if ((flags & POLYMORPHIC_SIGNATURE) != 0) { |
|
655 if (target.majorVersion < 51) |
|
656 throw new AssertionError("PolymorphicSignature attributes in java/dyn must be written with -target 7 (required major version is 51, current is"+target.majorVersion+")"); |
|
657 int alenIdx = writeAttr(names.PolymorphicSignature); |
|
658 endAttr(alenIdx); |
|
659 acount++; |
|
660 } |
654 return acount; |
661 return acount; |
655 } |
662 } |
656 |
663 |
657 /** Write member (field or method) attributes; |
664 /** Write member (field or method) attributes; |
658 * return number of attributes written. |
665 * return number of attributes written. |