Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 60 | -11/+995 |
|\ | |||||
| * | 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 | 3 | -7/+27 |
| | | | | | | | | | | | | does not exist any longer. | ||||
| * | | deletes src/test/test2/*.class | chibash | 2022-05-10 | 51 | -0/+0 |
| | | | |||||
| * | | Merge pull request #306 from nschaefe/master | Shigeru Chiba | 2021-04-26 | 3 | -0/+783 |
| |\ \ | | | | | | | | | fix issue 305: CodeConverter.replaceArrayAccess leads to java.util.ConcurrentModificationException | ||||
| | * | | fix CodeConverter.replaceArrayAccess leads to ↵ | User | 2020-03-24 | 3 | -0/+783 |
| | | | | | | | | | | | | | | | | 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 | 2 | -0/+47 |
| | |||||
* | Merge pull request #267 from sam-ma/master | Shigeru Chiba | 2019-09-02 | 2 | -0/+53 |
|\ | | | | | Fix #265 javassist.CannotCompileException: [source error] the called … | ||||
| * | Fix #265 javassist.CannotCompileException: [source error] the called ↵ | Sam Ma | 2019-07-23 | 2 | -0/+53 |
| | | | | | | | | constructor is private | ||||
* | | fixed Issue #263 | chibash | 2019-07-27 | 3 | -3/+20 |
|/ | |||||
* | 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 | 2 | -0/+40 |
| | | | | access to the private constructor of the host class | ||||
* | add a new CodeConverter method:redirectMethodCallToStatic | shifujun | 2019-02-01 | 2 | -0/+36 |
| | |||||
* | fixes the bug reported in Issue #241. | chibash | 2019-01-28 | 2 | -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. | chibash | 2019-01-27 | 1 | -0/+5 |
| | |||||
* | 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 | 19 | -414/+197 |
| | | | | in other words, java.lang.invoke.MethodHandles.Lookup. | ||||
* | adds test cases for NestHostAttribute and NestMembersAttribute. | chibash | 2018-09-02 | 3 | -0/+35 |
| | |||||
* | modifies NestHostAttribute and NestMembersAttribute and adds test code | chibash | 2018-09-02 | 1 | -0/+24 |
| | |||||
* | adds a comment for the fix to JIRA JASSIST-267 | chibash | 2018-09-02 | 1 | -0/+31 |
| | |||||
* | fixed JASSIST-267 | NingZhang-Ericsson | 2018-07-13 | 1 | -2/+47 |
| | |||||
* | fixes a minor bug in a test case. | chibash | 2018-05-08 | 2 | -1/+1 |
| | |||||
* | Merge pull request #168 from cmelchior/cm/bug/classpath-close | Shigeru Chiba | 2018-05-07 | 5 | -2/+66 |
|\ | | | | | [WIP] Fix leaking file handlers | ||||
| * | Add missing unit test | Christian Melchior | 2017-11-13 | 4 | -2/+24 |
| | | |||||
| * | Cleanup | Christian Melchior | 2017-11-12 | 2 | -4/+0 |
| | | |||||
| * | Merge branch 'master' into cm/bug/classpath-close | Christian Melchior | 2017-11-12 | 67 | -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 Melchior | 2017-11-12 | 3 | -0/+29 |
| | | | |||||
| * | | Update test README | Christian Melchior | 2017-11-12 | 1 | -2/+19 |
| | | | |||||
* | | | fixes a bug reported in issue #155 (Javassist Incorrect Code when wrapping ↵ | chibash | 2017-11-15 | 2 | -0/+39 |
| | | | | | | | | | | | | with try/catch) | ||||
* | | | adds Modifier#isVarArgs() | chibash | 2017-11-15 | 1 | -0/+6 |
| | | | |||||
* | | | adds Modifier#isVarArgs() | chibash | 2017-11-15 | 1 | -0/+6 |
| | | | |||||
* | | | Merge pull request #159 from nickl-/scoped-pool | Shigeru Chiba | 2017-11-15 | 10 | -0/+514 |
|\ \ \ | | | | | | | | | Fixes to javassist.scopepool | ||||
| * | | | Fixes to javassist.scopepool | nickl- | 2017-11-12 | 10 | -0/+514 |
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Applied parameters and squashed all compiler warnings. Changed loops to enhanced for where appropriate. Fixed SoftValueHashMap: Made it a raw type. Overwritten implementation of the `get` method correctly unwrapped the reference but the methods `containsValue` and `entrySet` needed to be fixed. Implemented the remaining outstanding methods from the `java.util.Map` contract `values`, `putAll` and `keySet`. Dropped `AbstractMap` inheritance as we were not inheriting anything anymore. Changed internal map to `ConcurrentHashMap' to be atomic and parallel safe. Found original unit tests from jboss retro which are now updated to reflect the javassist versions of the scoped pool classes. Added tests for the SoftValueHashMap including test which overloads the heap to ensure the cache cleans itself appropriately. | ||||
* | | | Merge pull request #158 from nickl-/secure-privileged | Shigeru Chiba | 2017-11-15 | 1 | -0/+281 |
|\ \ \ | | | | | | | | | Secure privileged | ||||
| * | | | Some functional unit tests proofs. | nickl- | 2017-11-12 | 1 | -0/+281 |
| |/ / | | | | | | | | | | | | | | | | Proves that you cannot access restricted functionality then goes ahead and mock test all 3 exposures JAVA_9, JAVA_7+ and OTHERS by changing the private static final class referenced default chosen on initialise. | ||||
* | | | Merge pull request #166 from nickl-/test-ctfield-make-with-this | Shigeru Chiba | 2017-11-14 | 2 | -0/+15 |
|\ \ \ | | | | | | | | | Unit Test: CtField.make referencing 'this'. | ||||
| * | | | Unit Test: CtField.make referencing 'this'. | nickl- | 2017-11-12 | 2 | -0/+15 |
| |/ / | | | | | | | | | | | | | 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. |