- 
    Bug 
- 
    Resolution: Fixed
- 
     P3 P3
- 
    5.0
- 
        rc
- 
        generic, x86, sparc
- 
        generic, solaris_8, solaris_9, windows_xp
Name: ss24420 Date: 03/25/2004
This is really a JSR 175 spec bug.
Consider this annotation type:
@interface A {
Class value();
}
and the annotation:
@A(boolean.class)
The element value boolean.class is supposed to be represented in a
class file's constant_pool table using a CONSTANT_Class_info structure.
However, boolean isn't a class or interface, so it cannot be
represented by a CONSTANT_Class_info structure as currently spec'ed.
======================================================================
- duplicates
- 
                    JDK-5025117 javac crashes with annotation element of type Class, default void.class -           
- Closed
 
-         
- 
                    JDK-5021870 void.class crashes compiler -           
- Closed
 
-         
- relates to
- 
                    JDK-5034784 pre-FCS change in metadata format requires spec. update -           
- Resolved
 
-         
- 
                    JDK-8265591 Remove vestiges of intermediate JSR 175 annotation format -           
- Resolved
 
-