]> source.dussan.org Git - javassist.git/commitdiff
fixes a bug of getAnnotations(). Some hidden annotations were not ignored.
authorchibash <chiba@javassist.org>
Thu, 26 Oct 2017 21:12:33 +0000 (06:12 +0900)
committerchibash <chiba@javassist.org>
Thu, 26 Oct 2017 21:12:33 +0000 (06:12 +0900)
javassist.jar
src/main/javassist/bytecode/annotation/Annotation.java

index 72927741d1700535e64e0b7a7c9f7309184998ec..7d27f3072f41c6aff958b2e00d1631da31793dc1 100644 (file)
Binary files a/javassist.jar and b/javassist.jar differ
index 6054f549c74e528663a65f1df7712bb78a058079..10ceb8eeeffa35a6aa3dfea94662f96be8237579 100644 (file)
@@ -303,6 +303,10 @@ public class Annotation {
              */
             throw new ClassNotFoundException(clazz.getName(), e);
         }
+        catch (IllegalAccessError e2) {
+            // also IllegalAccessError
+            throw new ClassNotFoundException(clazz.getName(), e2);
+        }
     }
 
     /**