diff options
Diffstat (limited to 'src/test/Test.java')
-rw-r--r-- | src/test/Test.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/Test.java b/src/test/Test.java index c21d930f..b01a6211 100644 --- a/src/test/Test.java +++ b/src/test/Test.java @@ -48,7 +48,7 @@ public class Test { ctClass.debugWriteFile(); Class<?> cc = ctClass.toClass(); System.out.println(cc.getName()); - InvalidStackMapFrame obj = (InvalidStackMapFrame)cc.newInstance(); + InvalidStackMapFrame obj = (InvalidStackMapFrame)cc.getDeclaredConstructor().newInstance(); obj.bytecodeVerifyError(); } } |