Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix merge mistake | Christian Melchior | 2017-11-13 | 2 | -2/+0 |
| | |||||
* | Cleanup | Christian Melchior | 2017-11-12 | 3 | -6/+2 |
| | |||||
* | Merge branch 'master' into cm/bug/classpath-close | Christian Melchior | 2017-11-12 | 248 | -2497/+3951 |
|\ | | | | | | | | | | | | | | | | | | | # Conflicts: # pom.xml # src/main/javassist/ByteArrayClassPath.java # src/main/javassist/ClassClassPath.java # src/main/javassist/ClassPoolTail.java # src/main/javassist/LoaderClassPath.java # src/main/javassist/URLClassPath.java | ||||
| * | Merge pull request #160 from nickl-/squash-warnings | Shigeru Chiba | 2017-11-12 | 248 | -2499/+3961 |
| |\ | | | | | | | Source walk/Spring clean/Parameterize/Enhance/Squash warnings et.al. | ||||
| | * | Organize imports to disolve ambiguity. | nickl- | 2017-10-30 | 106 | -238/+720 |
| | | | |||||
| | * | 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. | ||||
| | * | Source walk/Spring clean/Parameterize/Enhance et.al. | nickl- | 2017-10-30 | 160 | -2237/+2938 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| | * | 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. | ||||
| | * | Implement hashCode for Annotation. | nickl- | 2017-10-30 | 1 | -0/+6 |
| | | | | | | | | | | | | To honour the Object.equals contract. | ||||
| | * | Implement hashCode for Type. | nickl- | 2017-10-30 | 1 | -0/+5 |
| | | | | | | | | | | | | To honour the Object.equals contract. | ||||
| | * | Implement hashCode for MultiType. | nickl- | 2017-10-30 | 1 | -0/+8 |
| | | | | | | | | | | | | To honour the Object.equals contract. | ||||
| | * | Implement hashCode for MultiArrayType. | nickl- | 2017-10-30 | 1 | -0/+6 |
| | | | | | | | | | | | | To honour the Object.equals contract. | ||||
| | * | Fix deperecated junit.framework.Assert. | nickl- | 2017-10-30 | 1 | -1/+1 |
| | | | | | | | | | | | | Changed to org.junit.Assert. | ||||
| | * | Suppress deprecation Applet. | nickl- | 2017-10-28 | 1 | -2/+2 |
| | | | |||||
| | * | Suppress deprecation ClassPool.makePackage | nickl- | 2017-10-28 | 1 | -0/+2 |
| | | | |||||
| | * | Fix deprecation getPackage to getDefinedPackage | nickl- | 2017-10-28 | 1 | -1/+1 |
| | | | |||||
| | * | Added default serialVersionUID. | nickl- | 2017-10-28 | 65 | -7/+192 |
| | | | |||||
| | * | Upgrade junit from ver 3 to 4. | nickl- | 2017-10-27 | 6 | -21/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| | * | Add version to maven-bundle-plugin. | nickl- | 2017-10-27 | 1 | -0/+1 |
| | | | | | | | | | | | | In order to squash the mvn build warnings. | ||||
| | * | Configure source encoding as UTF-8. | nickl- | 2017-10-27 | 1 | -0/+3 |
| | | | | | | | | | | | | In order to squash the mvn build warnings. | ||||
| | * | Move runtests to build directory. | nickl- | 2017-10-27 | 3 | -4/+4 |
| |/ | | | | | | | Move the test output folder 'runtests' to target or build directory so that mvn clean can clean that. | ||||
* | | Remove close method on ClassPath. Add unit tests for new behaviour. | Christian Melchior | 2017-11-12 | 11 | -69/+79 |
| | | |||||
* | | Update test README | Christian Melchior | 2017-11-12 | 1 | -2/+19 |
| | | |||||
* | | Ignore IntelliJ files | Christian Melchior | 2017-11-12 | 1 | -0/+1 |
|/ | |||||
* | changes ClassPool#appendSystemPath(). The new implementation appends ↵3.22-old-style-source | chibash | 2017-10-27 | 2 | -2/+6 |
| | | | | ClassClassPath when the JVM is earlier than 9. | ||||
* | fixes a bug of getAnnotations(). Some hidden annotations were not ignored. | chibash | 2017-10-27 | 2 | -0/+4 |
| | |||||
* | upgrade maven-javadoc-plugin to 3.0.0-M1 to support publishing of 3.22.0-GArel_3_22_00_ga | Scott Marlow | 2017-10-10 | 1 | -1/+1 |
| | |||||
* | removes JvstTest4#testJIRA150b because it is obsolete.rel_3_22_1_ga | chibash | 2017-10-11 | 1 | -1/+2 |
| | |||||
* | 3.22.0-GA releaserel_3_22_0_galist | chibash | 2017-10-10 | 8 | -8/+9 |
| | |||||
* | updates ConstPool to support Module and Package | chibash | 2017-09-12 | 4 | -2/+151 |
| | |||||
* | modifies CtClass#setModifiers() to correctly support inner classes. | chibash | 2017-06-01 | 7 | -76/+117 |
| | |||||
* | delete testHotswap() because java 9 does not seem to allow a java agent to ↵ | chibash | 2017-05-31 | 3 | -2/+5 |
| | | | | be attached after the JVM starts | ||||
* | to support Java 9-ea+171 | chibash | 2017-05-31 | 1 | -1/+1 |
| | |||||
* | modifies the version numberrel_3_22_0_cr2 | chibash | 2017-04-17 | 2 | -6/+5 |
| | |||||
* | adds javassist.util.HotSwapAgent | chibash | 2017-04-16 | 6 | -1/+263 |
| | |||||
* | adds javassist.util.proxy.ProxyFactory#onlyPublicMethods. If true, ↵ | chibash | 2017-04-15 | 5 | -15/+125 |
| | | | | Javassist uses java.lang.invoke.MethodHandles.Lookup to load a class. | ||||
* | Merge pull request #130 from andresluuk/patch-1 | Shigeru Chiba | 2017-04-13 | 1 | -1/+1 |
|\ | | | | | A fix for older JDK8 versions: https://bugs.openjdk.java.net/browse/JDK-8041920 | ||||
| * | Update ClassFile.java | Andres Luuk | 2017-04-10 | 1 | -1/+1 |
| | | | | | | | | 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. | ||||
* | | modifies to use sun.misc.Unsafe#defineClass so that Javassist can run with ↵ | chibash | 2017-04-13 | 6 | -124/+211 |
|/ | | | | jigsaw | ||||
* | updates the test code to run on Java 9 EA+149. | chibash | 2016-12-20 | 7 | -474/+523 |
| | | | | | | | | 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. | ||||
* | removes javassist.ModuleClassPath. | chibash | 2016-12-16 | 5 | -177/+4 |
| | | | | | | See #ClassFilesAsResources in JSR 376. We don't need to hack the module system to read a class file in java.lang. http://openjdk.java.net/projects/jigsaw/spec/issues/ | ||||
* | implements better annotation handling since Javassist may fail to | chibash | 2016-10-14 | 3 | -4/+14 |
| | | | | create a proxy object due to access controls by jigsaw. | ||||
* | updates Readme.html. | chibash | 2016-10-05 | 1 | -0/+7 |
| | |||||
* | release 3.22.0-CR1rel_3_22_0_cr1 | chibash | 2016-10-05 | 4 | -3/+3 |
| | |||||
* | Merge branch 'test/java9-jigsaw' | chibash | 2016-10-05 | 54 | -167/+389 |
|\ | |||||
| * | Merge branch 'master' into test/java9-jigsawtest/java9-jigsaw | chibash | 2016-09-29 | 10 | -9/+163 |
| |\ | |||||
| * | | improves the backward compatibility of LoaderClassPath.rel_3_21_0-java9-ea2 | chibash | 2016-09-28 | 7 | -9/+55 |
| | | | | | | | | | | | | LoaderClassPath is modified to show the same behavior in both Java 8 and 9. | ||||
| * | | fixes a bug in ClassClassPath. It was reported in Issue #97. | chibash | 2016-08-04 | 2 | -1/+1 |
| | | | |||||
| * | | adds javassist.jar because the unit tests fail without it. | chibash | 2016-08-02 | 1 | -0/+0 |
| | | |