aboutsummaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
authorchibash <chiba@javassist.org>2017-05-31 17:44:26 +0900
committerchibash <chiba@javassist.org>2017-05-31 17:44:26 +0900
commitab117a9fe31902167b9a74fee1982068e4c4d095 (patch)
tree75195e9d7fb36f7bb56bdd00faf7dbfc44ed8276 /src/test
parent873e5a5ef8e356362bff17a4975a0a60266b65a5 (diff)
downloadjavassist-ab117a9fe31902167b9a74fee1982068e4c4d095.tar.gz
javassist-ab117a9fe31902167b9a74fee1982068e4c4d095.zip
delete testHotswap() because java 9 does not seem to allow a java agent to be attached after the JVM starts
Diffstat (limited to 'src/test')
-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());