aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/javassist/JvstTest2.java
Commit message (Collapse)AuthorAgeFilesLines
* Minimal changes make IDEA 2023.2 work out-of-boxshifujun2023-12-121-3/+0
| | | | | | | | | 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.
* changes test code because package java.rmi.activation.ActivationGroupDesc ↵chibash2022-05-101-4/+2
| | | | does not exist any longer.
* changes CtClass#toClass() and ClassPool#toClass() etc. to support Java 11,chibash2018-09-081-1/+2
| | | | in other words, java.lang.invoke.MethodHandles.Lookup.
* Squash compiler warnings in tests.nickl-2017-10-301-0/+1
| | | | | | | | With the unit tests warnings were squashed by suppressing them with SuppressWarnings annotations, instead of reparing the issues as was done with the source. Reasons being... * The tests might be relying on the types as they were defined. * If the tests were written to test against the correct forms they would've/should've stipulated those. * Even unused members might be important to tests so we attempt to change as little as possible.
* Upgrade junit from ver 3 to 4.nickl-2017-10-271-0/+5
| | | | | | | | | There were minimal changes: Some tests had their own runners these were discontinued as IDEs/maven run the tests anyway. Removed the main methods for these. 2 tests were dependent on the running order so added the test sorter. All tests succeed on junit 4 with legacy support.
* adds javassist.util.HotSwapAgentchibash2017-04-161-1/+0
|
* updates the test code to run on Java 9 EA+149.chibash2016-12-201-10/+19
| | | | | | | | Due to the specification change of jigsaw, ClassLoader#defineClass() cannot be invoked through reflection API. As a workaround, --add-opens java.base/java.lang=ALL-UNNAMED must be given to the JVM. The ant target "runtest9" adds this jvm argument.
* fixes calls to a deprecated method in Java 9.rel_3_21_0-java9-eachibash2016-08-021-6/+6
|
* fixes many compatibility problems with older Java (i.e. 1.4)chibash2016-07-141-4/+4
|
* fixed JASSIST-235. Now CtClass.getEnclosingMethod() is deprecated due to ↵chibash2014-11-181-0/+11
| | | | its potential bug.
* fixed JASSIST-162 and JASSIST-189chiba2013-04-111-3/+3
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@701 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* fixed JASSIST-146chiba2011-11-041-0/+2
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@595 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* JvstTest test case.chiba2011-08-311-0/+1502
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@589 30ef5769-5b8d-40dd-aea6-55b5d6557bb3