Burak Şahin
018169818c
Fix for NullPointerException on detach()
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
4 years ago
chibash
da043b46bc
fixes a bug of javassist.bytecode.stackmap, which was reported as Issue #328.
4 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
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
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
chibash
413126268c
for release 3.25.0-GA
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
skybber
f1e1268821
Control ctxClassLoader usage per thread
5 years ago
enigzhg
f8ee3eb84e
Fix Issue #246 via clean java doc.
5 years ago
shifujun
c85bc4f090
add a new CodeConverter method:redirectMethodCallToStatic
5 years ago
chibash
6ea8021f15
fixes the bug reported in Issue #241.
It makes $r available in the code given to CtBehavior#insertBefore().
5 years ago
chibash
576b141e43
adds src/test/test5/SwitchCase.java. It also adds the javadoc comments.
5 years ago
michalkurka
1b84304638
Proposed fixes in DefineClassHelper & DefinePackageHelper
Don't try to clean-up after making a protected-final method accessible.
No synchronization with concurrent access can cause errors.
5 years ago
chibash
52138ca440
enables switch-case with string constants
5 years ago
chibash
1a3d63712a
updates for relase 3.24.1
5 years ago
chibash
9cfa81cce0
fixes another bug (supporting jdk.*) reported in #228
5 years ago
chibash
a82e2d71bd
fixes a bug reported in #228
5 years ago
chibash
fa3dd56b83
fixes bugs in javadoc comments
5 years ago
chibash
bcfdc34366
updates for release 3.24.0-GA
5 years ago
chibash
106b44b0e0
fixes typos in javadocs.
5 years ago