Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | Unit Test: CtField.make referencing 'this'. | nickl- | 2017-11-12 | 2 | -0/+15 | |
| |/ / | | | | | | | | | | | | | As per question raised in #161 passing 'this' reference for CtField value new object instance. Also added assert for testing referncing 'this' for newly added field. | |||||
* / / | Fix #152 inner class modifiers. | nickl- | 2017-11-12 | 2 | -0/+59 | |
|/ / | | | | | | | | | Applied fix for #152 "Wrong modifiers returned for nested classes" as suggested by @pietrobraione. Includes unit tests for all access modifiers and static. | |||||
* | | Squash compiler warnings in tests. | nickl- | 2017-10-30 | 57 | -0/+63 | |
| | | | | | | | | | | | | | | | | 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. | |||||
* | | Fix deperecated junit.framework.Assert. | nickl- | 2017-10-30 | 1 | -1/+3 | |
| | | | | | | | | Changed to org.junit.Assert. | |||||
* | | Fix deperecated junit.framework.Assert. | nickl- | 2017-10-30 | 1 | -1/+1 | |
| | | | | | | | | Changed to org.junit.Assert. | |||||
* | | Fix deperecated junit.framework.Assert. | nickl- | 2017-10-30 | 1 | -1/+1 | |
| | | | | | | | | Changed to org.junit.Assert. | |||||
* | | Suppress deprecation ClassPool.makePackage | nickl- | 2017-10-28 | 1 | -0/+2 | |
| | | ||||||
* | | Added default serialVersionUID. | nickl- | 2017-10-28 | 14 | -6/+67 | |
| | | ||||||
* | | Upgrade junit from ver 3 to 4. | nickl- | 2017-10-27 | 5 | -17/+9 | |
| | | | | | | | | | | | | | | | | | | 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. | |||||
* | | Move runtests to build directory. | nickl- | 2017-10-27 | 2 | -3/+3 | |
|/ | | | | Move the test output folder 'runtests' to target or build directory so that mvn clean can clean that. | |||||
* | removes JvstTest4#testJIRA150b because it is obsolete.rel_3_22_1_ga | chibash | 2017-10-11 | 1 | -1/+2 | |
| | ||||||
* | modifies CtClass#setModifiers() to correctly support inner classes. | chibash | 2017-06-01 | 2 | -0/+61 | |
| | ||||||
* | delete testHotswap() because java 9 does not seem to allow a java agent to ↵ | chibash | 2017-05-31 | 1 | -0/+4 | |
| | | | | be attached after the JVM starts | |||||
* | adds javassist.util.HotSwapAgent | chibash | 2017-04-16 | 3 | -1/+35 | |
| | ||||||
* | adds javassist.util.proxy.ProxyFactory#onlyPublicMethods. If true, ↵ | chibash | 2017-04-15 | 1 | -1/+68 | |
| | | | | Javassist uses java.lang.invoke.MethodHandles.Lookup to load a class. | |||||
* | modifies to use sun.misc.Unsafe#defineClass so that Javassist can run with ↵ | chibash | 2017-04-13 | 1 | -2/+20 | |
| | | | | jigsaw | |||||
* | updates the test code to run on Java 9 EA+149. | chibash | 2016-12-20 | 4 | -472/+511 | |
| | | | | | | | | 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. | |||||
* | Merge branch 'test/java9-jigsaw' | chibash | 2016-10-05 | 24 | -97/+111 | |
|\ | ||||||
| * | Merge branch 'master' into test/java9-jigsawtest/java9-jigsaw | chibash | 2016-09-29 | 3 | -1/+70 | |
| |\ | |/ |/| | ||||||
| * | improves the backward compatibility of LoaderClassPath.rel_3_21_0-java9-ea2 | chibash | 2016-09-28 | 1 | -0/+7 | |
| | | | | | | | | LoaderClassPath is modified to show the same behavior in both Java 8 and 9. | |||||
| * | fixes calls to a deprecated method in Java 9.rel_3_21_0-java9-ea | chibash | 2016-08-02 | 24 | -95/+95 | |
| | | ||||||
| * | modifies a test case. Now all the test cases run successfully with Java 9 EA. | chibash | 2016-08-01 | 1 | -2/+9 | |
| | | ||||||
* | | enables removal of attributes | chibash | 2016-09-18 | 2 | -0/+53 | |
| | | ||||||
* | | allows adding a default method to an interface type. | chibash | 2016-09-18 | 2 | -1/+18 | |
|/ | ||||||
* | fixes a bug of ProxyFactory. It could not deal with default methods ↵ | chibash | 2016-07-30 | 1 | -0/+59 | |
| | | | | declared in an interface. https://github.com/jboss-javassist/javassist/issues/45 | |||||
* | fixes a bug of stackmap generation. The bug was reported here: ↵ | chibash | 2016-07-30 | 3 | -22/+98 | |
| | | | | https://github.com/jboss-javassist/javassist/issues/83 | |||||
* | fixes many compatibility problems with older Java (i.e. 1.4) | chibash | 2016-07-14 | 5 | -24/+40 | |
| | ||||||
* | modifies test code. | chibash | 2016-06-12 | 1 | -1/+1 | |
| | ||||||
* | modifies test code | chibash | 2016-06-12 | 1 | -4/+4 | |
| | ||||||
* | updates javadoc | chibash | 2016-06-09 | 1 | -45/+26 | |
| | ||||||
* | fixes a bug JIRA JASSIST-262 | chibash | 2016-04-27 | 2 | -6/+70 | |
| | ||||||
* | fixes JIRA JASSIST-250 | chibash | 2016-02-24 | 3 | -0/+34 | |
| | ||||||
* | modifies the implementation of that invokes an interface default method | chibash | 2016-02-23 | 2 | -0/+28 | |
| | ||||||
* | fixes a bug of test5.JvstTest5.testInvalidCastWithDollar | chibash | 2016-02-23 | 2 | -1/+7 | |
| | ||||||
* | updates javassist.util.proxy to support a default interface method in Java 8 | chibash | 2016-02-22 | 1 | -1/+38 | |
| | ||||||
* | fixes JASSIST-256, adding an annotation to a class doesn't work on reflection | chibash | 2016-02-12 | 2 | -0/+35 | |
| | ||||||
* | fixes JASSIST-255 Primitive array return values cause invalid cast to Object | chibash | 2015-12-08 | 2 | -0/+18 | |
| | ||||||
* | modifies a test case for JIRA JASSIST-248. | chibash | 2015-09-25 | 2 | -3/+8 | |
| | ||||||
* | fixes JIRA JASSIST-248. | chibash | 2015-09-25 | 2 | -3/+8 | |
| | | | | | Javassist cannot compile super.m() if m is a default method declared in an interface. | |||||
* | adds a test case for JIRA JASSIST-248 | chibash | 2015-09-25 | 2 | -0/+22 | |
| | ||||||
* | append an new API of hasAnnotation(String annotClsName) | kuzukami.sh | 2015-08-11 | 1 | -0/+4 | |
| | ||||||
* | fixed JASSIST-244 | chibash | 2015-08-07 | 2 | -2/+43 | |
| | ||||||
* | added InnerClassAttribute#remove method | chibash | 2015-07-22 | 2 | -0/+33 | |
| | ||||||
* | fixed JIRA JASSIST-249 | chibash | 2015-07-15 | 2 | -0/+24 | |
| | ||||||
* | fixed JASSIST-242. VerifyError: Inconsistent args count operand in ↵ | chibash | 2015-05-28 | 1 | -0/+25 | |
| | | | | invokeinterface when boolean parameter function with inheritance | |||||
* | fixed JASSIST-242 | chibash | 2015-05-28 | 1 | -0/+24 | |
| | ||||||
* | fixed a bug reported as JASSIST-246 | chibash | 2015-05-25 | 2 | -0/+35 | |
| | ||||||
* | Merge pull request #26 from m8rten/master | Shigeru Chiba | 2015-03-16 | 2 | -0/+48 | |
|\ | | | | | Added call back feature to CtBehaviour | |||||
| * | Added copyright info | Mårten Hedborg | 2015-03-16 | 1 | -1/+1 | |
| | | ||||||
| * | Changed Callback so that CtBehaviour is independet of Callback. Added testcase | marten.hedborg | 2015-03-15 | 2 | -0/+48 | |
| | |