aboutsummaryrefslogtreecommitdiffstats
path: root/src/test
Commit message (Collapse)AuthorAgeFilesLines
* Minimal changes make IDEA 2023.2 work out-of-boxshifujun2023-12-128-25/+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.
* Fix MemberResolver.lookupMethod bug when super class has more precise matchshifujun2023-12-082-2/+61
| | | | | | | When onlyExact=false and super class have a more precise match, it should not return with current class's maybe result. New added testSuperCall reveals the problem.
* fixes GitHub Issue 462 (Internal class issues in the Java 21)wuwen2023-11-033-0/+32
|
* prohibits too many items from being added to a constant pool.chibash2022-08-071-2/+7
| | | | the previous commit was wrong.
* prohibits too many items from being added to a constant poolchibash2022-08-071-0/+14
|
* uncomments test code suggested by PR405chibash2022-05-131-1/+1
|
* fixs a compilation problem although one test still fails.chibash2022-05-122-11/+11
|
* Merge branch 'master' into masterShigeru Chiba2022-05-1160-11/+995
|\
| * Merge pull request #278 from ximsfei/masterShigeru Chiba2022-05-101-4/+8
| |\ | | | | | | fixes a bug of ClassFile#renameClass(), some imports could not be successfully renamed.
| | * add unit testximsfei2019-10-171-4/+8
| | |
| * | changes test code because package java.rmi.activation.ActivationGroupDesc ↵chibash2022-05-103-7/+27
| | | | | | | | | | | | does not exist any longer.
| * | deletes src/test/test2/*.classchibash2022-05-1051-0/+0
| | |
| * | Merge pull request #306 from nschaefe/masterShigeru Chiba2021-04-263-0/+783
| |\ \ | | | | | | | | fix issue 305: CodeConverter.replaceArrayAccess leads to java.util.ConcurrentModificationException
| | * | fix CodeConverter.replaceArrayAccess leads to ↵User2020-03-243-0/+783
| | | | | | | | | | | | | | | | java.util.ConcurrentModificationException
| * | | Merge pull request #351 from sgjesse/issue-350Shigeru Chiba2021-04-261-0/+77
| |\ \ \ | | | | | | | | | | | | | | | This fixes Issue #350. Check for extended frame type when updating StackMapTable offset.
| | * | | Check for extended frame type when updating StackTableOffset offsetSøren Gjesse2020-12-141-0/+77
| | | | | | | | | | | | | | | | | | | | Fixes #350
| * | | | add unit tests for LocalVariableAttribute.variableNameByIndex and ↵eshizhan2021-01-292-0/+7
| |/ / / | | | | | | | | | | | | MethodParametersAttribute.parameterName
| * | | fixes Issue #339chibash2020-10-161-0/+75
| | | |
| * | | fixes a bug of javassist.bytecode.stackmap, which was reported as Issue #328.chibash2020-07-131-0/+18
| |/ /
* / / Fixes to support the full syntax of possible signaturesPietro Braione2020-01-221-0/+84
|/ /
* / fixes a bug involuved in Pull Request #294chibash2019-12-241-0/+16
|/
* fixes a bug of JvstTest5#testRedundantInsertAfter() for Issue #275chibash2019-09-231-1/+1
|
* adds CtBehavior#insertAfter(String,boolean,boolean) for Issue #275chibash2019-09-202-0/+47
|
* Merge pull request #267 from sam-ma/masterShigeru Chiba2019-09-022-0/+53
|\ | | | | Fix #265 javassist.CannotCompileException: [source error] the called …
| * Fix #265 javassist.CannotCompileException: [source error] the called ↵Sam Ma2019-07-232-0/+53
| | | | | | | | constructor is private
* | fixed Issue #263chibash2019-07-273-3/+20
|/
* for release 3.25.0-GAchibash2019-04-161-1/+2
|
* Fix #252 make instrumentation works on JDK11 for the inner class which has ↵Sam Ma2019-03-202-0/+40
| | | | access to the private constructor of the host class
* add a new CodeConverter method:redirectMethodCallToStaticshifujun2019-02-012-0/+36
|
* fixes the bug reported in Issue #241.chibash2019-01-282-0/+28
| | | | It makes $r available in the code given to CtBehavior#insertBefore().
* adds src/test/test5/SwitchCase.java. It also adds the javadoc comments.chibash2019-01-271-0/+5
|
* JAVASSIST-242: Demonstrates a race condition in DefineClassHelpermichalkurka2019-01-251-0/+75
|
* enables switch-case with string constantschibash2018-12-101-0/+31
|
* fixes another bug (supporting jdk.*) reported in #228chibash2018-12-061-0/+12
|
* fixes a bug reported in #228chibash2018-12-051-0/+12
|
* changes CtClass#toClass() and ClassPool#toClass() etc. to support Java 11,chibash2018-09-0819-414/+197
| | | | in other words, java.lang.invoke.MethodHandles.Lookup.
* adds test cases for NestHostAttribute and NestMembersAttribute.chibash2018-09-023-0/+35
|
* modifies NestHostAttribute and NestMembersAttribute and adds test codechibash2018-09-021-0/+24
|
* adds a comment for the fix to JIRA JASSIST-267chibash2018-09-021-0/+31
|
* fixed JASSIST-267NingZhang-Ericsson2018-07-131-2/+47
|
* fixes a minor bug in a test case.chibash2018-05-082-1/+1
|
* Merge pull request #168 from cmelchior/cm/bug/classpath-closeShigeru Chiba2018-05-075-2/+66
|\ | | | | [WIP] Fix leaking file handlers
| * Add missing unit testChristian Melchior2017-11-134-2/+24
| |
| * CleanupChristian Melchior2017-11-122-4/+0
| |
| * Merge branch 'master' into cm/bug/classpath-closeChristian Melchior2017-11-1267-29/+149
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # pom.xml # src/main/javassist/ByteArrayClassPath.java # src/main/javassist/ClassClassPath.java # src/main/javassist/ClassPoolTail.java # src/main/javassist/LoaderClassPath.java # src/main/javassist/URLClassPath.java
| * | Remove close method on ClassPath. Add unit tests for new behaviour.Christian Melchior2017-11-123-0/+29
| | |
| * | Update test READMEChristian Melchior2017-11-121-2/+19
| | |
* | | fixes a bug reported in issue #155 (Javassist Incorrect Code when wrapping ↵chibash2017-11-152-0/+39
| | | | | | | | | | | | with try/catch)
* | | adds Modifier#isVarArgs()chibash2017-11-151-0/+6
| | |
* | | adds Modifier#isVarArgs()chibash2017-11-151-0/+6
| | |