JDK-4975724 : Need ACC_ANNOTATION bit to support JSR175
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 5.0
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2004-01-08
  • Updated: 2017-05-16
  • Resolved: 2004-02-10
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 b38Fixed
Related Reports
Duplicate :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
JSR175 mandates that the VM support a bit on types, that identifies them as
annotation types. The VM must recognize this bit in the class file, 
preserve it, and make it accessible.

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger-beta2 FIXED IN: tiger-beta2 INTEGRATED IN: tiger-b38 tiger-b39 tiger-beta2
14-06-2004

EVALUATION The first bit chosen conflicted with ACC_STRICT, which it turns out is being set for classes declared strictfp. Most probably we will choose another bit that doesn't have such a conflict and hopefully also expose ACC_STRICT for classes at the same time (if the source specifies it). ###@###.### 2004-01-21 Fixed in 1.5 beta 2 (I believe 1.5.0 b36). Added ACC_ANNOTATION bit and made it part of recognized class modifiers. Modified ACC_ENUM bit to avoid conflict with ACC_NATIVE. Fixed lurking problem in ClassFileParser where tests for access flags new in 1.5 would break if the maximum supported class file version were incremented. ###@###.### 2004-01-29 ACC_ANNOTATION is defined as 0x2000. ACC_ENUM is defined as 0x4000. These definitions will be vetted by the CCC. ###@###.### 2004-01-30
29-01-2004