aboutsummaryrefslogtreecommitdiffstats
path: root/src/test
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | |
* | | Merge pull request #159 from nickl-/scoped-poolShigeru Chiba2017-11-1510-0/+514
|\ \ \ | | | | | | | | Fixes to javassist.scopepool
| * | | Fixes to javassist.scopepoolnickl-2017-11-1210-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-privilegedShigeru Chiba2017-11-151-0/+281
|\ \ \ | | | | | | | | Secure privileged
| * | | Some functional unit tests proofs.nickl-2017-11-121-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-thisShigeru Chiba2017-11-142-0/+15
|\ \ \ | | | | | | | | Unit Test: CtField.make referencing 'this'.
| * | | Unit Test: CtField.make referencing 'this'.nickl-2017-11-122-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.