Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Minimal changes make IDEA 2023.2 work out-of-box | shifujun | 2023-12-12 | 8 | -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 match | shifujun | 2023-12-08 | 2 | -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) | wuwen | 2023-11-03 | 1 | -0/+32 |
| | |||||
* | prohibits too many items from being added to a constant pool. | chibash | 2022-08-07 | 1 | -2/+7 |
| | | | | the previous commit was wrong. | ||||
* | prohibits too many items from being added to a constant pool | chibash | 2022-08-07 | 1 | -0/+14 |
| | |||||
* | uncomments test code suggested by PR405 | chibash | 2022-05-13 | 1 | -1/+1 |
| | |||||
* | fixs a compilation problem although one test still fails. | chibash | 2022-05-12 | 2 | -11/+11 |
| | |||||
* | Merge branch 'master' into master | Shigeru Chiba | 2022-05-11 | 5 | -8/+188 |
|\ | |||||
| * | Merge pull request #278 from ximsfei/master | Shigeru Chiba | 2022-05-10 | 1 | -4/+8 |
| |\ | | | | | | | fixes a bug of ClassFile#renameClass(), some imports could not be successfully renamed. | ||||
| | * | add unit test | ximsfei | 2019-10-17 | 1 | -4/+8 |
| | | | |||||
| * | | changes test code because package java.rmi.activation.ActivationGroupDesc ↵ | chibash | 2022-05-10 | 1 | -4/+2 |
| | | | | | | | | | | | | does not exist any longer. | ||||
| * | | Merge pull request #306 from nschaefe/master | Shigeru Chiba | 2021-04-26 | 1 | -0/+1 |
| |\ \ | | | | | | | | | fix issue 305: CodeConverter.replaceArrayAccess leads to java.util.ConcurrentModificationException | ||||
| | * | | fix CodeConverter.replaceArrayAccess leads to ↵ | User | 2020-03-24 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | java.util.ConcurrentModificationException | ||||
| * | | | Merge pull request #351 from sgjesse/issue-350 | Shigeru Chiba | 2021-04-26 | 1 | -0/+77 |
| |\ \ \ | | | | | | | | | | | | | | | | This fixes Issue #350. Check for extended frame type when updating StackMapTable offset. | ||||
| | * | | | Check for extended frame type when updating StackTableOffset offset | Søren Gjesse | 2020-12-14 | 1 | -0/+77 |
| | | | | | | | | | | | | | | | | | | | | Fixes #350 | ||||
| * | | | | add unit tests for LocalVariableAttribute.variableNameByIndex and ↵ | eshizhan | 2021-01-29 | 2 | -0/+7 |
| |/ / / | | | | | | | | | | | | | MethodParametersAttribute.parameterName | ||||
| * | | | fixes Issue #339 | chibash | 2020-10-16 | 1 | -0/+75 |
| | | | | |||||
| * | | | fixes a bug of javassist.bytecode.stackmap, which was reported as Issue #328. | chibash | 2020-07-13 | 1 | -0/+18 |
| |/ / | |||||
* / / | Fixes to support the full syntax of possible signatures | Pietro Braione | 2020-01-22 | 1 | -0/+84 |
|/ / | |||||
* / | fixes a bug involuved in Pull Request #294 | chibash | 2019-12-24 | 1 | -0/+16 |
|/ | |||||
* | fixes a bug of JvstTest5#testRedundantInsertAfter() for Issue #275 | chibash | 2019-09-23 | 1 | -1/+1 |
| | |||||
* | adds CtBehavior#insertAfter(String,boolean,boolean) for Issue #275 | chibash | 2019-09-20 | 1 | -0/+12 |
| | |||||
* | Merge pull request #267 from sam-ma/master | Shigeru Chiba | 2019-09-02 | 1 | -0/+27 |
|\ | | | | | Fix #265 javassist.CannotCompileException: [source error] the called … | ||||
| * | Fix #265 javassist.CannotCompileException: [source error] the called ↵ | Sam Ma | 2019-07-23 | 1 | -0/+27 |
| | | | | | | | | constructor is private | ||||
* | | fixed Issue #263 | chibash | 2019-07-27 | 2 | -0/+15 |
|/ | |||||
* | for release 3.25.0-GA | chibash | 2019-04-16 | 1 | -1/+2 |
| | |||||
* | Fix #252 make instrumentation works on JDK11 for the inner class which has ↵ | Sam Ma | 2019-03-20 | 1 | -0/+21 |
| | | | | access to the private constructor of the host class | ||||
* | add a new CodeConverter method:redirectMethodCallToStatic | shifujun | 2019-02-01 | 1 | -0/+14 |
| | |||||
* | fixes the bug reported in Issue #241. | chibash | 2019-01-28 | 1 | -0/+14 |
| | | | | It makes $r available in the code given to CtBehavior#insertBefore(). | ||||
* | JAVASSIST-242: Demonstrates a race condition in DefineClassHelper | michalkurka | 2019-01-25 | 1 | -0/+75 |
| | |||||
* | enables switch-case with string constants | chibash | 2018-12-10 | 1 | -0/+31 |
| | |||||
* | fixes another bug (supporting jdk.*) reported in #228 | chibash | 2018-12-06 | 1 | -0/+12 |
| | |||||
* | fixes a bug reported in #228 | chibash | 2018-12-05 | 1 | -0/+12 |
| | |||||
* | changes CtClass#toClass() and ClassPool#toClass() etc. to support Java 11, | chibash | 2018-09-08 | 8 | -125/+133 |
| | | | | in other words, java.lang.invoke.MethodHandles.Lookup. | ||||
* | adds test cases for NestHostAttribute and NestMembersAttribute. | chibash | 2018-09-02 | 1 | -0/+13 |
| | |||||
* | modifies NestHostAttribute and NestMembersAttribute and adds test code | chibash | 2018-09-02 | 1 | -0/+24 |
| | |||||
* | fixes a minor bug in a test case. | chibash | 2018-05-08 | 1 | -1/+1 |
| | |||||
* | Merge pull request #168 from cmelchior/cm/bug/classpath-close | Shigeru Chiba | 2018-05-07 | 1 | -0/+32 |
|\ | | | | | [WIP] Fix leaking file handlers | ||||
| * | Add missing unit test | Christian Melchior | 2017-11-13 | 1 | -1/+11 |
| | | |||||
| * | Merge branch 'master' into cm/bug/classpath-close | Christian Melchior | 2017-11-12 | 20 | -22/+42 |
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | # 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 Melchior | 2017-11-12 | 1 | -0/+22 |
| | | | |||||
* | | | fixes a bug reported in issue #155 (Javassist Incorrect Code when wrapping ↵ | chibash | 2017-11-15 | 1 | -0/+17 |
| | | | | | | | | | | | | with try/catch) | ||||
* | | | adds Modifier#isVarArgs() | chibash | 2017-11-15 | 1 | -0/+6 |
| | | | |||||
* | | | Merge pull request #166 from nickl-/test-ctfield-make-with-this | Shigeru Chiba | 2017-11-14 | 1 | -0/+8 |
|\ \ \ | | | | | | | | | Unit Test: CtField.make referencing 'this'. | ||||
| * | | | Unit Test: CtField.make referencing 'this'. | nickl- | 2017-11-12 | 1 | -0/+8 |
| | |/ | |/| | | | | | | | | | | As per question raised in #161 passing 'this' reference for CtField value new object instance. Also added assert for testing referncing 'this' for newly added field. | ||||
* / | | Fix #152 inner class modifiers. | nickl- | 2017-11-12 | 1 | -0/+46 |
|/ / | | | | | | | | | Applied fix for #152 "Wrong modifiers returned for nested classes" as suggested by @pietrobraione. Includes unit tests for all access modifiers and static. | ||||
* | | Squash compiler warnings in tests. | nickl- | 2017-10-30 | 15 | -0/+17 |
| | | | | | | | | | | | | | | | | 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. | ||||
* | | Fix deperecated junit.framework.Assert. | nickl- | 2017-10-30 | 1 | -1/+1 |
| | | | | | | | | Changed to org.junit.Assert. | ||||
* | | Fix deperecated junit.framework.Assert. | nickl- | 2017-10-30 | 1 | -1/+1 |
| | | | | | | | | Changed to org.junit.Assert. | ||||
* | | Suppress deprecation ClassPool.makePackage | nickl- | 2017-10-28 | 1 | -0/+2 |
| | |