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/JvstTest5.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/JvstTest5.java')
-rw-r--r-- | src/test/javassist/JvstTest5.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/test/javassist/JvstTest5.java b/src/test/javassist/JvstTest5.java index 561181c3..dce27ab1 100644 --- a/src/test/javassist/JvstTest5.java +++ b/src/test/javassist/JvstTest5.java @@ -25,9 +25,6 @@ import junit.framework.Assert; @SuppressWarnings({"rawtypes","unchecked","unused"}) public class JvstTest5 extends JvstTestRoot { - public JvstTest5(String name) { - super(name); - } public void testDollarClassInStaticMethod() throws Exception { CtClass cc = sloader.makeClass("test5.DollarClass"); |