Type verification in CheckAnnotationAdapter
Hi,
Seems there is a bug in org.objectweb.asm.util.CheckAnnotationAdapter#visit()
while checking type of annotation value.
The new verification introduced in revision 1516
(http://websvn.ow2.org/diff.php?
repname=asm&path=%2Ftrunk%2Fasm%2Fsrc%2Forg%2Fow2%2Fasm%2Futil%2FCheckAnnotation
Adapter.java&rev=1516&peg=1516) prevents from using a primitive class, e.g.:
@MyAnnotation(type=boolean.class), whereas @MyAnnotation(type=Boolean.class)
works.
Regards
Sylvain