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/Bench.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/Bench.java')
-rw-r--r-- | src/test/javassist/Bench.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/test/javassist/Bench.java b/src/test/javassist/Bench.java index b7b8b27e..1892b383 100644 --- a/src/test/javassist/Bench.java +++ b/src/test/javassist/Bench.java @@ -5,9 +5,6 @@ import javassist.expr.*; import javassist.compiler.*; public class Bench extends JvstTestRoot { - public Bench(String name) { - super(name); - } public void testProceed() throws Exception { CtClass cc = sloader.get("test.BenchProceed"); |