chibash
4f35e4e1a8
prohibits too many items from being added to a constant pool
1 year ago
chibash
2423b4961e
prepares for 3.29.0-GA release
2 years ago
chibash
e77a6263e8
removes an unused import declaration as PR 384 mentions.
2 years ago
chibash
e890cfeee3
cancels PR#391, which does not pass all the tests
2 years ago
chibash
682a497192
fixes a wrong indentation
2 years ago
chibash
9ba39378eb
does refactoring
2 years ago
chibash
eba64de014
fixes a bug in SignatureAttribute.renameClass().
2 years ago
April Schleck
fc299f8bc0
Remove redundant type check
The same condition is repeated twice (caught by FindBugs.)
2 years ago
Burak Şahin
018169818c
Fix for NullPointerException on detach()
2 years ago
derklaro
1b8a927963
Only wrap the method name if the method doesn't come from the same decl class
2 years ago
derklaro
5d8868c03a
Lower requirement for an extra type in constructor to Java 7-
2 years ago
Timothy Hoffman
aeee909ea7
Replace array copy loop with System.arraycopy
2 years ago
Timothy Hoffman
0827c539b7
Replace remaining StringBuffer uses with StringBuilder
2 years ago
Timothy Hoffman
b4279f6817
Replace StringBuffer with StringBuilder and other minor String optimizations
2 years ago
chibash
b9a24bf129
updates javassist.Loader to exclude jdk.internal.
3 years ago
chibash
3112090a50
release 3.28.0-GA
3 years ago
michalkurka
64e15350cf
Fix a race condition in CtClassType#getClassFile3
javassist fails to find a class when concurrently running process
compresses the class (converts classfile to raw bytes)
the idea of the fix is to make sure to only update rawClassfile and classfile
under lock in getClassFile3, all other places that modify classfile are
already synchronized
when reading the object state, we need to read under lock both classfile and
rawClassFile otherwise we might get an inconsistent state
3 years ago
chibash
5668291e06
fixes typos for #357
3 years ago
eshizhan
5bccb19933
add unit tests for LocalVariableAttribute.variableNameByIndex and MethodParametersAttribute.parameterName
3 years ago
eshizhan
084c8e89b5
add functions for getting the parameter names of method
3 years ago
Søren Gjesse
d2e757ee44
Check for extended frame type when updating StackTableOffset offset
Fixes #350
3 years ago
chibash
1c4e31b967
fixes Issue #339
3 years ago
chibash
b70a41bf52
updates the version number
3 years ago
chibash
da043b46bc
fixes a bug of javassist.bytecode.stackmap, which was reported as Issue #328.
3 years ago
Bartosz Firyn
5e6b5b27de
Fix typo in TypeChecker
Should be "bad field access" not "bad filed access".
4 years ago
User
a303209489
fix CodeConverter.replaceArrayAccess leads to java.util.ConcurrentModificationException
4 years ago
chibash
a6b7f12c25
for release 3.27.0-GA
4 years ago
Pietro Braione
a3005aaf4e
Fixes to support the full syntax of possible signatures
4 years ago
Pietro Braione
8782603156
Fix renaming of classes in presence of generic signatures and nested
classes.
4 years ago
chibash
150709141c
fixes a bug involuved in Pull Request #294
4 years ago
chibash
559bc90de5
fixdes Issue #282
4 years ago
cjw
4f8e274703
Support parsing 'byte[] a = new byte[]{};'
4 years ago
Dipta Das
f3dd7be032
Fix instruction printer double constant
4 years ago
chibash
5a796e1c2e
updates Readme.html
4 years ago
Carlos Sobrinho
7279bda227
Fix a bottleneck. If the jar entries is big, List.contains is O(n) and very slow!
This is a continuation of #271 to speed up the 3.25/26 release. More details on the issue.
4 years ago
ximsfei
22075222e7
fixes a bug of ClassFile#renameClass(), some imports could not be successfully renamed
4 years ago
chibash
30627914d3
for release 3.26.0-GA
4 years ago
chibash
855ca0050a
adds CtClass#isKotlin() for PR #276
4 years ago
chibash
9108650902
adds CtBehavior#insertAfter(String,boolean,boolean) for Issue #275
4 years ago
chibash
f7ef31ce8b
fixes Issue #271
4 years ago
chibash
cf1d22fa1f
adds ClassFileWriter#addDynamicInfo
4 years ago
chibash
10a92c6aa9
fixes typos included in PR #272 (Issue #270)
4 years ago
Rich Bolen
dd3612498a
Address feedback from PR
4 years ago
Rich Bolen
45764f9465
Incorporate feedback from the PR
4 years ago
Rich Bolen
265b8fbea4
Incorporate feedback from the PR
4 years ago
Rich Bolen
699b301bad
Incorporate feedback from the PR
4 years ago
Rich Bolen
c08c21ebd2
Add support for the new Dynamic constant (17) created in java 11
4 years ago
chibash
8f4788e090
fixed Issue #263
4 years ago
Sam Ma
d6d6b2e959
Fix #265 javassist.CannotCompileException: [source error] the called constructor is private
4 years ago
Uragami Taichi
ed620780ca
Fix typo
5 years ago