chibash
71395e3994
fixes github issue #471
5 месяцев назад
chibash
dd2725820b
3.30.0-GA release
5 месяцев назад
Shigeru Chiba
f74619e8ba
Merge pull request #470 from shifujun/repair_IDEA
Minimal changes make IDEA 2023.2 work out-of-box
5 месяцев назад
Shigeru Chiba
3325b4969e
Merge pull request #469 from shifujun/insertAuxInitializer_stacksize
Fix insertAuxInitializer may cause inconsistent stack height problem
5 месяцев назад
Shigeru Chiba
8cd171c4db
Merge pull request #468 from vimfun/patch-1
Update tutorial.html: `javassist.util.HotSwapper`
5 месяцев назад
shifujun
9dbf9e030b
Minimal changes make IDEA 2023.2 work out-of-box
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.
5 месяцев назад
shifujun
2cdc0275b7
Fix insertAuxInitializer may cause inconsistent stack height problem
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.
5 месяцев назад
⸮o-o ? 林
a8edcb2fe4
Update tutorial.html: `javassist.util.HotSwapper`
The code path is fixed.
5 месяцев назад
Shigeru Chiba
fbd20b1e11
Merge pull request #467 from shifujun/453
Remove DUP check in TransformNewClass
5 месяцев назад
Shigeru Chiba
cbb59bda5d
Merge pull request #448 from catsalty/patch-2
Fix issue in no-standard [new] instruction replace
5 месяцев назад
Shigeru Chiba
310fb8fe71
Merge pull request #466 from shifujun/pr-fix-lookupMethod
Fix MemberResolver.lookupMethod bug when super class has more precise…
5 месяцев назад
shifujun
9e1b19e22e
Remove DUP check in TransformNewClass
DUP usually come after NEW, but not necessary.
#453
5 месяцев назад
shifujun
c04c375e81
Fix MemberResolver.lookupMethod bug when super class has more precise match
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.
5 месяцев назад
Shigeru Chiba
158294371e
Merge pull request #463 from wuwen5/java21-inner-class
fixes Issue 462 (In Java21, the ConstPool API throws NPE for MethodParameters attributes without parameter names)
5 месяцев назад
wuwen
784a7c1ef9
fixes GitHub Issue 462 (Internal class issues in the Java 21)
7 месяцев назад
LayHool
e447071657
Fix issue in no-standard [new] instruction replace
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
1 год назад
Shigeru Chiba
700be6f6f9
Update README.md
1 год назад
Shigeru Chiba
73c5be45cb
Merge pull request #434 from fanofxiaofeng/patch-1
try to fix trivial link error
1 год назад
靳阳
eea8c2bb6d
try to fix trivial link error
try to fix trivial link error
1 год назад
chibash
049c06e9d6
updates javassist.jar for 3.29.2-GA.
1 год назад
chibash
474b732ba9
prepares a new release
1 год назад
Shigeru Chiba
d1dbce05a1
Merge pull request #427 from dakusui/master-issue-426_includeAutomaticModuleNameInManifestMf
Includes Automatic-Module-Name in MANIFEST.MF
1 год назад
Hiroshi Ukai
3756466380
Issue-#426 Format a line in the pom.xml.
1 год назад
Hiroshi Ukai
74f80bdfea
Issue-#426 Include Automatic-Module-Name in MANIFEST.MF and bump up the version to 3.29.2-GA
1 год назад
chibash
42ca281fe7
updates README.md
1 год назад
chibash
068c6e4b08
adds Issue #423 to Changes.md
1 год назад
chibash
7f59e6431c
for releasing 3.29.1
1 год назад
chibash
3528a20dd9
prohibits too many items from being added to a constant pool.
the previous commit was wrong.
1 год назад
chibash
4f35e4e1a8
prohibits too many items from being added to a constant pool
1 год назад
chibash
7bbf0d4244
updates Changes.md to note Issue #414
2 лет назад
chibash
a323980a11
fixes typos in *.md
2 лет назад
chibash
65ce0c82c8
removes Readme.html and adds Changes.md and Examples.md
2 лет назад
chibash
2423b4961e
prepares for 3.29.0-GA release
2 лет назад
chibash
e77a6263e8
removes an unused import declaration as PR 384 mentions.
2 лет назад
Shigeru Chiba
8fc31b8ea3
Merge pull request #382 from tim-hoffman/PR_RemoveStringBuffer
Replace StringBuffer with StringBuilder, other minor String optimizations
2 лет назад
Shigeru Chiba
df3f4b7641
Merge pull request #383 from tim-hoffman/PR_ArrayCopyPerformance
Replace array copy loops with System.arraycopy
2 лет назад
chibash
c00688b472
uncomments test code suggested by PR405
2 лет назад
chibash
e890cfeee3
cancels PR#391, which does not pass all the tests
2 лет назад
chibash
682a497192
fixes a wrong indentation
2 лет назад
Shigeru Chiba
716b102e3a
Merge pull request #391 from derklaro/fix-method-naming-syntax
Only wrap the method name if the method doesn't come from the same declaring class
2 лет назад
chibash
9ba39378eb
does refactoring
2 лет назад
chibash
eba64de014
fixes a bug in SignatureAttribute.renameClass().
2 лет назад
chibash
b1c09a1476
fixs a compilation problem although one test still fails.
2 лет назад
Shigeru Chiba
c8b54b3bce
Merge pull request #299 from pietrobraione/master
Fix renaming of classes in presence of generic signatures and nested classes.
This pull request has some problems but I'll fix them later.
2 лет назад
Shigeru Chiba
da39aa8050
Merge branch 'master' into master
2 лет назад
Shigeru Chiba
01c788fb8d
Merge pull request #278 from ximsfei/master
fixes a bug of ClassFile#renameClass(), some imports could not be successfully renamed.
2 лет назад
Shigeru Chiba
b846257597
Merge pull request #390 from derklaro/master
Lower requirement for an extra type in constructor to Java 7-
2 лет назад
chibash
82e478b285
changes test code because package java.rmi.activation.ActivationGroupDesc does not exist any longer.
2 лет назад
chibash
2b2ec51547
deletes src/test/test2/*.class
2 лет назад
Shigeru Chiba
c15bd463fd
Merge pull request #399 from carldea/master
Using TCK Tested JDK builds of OpenJDK
2 лет назад