Details
-
Enhancement
-
Resolution: Fixed
-
P3
-
1.2.0, 1.3.1, 1.4.0, 5.0
-
b32
-
generic, x86, sparc
-
generic, solaris_8, windows_2000
Description
JSR175 supports annotations on packages. javac must implement this.
- add package annotation to the syntax
- give an error if a package annotation appears anywhere but in
a source file named package-info.java
- store package annotations on a synthetic class named "package-info"
- also store javadoc that appears attached to the package declaration.
(where?)
Other API changes must also be made to bring the
implementation in line with the latest draft spec.
- add package annotation to the syntax
- give an error if a package annotation appears anywhere but in
a source file named package-info.java
- store package annotations on a synthetic class named "package-info"
- also store javadoc that appears attached to the package declaration.
(where?)
Other API changes must also be made to bring the
implementation in line with the latest draft spec.
Attachments
Issue Links
- duplicates
-
JDK-4903553 java.lang.annotation APIs not aligned with spec
- Closed
-
JDK-4168079 Implement toString(), equals() & hashCode() for arrays
- Closed
- relates to
-
JDK-4959915 Clean up exceptions thrown when unimplemented annotations() calls are made.
- Resolved