aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/javassist/HotswapTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/javassist/HotswapTest.java')
-rw-r--r--src/test/javassist/HotswapTest.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/javassist/HotswapTest.java b/src/test/javassist/HotswapTest.java
index 8b4db598..deab8fad 100644
--- a/src/test/javassist/HotswapTest.java
+++ b/src/test/javassist/HotswapTest.java
@@ -18,6 +18,10 @@ public class HotswapTest extends TestCase {
}
public void testHotswap() throws Exception {
+ if (javassist.bytecode.ClassFile.MAJOR_VERSION
+ >= javassist.bytecode.ClassFile.JAVA_9)
+ return;
+
Foo f = new Foo();
assertEquals(1, f.foo());