diff options
author | chibash <chiba@javassist.org> | 2016-09-29 20:43:05 +0900 |
---|---|---|
committer | chibash <chiba@javassist.org> | 2016-09-29 20:43:05 +0900 |
commit | 5ea5b6695cf3ecb9896b9e9ce02f089b893101a4 (patch) | |
tree | 52997d8c299d2774c05d755e745013a630c16431 /src/test/javassist/JvstTest3.java | |
parent | fb93ae8b8f6e0646ed9b95d4d8d0abe77d601a62 (diff) | |
parent | 0e9ff9fd2bdf9ae928c7596714672a2baec01281 (diff) | |
download | javassist-test/java9-jigsaw.tar.gz javassist-test/java9-jigsaw.zip |
Merge branch 'master' into test/java9-jigsawtest/java9-jigsaw
Diffstat (limited to 'src/test/javassist/JvstTest3.java')
-rw-r--r-- | src/test/javassist/JvstTest3.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/javassist/JvstTest3.java b/src/test/javassist/JvstTest3.java index f399d077..056df5c2 100644 --- a/src/test/javassist/JvstTest3.java +++ b/src/test/javassist/JvstTest3.java @@ -1086,7 +1086,8 @@ public class JvstTest3 extends JvstTestRoot { CtMethod m3 = CtMethod.make("public void foo3() {}", cc); try { cc.addMethod(m3); - fail(); + if (ClassFile.MAJOR_VERSION < ClassFile.JAVA_8) + fail(); } catch (CannotCompileException e) { // System.out.println(e); |