Lines 641-647
Link Here
|
641 |
} |
641 |
} |
642 |
// access flag |
642 |
// access flag |
643 |
if (innerClass.isAnonymousType()) { |
643 |
if (innerClass.isAnonymousType()) { |
644 |
accessFlags &= ~ClassFileConstants.AccFinal; |
644 |
if (this.targetJDK < ClassFileConstants.JDK1_6) { |
|
|
645 |
accessFlags &= ~ClassFileConstants.AccFinal; |
646 |
} |
645 |
} else if (innerClass.isMemberType() && innerClass.isInterface()) { |
647 |
} else if (innerClass.isMemberType() && innerClass.isInterface()) { |
646 |
accessFlags |= ClassFileConstants.AccStatic; // implicitely static |
648 |
accessFlags |= ClassFileConstants.AccStatic; // implicitely static |
647 |
} |
649 |
} |
Lines 5807-5813
Link Here
|
5807 |
| ClassFileConstants.AccStatic |
5809 |
| ClassFileConstants.AccStatic |
5808 |
| ClassFileConstants.AccSynchronized |
5810 |
| ClassFileConstants.AccSynchronized |
5809 |
| ClassFileConstants.AccNative); |
5811 |
| ClassFileConstants.AccNative); |
5810 |
|
5812 |
|
5811 |
// set the AccSuper flag (has to be done after clearing AccSynchronized - since same value) |
5813 |
// set the AccSuper flag (has to be done after clearing AccSynchronized - since same value) |
5812 |
if (!aType.isInterface()) { // class or enum |
5814 |
if (!aType.isInterface()) { // class or enum |
5813 |
accessFlags |= ClassFileConstants.AccSuper; |
5815 |
accessFlags |= ClassFileConstants.AccSuper; |