April Schleck
fc299f8bc0
Remove redundant type check
The same condition is repeated twice (caught by FindBugs.)
2 jaren geleden
Carl Dea
b7838d44ab
Using TCK Tested JDK builds of OpenJDK
The AdoptOpenJDK has been discontinued since July 2021. When using Zulu you get all the latest updated (TCK Tested) builds for all versions of OpenJDK.
Also added are fixed (major) release version(s) such as 11.0.3. This is often a good practice whenever a build/test triggers (push/pull events) this can determine if the latest JDK (11) had failed the build vs something in your code that caused it. For example, when building with JDK 11.0.3 (fixed version) the build passes (green) and JDK 11 fails (red) will mean that the latest JDK (11) was the cause and not your code.
Note: Other distributions such as Temurin do not support archived fixed release prior to Sept. 2021.
2 jaren geleden
Shigeru Chiba
52629ee8b8
Merge pull request #395 from aburaksahin/master
Fix for NullPointerException on detach()
2 jaren geleden
Burak Şahin
018169818c
Fix for NullPointerException on detach()
2 jaren geleden
derklaro
1b8a927963
Only wrap the method name if the method doesn't come from the same decl class
2 jaren geleden
derklaro
5d8868c03a
Lower requirement for an extra type in constructor to Java 7-
2 jaren geleden
Timothy Hoffman
aeee909ea7
Replace array copy loop with System.arraycopy
2 jaren geleden
Timothy Hoffman
0827c539b7
Replace remaining StringBuffer uses with StringBuilder
2 jaren geleden
Timothy Hoffman
b4279f6817
Replace StringBuffer with StringBuilder and other minor String optimizations
2 jaren geleden
chibash
047f7c71be
fixes GitHub Issue 378 (wrong link for apache license)
2 jaren geleden
chibash
b9a24bf129
updates javassist.Loader to exclude jdk.internal.
3 jaren geleden
chibash
3112090a50
release 3.28.0-GA
3 jaren geleden
Shigeru Chiba
5e4340a96f
Add an action badge.
3 jaren geleden
Shigeru Chiba
17a85ae34b
Create maven.yml
3 jaren geleden
chibash
b0063871e8
updates Readme.html since #305 has been fixed by PR #306
3 jaren geleden
Shigeru Chiba
5fade7ee6e
Merge pull request #306 from nschaefe/master
fix issue 305: CodeConverter.replaceArrayAccess leads to java.util.ConcurrentModificationException
3 jaren geleden
chibash
f0c343a4b5
updates Readme.html since #363 has been mergeed
3 jaren geleden
Shigeru Chiba
b4cb5cbf3a
Merge pull request #363 from michalkurka/master
Fix a race condition in CtClassType#getClassFile3
3 jaren geleden
chibash
6786fd5fb7
updates Readme.html since #350 has been fixed
3 jaren geleden
Shigeru Chiba
84c176a6e0
Merge pull request #351 from sgjesse/issue-350
This fixes Issue #350 .
Check for extended frame type when updating StackMapTable offset.
3 jaren geleden
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 jaren geleden
chibash
0d468da4e9
fixes a security problem in pom.xml
3 jaren geleden
chibash
5668291e06
fixes typos for #357
3 jaren geleden
Shigeru Chiba
fc728c4989
Merge pull request #357 from eshizhan/master
add functions for getting the parameter names of method
3 jaren geleden
eshizhan
5bccb19933
add unit tests for LocalVariableAttribute.variableNameByIndex and MethodParametersAttribute.parameterName
3 jaren geleden
eshizhan
084c8e89b5
add functions for getting the parameter names of method
3 jaren geleden
Søren Gjesse
d2e757ee44
Check for extended frame type when updating StackTableOffset offset
Fixes #350
3 jaren geleden
chibash
1c4e31b967
fixes Issue #339
3 jaren geleden
chibash
b70a41bf52
updates the version number
3 jaren geleden
chibash
da043b46bc
fixes a bug of javassist.bytecode.stackmap, which was reported as Issue #328.
3 jaren geleden
Shigeru Chiba
5e3b6a8f64
Merge pull request #307 from sarxos/patch-1
Fix typo in TypeChecker
4 jaren geleden
Bartosz Firyn
5e6b5b27de
Fix typo in TypeChecker
Should be "bad field access" not "bad filed access".
4 jaren geleden
User
a303209489
fix CodeConverter.replaceArrayAccess leads to java.util.ConcurrentModificationException
4 jaren geleden
chibash
44e777f041
updates Readme.html to mention how to release.
4 jaren geleden
chibash
a6b7f12c25
for release 3.27.0-GA
4 jaren geleden
Pietro Braione
a3005aaf4e
Fixes to support the full syntax of possible signatures
4 jaren geleden
Pietro Braione
8782603156
Fix renaming of classes in presence of generic signatures and nested
classes.
4 jaren geleden
chibash
150709141c
fixes a bug involuved in Pull Request #294
4 jaren geleden
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 jaren geleden
chibash
9f1f605c12
Merge branch 'master' of github.com:jboss-javassist/javassist
4 jaren geleden
chibash
559bc90de5
fixdes Issue #282
4 jaren geleden
cjw
4f8e274703
Support parsing 'byte[] a = new byte[]{};'
4 jaren geleden
ximsfei
27999eefaf
add unit test
4 jaren geleden
Shigeru Chiba
19a64dd7c2
Merge pull request #281 from diptadas/patch-1
Fix instruction printer double constant
4 jaren geleden
Dipta Das
f3dd7be032
Fix instruction printer double constant
4 jaren geleden
chibash
5a796e1c2e
updates Readme.html
4 jaren geleden
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 jaren geleden
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 jaren geleden
ximsfei
22075222e7
fixes a bug of ClassFile#renameClass(), some imports could not be successfully renamed
4 jaren geleden
chibash
30627914d3
for release 3.26.0-GA
4 jaren geleden