diff options
author | shifujun <shifujun@foxmail.com> | 2023-12-12 14:10:23 +0800 |
---|---|---|
committer | shifujun <shifujun@foxmail.com> | 2023-12-12 14:10:23 +0800 |
commit | 9dbf9e030b98245226a6ea4e9a005b2b62f6036c (patch) | |
tree | 7237c9da54cc883fe73ca59b833c260891974012 /src/test/javassist/bytecode/InsertGap0.java | |
parent | fbd20b1e112b3e74f6d970a8ced839e8ee0bab87 (diff) | |
download | javassist-9dbf9e030b98245226a6ea4e9a005b2b62f6036c.tar.gz javassist-9dbf9e030b98245226a6ea4e9a005b2b62f6036c.zip |
Minimal changes make IDEA 2023.2 work out-of-box
Correct maven-compiler-plugin JDK version for IDEA import Compiler bytecode version.
Remove JvstTestRoot's constructor, otherwise IDEA cannot show Run icon aside testMethod.
Another way is adding suite() static method to those classes.
Now we can clone and open project with IDEA 2023.2. Debug single test case with IDEA is very useful.
Diffstat (limited to 'src/test/javassist/bytecode/InsertGap0.java')
-rw-r--r-- | src/test/javassist/bytecode/InsertGap0.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/test/javassist/bytecode/InsertGap0.java b/src/test/javassist/bytecode/InsertGap0.java index 425f12d7..9e94e593 100644 --- a/src/test/javassist/bytecode/InsertGap0.java +++ b/src/test/javassist/bytecode/InsertGap0.java @@ -159,9 +159,6 @@ final class Gap0Example2 { @SuppressWarnings({"rawtypes","unchecked","unused"}) public final class InsertGap0 extends JvstTestRoot { - public InsertGap0(String name) { - super(name); - } public void testExample() throws Throwable { ClassPool pool = ClassPool.getDefault(); |