shifujun
c04c375e81
Fix MemberResolver.lookupMethod bug when super class has more precise match
When onlyExact=false and super class have a more precise match,
it should not return with current class's maybe result.
New added testSuperCall reveals the problem.
6 месяцев назад
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
150709141c
fixes a bug involuved in Pull Request #294
4 лет назад
chibash
c78e17c67f
fixes a bug of JvstTest5#testRedundantInsertAfter() for Issue #275
4 лет назад
chibash
9108650902
adds CtBehavior#insertAfter(String,boolean,boolean) for Issue #275
4 лет назад
Sam Ma
d6d6b2e959
Fix #265 javassist.CannotCompileException: [source error] the called constructor is private
4 лет назад
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 лет назад
chibash
6ea8021f15
fixes the bug reported in Issue #241.
It makes $r available in the code given to CtBehavior#insertBefore().
5 лет назад
chibash
52138ca440
enables switch-case with string constants
5 лет назад
chibash
6320bc4e14
changes CtClass#toClass() and ClassPool#toClass() etc. to support Java 11,
in other words, java.lang.invoke.MethodHandles.Lookup.
5 лет назад
chibash
9ca1a7539c
adds test cases for NestHostAttribute and NestMembersAttribute.
5 лет назад
chibash
c52b9c7100
modifies NestHostAttribute and NestMembersAttribute and adds test code
5 лет назад
chibash
40d3223b12
fixes a bug reported in issue #155 (Javassist Incorrect Code when wrapping with try/catch)
6 лет назад
chibash
a64f57f489
adds Modifier#isVarArgs()
6 лет назад
nickl-
d7e4f99372
Fix #152 inner class modifiers.
Applied fix for #152 "Wrong modifiers returned for nested classes" as suggested by @pietrobraione.
Includes unit tests for all access modifiers and static.
6 лет назад
nickl-
0165b2e18b
Squash compiler warnings in tests.
With the unit tests warnings were squashed by suppressing them with SuppressWarnings annotations, instead of
reparing the issues as was done with the source. Reasons being...
* The tests might be relying on the types as they were defined.
* If the tests were written to test against the correct forms they would've/should've stipulated those.
* Even unused members might be important to tests so we attempt to change as little as possible.
6 лет назад
chibash
dfd0733e1f
modifies CtClass#setModifiers() to correctly support inner classes.
7 лет назад
chibash
fb93ae8b8f
improves the backward compatibility of LoaderClassPath.
LoaderClassPath is modified to show the same behavior in both Java 8 and 9.
7 лет назад
chibash
0e9ff9fd2b
enables removal of attributes
7 лет назад
chibash
f6992d66a0
allows adding a default method to an interface type.
7 лет назад
chibash
0ebd27d23e
fixes calls to a deprecated method in Java 9.
8 лет назад
chibash
7ec83a2e3d
fixes a bug of stackmap generation. The bug was reported here: https://github.com/jboss-javassist/javassist/issues/83
8 лет назад
chibash
89c91facc0
fixes a bug JIRA JASSIST-262
8 лет назад
chibash
b110efa847
fixes JIRA JASSIST-250
8 лет назад
chibash
d2d00601aa
modifies the implementation of that invokes an interface default method
8 лет назад
chibash
949def744d
fixes a bug of test5.JvstTest5.testInvalidCastWithDollar
8 лет назад
chibash
1a33243aac
fixes JASSIST-256, adding an annotation to a class doesn't work on reflection
8 лет назад
chibash
4cf21faf54
fixes JASSIST-255 Primitive array return values cause invalid cast to Object
8 лет назад
chibash
5b0544a385
modifies a test case for JIRA JASSIST-248.
8 лет назад
chibash
e44bf416bf
fixes JIRA JASSIST-248.
Javassist cannot compile super.m() if m is a default method
declared in an interface.
8 лет назад
chibash
5bbbcdf552
adds a test case for JIRA JASSIST-248
8 лет назад
chibash
2705a49f8f
added InnerClassAttribute#remove method
9 лет назад
chibash
ecd733a236
fixed JIRA JASSIST-249
9 лет назад
chibash
a4f46cd3a9
fixed JASSIST-242
9 лет назад
chibash
efae59551e
fixed a bug reported as JASSIST-246
9 лет назад
chibash
e59339343a
fixed JIRA JASSIST-241
9 лет назад
chibash
ec3afdfb5d
fixed JASSIST-240. support for Runtime[In]VisibleTypeAnnotations
9 лет назад
chibash
f2093c28be
fiexed JASSIST-238
9 лет назад