aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
| * Issue-#426 Include Automatic-Module-Name in MANIFEST.MF and bump up the ↵Hiroshi Ukai2022-08-304-7/+6
|/ | | | version to 3.29.2-GA
* updates README.mdchibash2022-08-122-2/+2
|
* adds Issue #423 to Changes.mdchibash2022-08-121-0/+2
|
* for releasing 3.29.1rel_3_29_1_gachibash2022-08-126-5/+5
|
* prohibits too many items from being added to a constant pool.chibash2022-08-073-3/+8
| | | | the previous commit was wrong.
* prohibits too many items from being added to a constant poolchibash2022-08-073-0/+17
|
* updates Changes.md to note Issue #414chibash2022-05-181-1/+1
|
* fixes typos in *.mdchibash2022-05-172-1/+5
|
* removes Readme.html and adds Changes.md and Examples.mdchibash2022-05-175-923/+811
|
* prepares for 3.29.0-GA releaserel_3_29_0_gachibash2022-05-137-9/+9
|
* removes an unused import declaration as PR 384 mentions.chibash2022-05-131-1/+0
|
* Merge pull request #382 from tim-hoffman/PR_RemoveStringBufferShigeru Chiba2022-05-1335-118/+121
|\ | | | | Replace StringBuffer with StringBuilder, other minor String optimizations
| * Replace remaining StringBuffer uses with StringBuilderTimothy Hoffman2021-07-161-15/+15
| |
| * Replace StringBuffer with StringBuilder and other minor String optimizationsTimothy Hoffman2021-07-1635-103/+106
| |
* | Merge pull request #383 from tim-hoffman/PR_ArrayCopyPerformanceShigeru Chiba2022-05-132-5/+10
|\ \ | | | | | | Replace array copy loops with System.arraycopy
| * | Replace array copy loop with System.arraycopyTimothy Hoffman2021-07-162-5/+10
| |/
* | uncomments test code suggested by PR405chibash2022-05-131-1/+1
| |
* | cancels PR#391, which does not pass all the testschibash2022-05-131-3/+2
| |
* | fixes a wrong indentationchibash2022-05-131-1/+1
| |
* | Merge pull request #391 from derklaro/fix-method-naming-syntaxShigeru Chiba2022-05-131-2/+3
|\ \ | | | | | | Only wrap the method name if the method doesn't come from the same declaring class
| * | Only wrap the method name if the method doesn't come from the same decl classderklaro2021-09-071-2/+3
| |/
* | does refactoringchibash2022-05-131-92/+130
| |
* | fixes a bug in SignatureAttribute.renameClass().chibash2022-05-131-44/+76
| |
* | fixs a compilation problem although one test still fails.chibash2022-05-122-11/+11
| |