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
0d468da4e9
fixes a security problem in pom.xml
3 years ago
chibash
5668291e06
fixes typos for #357
3 years ago
Shigeru Chiba
fc728c4989
Merge pull request #357 from eshizhan/master
add functions for getting the parameter names of method
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
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
Shigeru Chiba
5e3b6a8f64
Merge pull request #307 from sarxos/patch-1
Fix typo in TypeChecker
4 years ago
Bartosz Firyn
5e6b5b27de
Fix typo in TypeChecker
Should be "bad field access" not "bad filed access".
4 years ago
chibash
44e777f041
updates Readme.html to mention how to release.
4 years ago
chibash
a6b7f12c25
for release 3.27.0-GA
4 years ago
chibash
150709141c
fixes a bug involuved in Pull Request #294
4 years ago
Shigeru Chiba
afe124ffa5
Merge pull request #294 from junwen12221/master
Supports parsing 'byte[] a = new byte[]{};'. Only parsing is supported. Javassist reports a not-supported error.
4 years ago
chibash
9f1f605c12
Merge branch 'master' of github.com:jboss-javassist/javassist
4 years ago
chibash
559bc90de5
fixdes Issue #282
4 years ago
cjw
4f8e274703
Support parsing 'byte[] a = new byte[]{};'
4 years ago
Shigeru Chiba
19a64dd7c2
Merge pull request #281 from diptadas/patch-1
Fix instruction printer double constant
4 years ago
Dipta Das
f3dd7be032
Fix instruction printer double constant
4 years ago
chibash
5a796e1c2e
updates Readme.html
4 years ago
Shigeru Chiba
a54eae58df
Merge pull request #279 from csobrinho/patch-1
Fix a bottleneck. If the jar entries is big, List.contains is O(n) an…
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
chibash
30627914d3
for release 3.26.0-GA
4 years ago
chibash
855ca0050a
adds CtClass#isKotlin() for PR #276
4 years ago
chibash
c78e17c67f
fixes a bug of JvstTest5#testRedundantInsertAfter() for Issue #275
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
2e67ed31f8
updates Readme.html
4 years ago
Shigeru Chiba
bad4a16db3
Merge pull request #267 from sam-ma/master
Fix #265 javassist.CannotCompileException: [source error] the called …
4 years ago
chibash
cf1d22fa1f
adds ClassFileWriter#addDynamicInfo
4 years ago
chibash
10a92c6aa9
fixes typos included in PR #272 (Issue #270)
4 years ago
Shigeru Chiba
3dcbf5e391
Merge pull request #272 from richbolen/JASSIST-270
JASSIST-270: Add support for the new Dynamic constant (17) created in java 11
4 years ago
Rich Bolen
a90bc27e58
Remove unused file
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
Shigeru Chiba
9076bde175
Merge pull request #264 from backpaper0/fix-typo
Fix typo
4 years ago
Uragami Taichi
ed620780ca
Fix typo
4 years ago
chibash
3aa3ca9d97
for release 3.25.0-GA
5 years ago
chibash
413126268c
for release 3.25.0-GA
5 years ago
Shigeru Chiba
ab77824c6f
Merge pull request #253 from sam-ma/master
Fix #252 make instrumentation works on JDK11 for the inner class which has access to the private constructor of the host class
5 years ago
Shigeru Chiba
a332834881
Merge pull request #254 from soul2zimate/backwards-compatible-fix
Add back FactoryHelper.toClass(ClassFile cf, ClassLoader loader, Prot…
5 years ago
Chao Wang
7a91c46e96
Add back FactoryHelper.toClass(ClassFile cf, ClassLoader loader, ProtectionDomain domain) for backward compatibility in minor release.
5 years ago
Sam Ma
e71398c6fc
Fix #252 make instrumentation works on JDK11 for the inner class which has access to the private constructor of the host class
5 years ago
chibash
e3f70e8d1d
adds javadoc comments for PR #250
5 years ago