aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #492 from kuznet1/masterShigeru Chiba2024-10-042-7/+25
|\ | | | | Fix wrong line numbers in some cases
| * Add test for 16th line & fixakuznetsov2024-09-282-7/+25
| |
* | Merge pull request #491 from jbellenger/jbellenger-multiple-nested-classesShigeru Chiba2024-09-292-3/+30
|\ \ | |/ |/| reduced InnerClasses propagation
| * initJames Bellenger2024-09-172-3/+30
|/
* updates Changes.md for PR #486chibash2024-07-261-1/+1
|
* Merge pull request #486 from catsalty/masterShigeru Chiba2024-07-261-0/+3
|\ | | | | [bugfix]fix TransformCallToStatic with invokeinterface or invokedynamic
| * Merge pull request #1 from catsalty/catsalty-patch-1catsalty2024-07-251-0/+3
|/| | | | | [bugfix]fix TransformCallToStatic with invokeinterface or invokedynamic
| * [bugfix]fix TransformCallToStatic with invokeinterface or invokedynamiccatsalty2024-07-251-0/+3
|/ | | | | | | Replacing invokeinterface or invokedynamic with invokestatic will result in a missing instruction. This solution can fix the problem. Reference document: https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5.invokestatic https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5.invokedynamic https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5.invokeinterface
* updates testJIRA150 since it sometimes failschibash2024-05-032-1/+5
|
* Merge pull request #484 from kuznet1/masterShigeru Chiba2024-05-0349-478/+958
|\ | | | | Line numbers support
| * line numbers for undefined ids & moreakuznetsov2023-12-2916-177/+191
| |
| * fix line numbers in blocks & refactor testakuznetsov2023-11-023-65/+92
| |
| * save line number count though all methods/ctorsakuznetsov2023-10-046-2/+44
| |
| * add line numbers and testakuznetsov2023-10-0438-300/+697
| |
* | Merge pull request #480 from likey3/masterShigeru Chiba2024-05-035-38/+281
|\ \ | | | | | | support bootstrap method coping when using code coping
| * | support bootstrap method coping when using code copingLiuChuliang 刘楚梁2024-01-185-38/+281
|/ /
* | Merge pull request #477 from oldratlee/improve-pomShigeru Chiba2023-12-311-2/+28
|\ \ | | | | | | improve pom
| * | improve pomJerry Lee2023-12-301-2/+28
|/ / | | | | | | | | | | | | | | - add `inceptionYear` element, and use it in `copyright bottom` - add missing version declaration for `maven-gpg-plugin` more stable build and fix related warning message - add `maven-enforcer-plugin` more straightforward error message when `maven`/`java` version is not satisfied
* | 3.30.2-GA releaserel_3_30_2_gachibash2023-12-255-3/+7
| |
* | Merge pull request #476 from oldratlee/dev/polish-pomShigeru Chiba2023-12-241-57/+58
|\ \ | | | | | | polish pom format
| * | polish pom formatJerry Lee2023-12-241-57/+58
|/ / | | | | | | | | | | | | | | | | - reorder pom elements - sort `GAV` elements together - bring user concerned info(e.g. licenses) forward - bring dev concerned basic info(e.g. dependencies) before profiles - use `https` instead of `http` for URLs - change whitespace tabs to spaces for consistency
* | Merge pull request #475 from oldratlee/add-editor-configShigeru Chiba2023-12-231-0/+24
|\ \ | | | | | | add `.editorconfig`
| * | add `.editorconfig`Jerry Lee2023-12-221-0/+24
|/ / | | | | | | | | | | ease the view and edit settings of the editor/IDE more info see https://editorconfig.org/
* | Merge pull request #473 from shifujun/fix_bytecode_versionShigeru Chiba2023-12-211-2/+2
|\ \ | | | | | | Fix bytecode compatible back to 52(JDK8)
| * | Fix bytecode compatible back to 52(JDK8)shifujun2023-12-201-2/+2
|/ / | | | | | | | | | | | | | | | | | | This project need JDK 11 to compile, but target to JDK 8. IDEA need uncheck "use --release" in Preferences | Build, Execution, Deployment | Compiler | Java Compiler , to build success. fix #470
* | Merge pull request #472 from merks/issue-471Shigeru Chiba2023-12-170-0/+0
|\ \ | | | | | | Use current latest org.apache.felix:maven-bundle-plugin:5.1.9
| * | Use current latest org.apache.felix:maven-bundle-plugin:5.1.9Ed Merks2023-12-171-1/+1
| | | | | | | | | https://github.com/jboss-javassist/javassist/issues/471
* | | fixes github issue #471rel_3_30_1_gachibash2023-12-175-6/+10
|/ /
* | 3.30.0-GA releaserel_3_30_0_gachibash2023-12-176-7/+11
| |
* | Merge pull request #470 from shifujun/repair_IDEAShigeru Chiba2023-12-169-27/+2
|\ \ | | | | | | Minimal changes make IDEA 2023.2 work out-of-box
| * | Minimal changes make IDEA 2023.2 work out-of-boxshifujun2023-12-129-27/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge pull request #469 from shifujun/insertAuxInitializer_stacksizeShigeru Chiba2023-12-161-2/+1
|\ \ \ | | | | | | | | Fix insertAuxInitializer may cause inconsistent stack height problem
| * | | Fix insertAuxInitializer may cause inconsistent stack height problemshifujun2023-12-111-2/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Usually, constructor only load super class's constructor's init params into stack. After this() or super() called, stack will be empty. If so, we insertAuxInitializer right after this() or super() can reuse max stack size if it enough. But, there is some weird class out there, their constructors load all in-constructor init field value into stack before this() or super() call. In this case, after this() or super() call, stack is not empty, even maybe full. In summary, insertAuxInitializer should increase MaxStack anyway.
* | | Merge pull request #468 from vimfun/patch-1Shigeru Chiba2023-12-161-1/+1
|\ \ \ | |/ / |/| | Update tutorial.html: `javassist.util.HotSwapper`
| * | Update tutorial.html: `javassist.util.HotSwapper`⸮o-o ? 林2023-12-111-1/+1
|/ / | | | | The code path is fixed.
* | Merge pull request #467 from shifujun/453Shigeru Chiba2023-12-101-3/+0
|\ \ | | | | | | Remove DUP check in TransformNewClass
| * | Remove DUP check in TransformNewClassshifujun2023-12-081-3/+0
| | | | | | | | | | | | | | | | | | DUP usually come after NEW, but not necessary. #453
* | | Merge pull request #448 from catsalty/patch-2Shigeru Chiba2023-12-101-1/+14
|\ \ \ | | | | | | | | Fix issue in no-standard [new] instruction replace
| * | | Fix issue in no-standard [new] instruction replaceLayHool2023-03-161-1/+14
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A standard *new* construct bytecode will generate like: ``` new okhttp3/OkHttpClient dup invokespecial okhttp3/OkHttpClient <init> ()V astore 1 ``` but a few part of compiler will generate no-standard bytecode like: ``` new okhttp3/OkHttpClient dup astore 1 invokespecial okhttp3/OkHttpClient <init> ()V ``` which will cause javassist build stack error. This commit will fix it
* | | Merge pull request #466 from shifujun/pr-fix-lookupMethodShigeru Chiba2023-12-103-11/+77
|\ \ \ | |_|/ |/| | Fix MemberResolver.lookupMethod bug when super class has more precise…
| * | Fix MemberResolver.lookupMethod bug when super class has more precise matchshifujun2023-12-083-11/+77
|/ / | | | | | | | | | | | | 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.
* | Merge pull request #463 from wuwen5/java21-inner-classShigeru Chiba2023-12-044-3/+38
|\ \ | |/ |/| fixes Issue 462 (In Java21, the ConstPool API throws NPE for MethodParameters attributes without parameter names)
| * fixes GitHub Issue 462 (Internal class issues in the Java 21)wuwen2023-11-034-3/+38
|/
* Update README.mdShigeru Chiba2022-10-031-1/+1
|
* Merge pull request #434 from fanofxiaofeng/patch-1Shigeru Chiba2022-10-031-1/+1
|\ | | | | try to fix trivial link error
| * try to fix trivial link error靳阳2022-10-021-1/+1
|/ | | try to fix trivial link error
* updates javassist.jar for 3.29.2-GA.rel_3_29_2_gachibash2022-09-141-0/+0
|
* prepares a new releasechibash2022-09-141-0/+4
|
* Merge pull request #427 from ↵Shigeru Chiba2022-09-114-7/+4
|\ | | | | | | | | dakusui/master-issue-426_includeAutomaticModuleNameInManifestMf Includes Automatic-Module-Name in MANIFEST.MF
| * Issue-#426 Format a line in the pom.xml.Hiroshi Ukai2022-08-301-3/+1
| |