wuwen
784a7c1ef9
fixes GitHub Issue 462 (Internal class issues in the Java 21)
8 месяцев назад
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
9ba39378eb
does refactoring
2 лет назад
chibash
eba64de014
fixes a bug in SignatureAttribute.renameClass().
2 лет назад
Timothy Hoffman
aeee909ea7
Replace array copy loop with System.arraycopy
2 лет назад
Timothy Hoffman
0827c539b7
Replace remaining StringBuffer uses with StringBuilder
2 лет назад
Timothy Hoffman
b4279f6817
Replace StringBuffer with StringBuilder and other minor String optimizations
2 лет назад
chibash
5668291e06
fixes typos for #357
3 лет назад
eshizhan
5bccb19933
add unit tests for LocalVariableAttribute.variableNameByIndex and MethodParametersAttribute.parameterName
3 лет назад
eshizhan
084c8e89b5
add functions for getting the parameter names of method
3 лет назад
Søren Gjesse
d2e757ee44
Check for extended frame type when updating StackTableOffset offset
Fixes #350
3 лет назад
chibash
1c4e31b967
fixes Issue #339
3 лет назад
chibash
da043b46bc
fixes a bug of javassist.bytecode.stackmap, which was reported as Issue #328.
4 лет назад
User
a303209489
fix CodeConverter.replaceArrayAccess leads to java.util.ConcurrentModificationException
4 лет назад
Pietro Braione
a3005aaf4e
Fixes to support the full syntax of possible signatures
4 лет назад
Pietro Braione
8782603156
Fix renaming of classes in presence of generic signatures and nested
classes.
4 лет назад
chibash
559bc90de5
fixdes Issue #282
4 лет назад
Dipta Das
f3dd7be032
Fix instruction printer double constant
4 лет назад
ximsfei
22075222e7
fixes a bug of ClassFile#renameClass(), some imports could not be successfully renamed
4 лет назад
chibash
9108650902
adds CtBehavior#insertAfter(String,boolean,boolean) for Issue #275
4 лет назад
chibash
cf1d22fa1f
adds ClassFileWriter#addDynamicInfo
4 лет назад
chibash
10a92c6aa9
fixes typos included in PR #272 (Issue #270)
4 лет назад
Rich Bolen
dd3612498a
Address feedback from PR
4 лет назад
Rich Bolen
45764f9465
Incorporate feedback from the PR
4 лет назад
Rich Bolen
265b8fbea4
Incorporate feedback from the PR
4 лет назад
Rich Bolen
699b301bad
Incorporate feedback from the PR
4 лет назад
Rich Bolen
c08c21ebd2
Add support for the new Dynamic constant (17) created in java 11
4 лет назад
chibash
e0439f8e04
changes the version number
5 лет назад
chibash
c52b9c7100
modifies NestHostAttribute and NestMembersAttribute and adds test code
5 лет назад
Dmitri Gabbasov
797f651105
Add support for Java 11 NestHost and NestMembers attributes
5 лет назад
Christian Beikov
e7f4090fab
JASSIST-271 Allow running on Java 11 by falling back to ClassLoader.defineClass for Java > 10
6 лет назад
chibash
40d3223b12
fixes a bug reported in issue #155 (Javassist Incorrect Code when wrapping with try/catch)
6 лет назад
nickl-
e5656fc869
Organize imports to disolve ambiguity.
6 лет назад
nickl-
62851d0af3
Source walk/Spring clean/Parameterize/Enhance et.al.
The following were applied during multiple itterations through the source.
* Parameterize raw types.
* Mark unused members.
* Annotate override and deprecated methods.
* Convert loops to enhance for loop.
* Remove redundant else statements.
* Widening collection type references.
* Optimize code for improved readability.
* Squash compiler warnings.
* Identify smells.
6 лет назад
nickl-
d1b7b853c3
Implement hashCode for Annotation.
To honour the Object.equals contract.
6 лет назад
nickl-
f536ea9fc9
Implement hashCode for Type.
To honour the Object.equals contract.
6 лет назад
nickl-
049879f903
Implement hashCode for MultiType.
To honour the Object.equals contract.
6 лет назад
nickl-
e141a58af0
Implement hashCode for MultiArrayType.
To honour the Object.equals contract.
6 лет назад
nickl-
cd3aa32530
Added default serialVersionUID.
6 лет назад
chibash
c9c209727d
fixes a bug of getAnnotations(). Some hidden annotations were not ignored.
6 лет назад
chibash
78223965e5
updates ConstPool to support Module and Package
6 лет назад
chibash
dfd0733e1f
modifies CtClass#setModifiers() to correctly support inner classes.
7 лет назад
chibash
873e5a5ef8
to support Java 9-ea+171
7 лет назад
Andres Luuk
3cad422392
Update ClassFile.java
A fix for older JDK8 versions: https://bugs.openjdk.java.net/browse/JDK-8041920
This caused random failures a little time after startup. Reported now so that when we upgrade javassist for JDK9 then we would not have to fork this class.
7 лет назад
chibash
6a9079aa44
implements better annotation handling since Javassist may fail to
create a proxy object due to access controls by jigsaw.
7 лет назад
chibash
35fb5b39f8
modifies javadoc typos.
7 лет назад
chibash
03f85a3393
fixes typos in javadoc comments
7 лет назад
chibash
0e9ff9fd2b
enables removal of attributes
7 лет назад
oreissig
f68489dc1e
implement removal of annotations
7 лет назад