JDK-4984330 : ACC_ANNOTATION flag in InnerClasses attribute
  • Type: Bug
  • Component: specification
  • Sub-Component: vm
  • Affected Version: 5.0
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2004-01-27
  • Updated: 2012-10-09
  • Resolved: 2004-09-20
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
5.0 beta2Fixed
Related Reports
Relates :  
Description
The JCK test vm.classfmt.atr.atrinc211.atrinc21101m1.atrinc21101m1 is
invalidated by the addition of the ACC_ANNOTATION bit (see 4975724). This test
loads a class with an InnerClasses attribute with all of the reserved bits set
in the inner class's access flags. The JVM specification states that these
reserved bits should be set to 0 by compilers and ignored by JVM
implementations; now that one of these bits is being used, the jcod file
must clear at least that bit.

Please see 4975724 for the definitive value of the ACC_ANNOTATION bit.

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: generic FIXED IN: tiger-beta2 INTEGRATED IN: tiger-beta2 VERIFIED IN: 1.5.0_01
22-09-2004

EVALUATION Name: vrR10176 Date: 02/11/2004 The test atrinc21101m1 checks that JVM implementation ignores reserved bits of inner_class_access_flags (JVMS-2, Table 4.7) item set to 1. Latest draft of new JVM specification does not mention ACC_ANNOTATION bit in the Table 4.7 "Nested class access and property flags". Therefore the test atrinc21101m1 conforms to JVMS-2 and to the latest draft of new JVMS. But new JVMS may be changed (see Comments). So this bug should be reassigned to specification until the issue is resolved. ====================================================================== See CCC request 4975724, which does indeed hava a sepc for this bit. ###@###.### 2004-02-11 However, the bit is NOT supposed to appear in the InnerClasses attribute. ###@###.### 2004-02-13 Ultimately, the decision was made to have it in the inner class attribute. The spec out for maintenance review shows this. ###@###.### 2004-06-21
13-02-2004