Hi All,

Please review https://bugs.openjdk.java.net/browse/JDK-8158510
*Problem:* How to validate annotation, as javac does not allow us to write wrong annotation so how should we test valid annotation at runtime?

http://cr.openjdk.java.net/~srastogi/8158510/webrev.00/
*Solution:* To test this i used ASM tool and modified the classfile with wrong annotation (not allowed at javac level) and wrote test cases.

Thanks,
Shilpi

Reply via email to