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 years ago
nickl-
45b4c55361
Fix deperecated junit.framework.Assert.
Changed to org.junit.Assert.
6 years ago
nickl-
7e1a34a570
Fix deperecated junit.framework.Assert.
Changed to org.junit.Assert.
6 years ago
nickl-
e091603310
Fix deperecated junit.framework.Assert.
Changed to org.junit.Assert.
6 years ago
nickl-
0fd7647d3e
Suppress deprecation ClassPool.makePackage
6 years ago
nickl-
cd3aa32530
Added default serialVersionUID.
6 years ago
nickl-
ce84f84a17
Upgrade junit from ver 3 to 4.
There were minimal changes:
Some tests had their own runners these were discontinued as IDEs/maven run the tests anyway.
Removed the main methods for these.
2 tests were dependent on the running order so added the test sorter.
All tests succeed on junit 4 with legacy support.
6 years ago
nickl-
6a8f1acef3
Move runtests to build directory.
Move the test output folder 'runtests' to target or build directory so that mvn clean can clean that.
6 years ago
chibash
a4178f8362
removes JvstTest4#testJIRA150b because it is obsolete.
6 years ago
chibash
dfd0733e1f
modifies CtClass#setModifiers() to correctly support inner classes.
7 years ago
chibash
ab117a9fe3
delete testHotswap() because java 9 does not seem to allow a java agent to be attached after the JVM starts
7 years ago
chibash
d5ea6843af
adds javassist.util.HotSwapAgent
7 years ago
chibash
25fdc6bafa
adds javassist.util.proxy.ProxyFactory#onlyPublicMethods. If true, Javassist uses java.lang.invoke.MethodHandles.Lookup to load a class.
7 years ago
chibash
45ce361742
modifies to use sun.misc.Unsafe#defineClass so that Javassist can run with jigsaw
7 years ago
chibash
6a3ed31976
updates the test code to run on Java 9 EA+149.
Due to the specification change of jigsaw, ClassLoader#defineClass()
cannot be invoked through reflection API. As a workaround,
--add-opens java.base/java.lang=ALL-UNNAMED
must be given to the JVM. The ant target "runtest9" adds this jvm
argument.
7 years ago
chibash
fb93ae8b8f
improves the backward compatibility of LoaderClassPath.
LoaderClassPath is modified to show the same behavior in both Java 8 and 9.
7 years ago
chibash
0e9ff9fd2b
enables removal of attributes
7 years ago
chibash
f6992d66a0
allows adding a default method to an interface type.
7 years ago
chibash
0ebd27d23e
fixes calls to a deprecated method in Java 9.
8 years ago
chibash
4ed22b0f7f
modifies a test case. Now all the test cases run successfully with Java 9 EA.
8 years ago
chibash
d5677e4a3a
fixes a bug of ProxyFactory. It could not deal with default methods declared in an interface. https://github.com/jboss-javassist/javassist/issues/45
8 years ago
chibash
e1ae09e504
fixes a bug of ProxyFactory. It could not deal with default methods declared in an interface.
8 years ago
chibash
7ec83a2e3d
fixes a bug of stackmap generation. The bug was reported here: https://github.com/jboss-javassist/javassist/issues/83
8 years ago
chibash
5e4572a90f
fixes many compatibility problems with older Java (i.e. 1.4)
8 years ago
chibash
aabe16cc1b
modifies test code.
8 years ago
chibash
37258d1634
modifies test code
8 years ago
chibash
dc4a4dc13a
updates javadoc
8 years ago
chibash
89c91facc0
fixes a bug JIRA JASSIST-262
8 years ago
chibash
b110efa847
fixes JIRA JASSIST-250
8 years ago
chibash
d2d00601aa
modifies the implementation of that invokes an interface default method
8 years ago
chibash
949def744d
fixes a bug of test5.JvstTest5.testInvalidCastWithDollar
8 years ago
chibash
7314726c37
updates javassist.util.proxy to support a default interface method in Java 8
8 years ago
chibash
1a33243aac
fixes JASSIST-256, adding an annotation to a class doesn't work on reflection
8 years ago
chibash
4cf21faf54
fixes JASSIST-255 Primitive array return values cause invalid cast to Object
8 years ago
chibash
5b0544a385
modifies a test case for JIRA JASSIST-248.
8 years ago
chibash
e44bf416bf
fixes JIRA JASSIST-248.
Javassist cannot compile super.m() if m is a default method
declared in an interface.
8 years ago
chibash
5bbbcdf552
adds a test case for JIRA JASSIST-248
8 years ago
kuzukami.sh
2d0d143c0b
append an new API of hasAnnotation(String annotClsName)
9 years ago
chibash
f754385766
fixed JASSIST-244
9 years ago
chibash
2705a49f8f
added InnerClassAttribute#remove method
9 years ago
chibash
ecd733a236
fixed JIRA JASSIST-249
9 years ago
chibash
d9653a3483
fixed JASSIST-242. VerifyError: Inconsistent args count operand in invokeinterface when boolean parameter function with inheritance
9 years ago
chibash
a4f46cd3a9
fixed JASSIST-242
9 years ago
chibash
efae59551e
fixed a bug reported as JASSIST-246
9 years ago
Mårten Hedborg
7bb3c39367
Added copyright info
9 years ago
marten.hedborg
89e50989d0
Changed Callback so that CtBehaviour is independet of Callback. Added testcase
9 years ago
chibash
e59339343a
fixed JIRA JASSIST-241
9 years ago
chibash
ec3afdfb5d
fixed JASSIST-240. support for Runtime[In]VisibleTypeAnnotations
9 years ago
chibash
f2093c28be
fiexed JASSIST-238
9 years ago
chibash
e000e8f682
changed the source so that javac 1.6 can compile it
9 years ago