FULL PRODUCT VERSION :
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Linux vmu 2.6.17-11-generic #2 SMP Thu Feb 1 19:52:28 UTC 2007 i686 GNU/Linux
A DESCRIPTION OF THE PROBLEM :
In the Javadoc for java.lang.annotation.Target, this code example
@Target({})
public @interface MemberType {
...
}
should be
@Target({})
public @interface ElementType {
...
}
That is, the occurrence of "MemberType" should be "ElementType"
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
View Javadoc for java.lang.annotation.Target
REPRODUCIBILITY :
This bug can be reproduced always.
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Linux vmu 2.6.17-11-generic #2 SMP Thu Feb 1 19:52:28 UTC 2007 i686 GNU/Linux
A DESCRIPTION OF THE PROBLEM :
In the Javadoc for java.lang.annotation.Target, this code example
@Target({})
public @interface MemberType {
...
}
should be
@Target({})
public @interface ElementType {
...
}
That is, the occurrence of "MemberType" should be "ElementType"
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
View Javadoc for java.lang.annotation.Target
REPRODUCIBILITY :
This bug can be reproduced always.