Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'master' into cm/bug/classpath-close | Christian Melchior | 2017-11-12 | 180 | -2463/+3787 |
|\ | | | | | | | | | | | | | | | | | | | # 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 | ||||
| * | Organize imports to disolve ambiguity. | nickl- | 2017-10-30 | 106 | -238/+720 |
| | | |||||
| * | 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. | ||||
| * | 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. | ||||
| * | Suppress deprecation Applet. | nickl- | 2017-10-28 | 1 | -2/+2 |
| | | |||||
| * | Fix deprecation getPackage to getDefinedPackage | nickl- | 2017-10-28 | 1 | -1/+1 |
| | | |||||
| * | Added default serialVersionUID. | nickl- | 2017-10-28 | 51 | -1/+125 |
| | | |||||
* | | Remove close method on ClassPath. Add unit tests for new behaviour. | Christian Melchior | 2017-11-12 | 6 | -68/+33 |
|/ | |||||
* | changes ClassPool#appendSystemPath(). The new implementation appends ↵3.22-old-style-source | chibash | 2017-10-27 | 1 | -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 | 1 | -0/+4 |
| | |||||
* | 3.22.0-GA releaserel_3_22_0_galist | chibash | 2017-10-10 | 2 | -2/+2 |
| | |||||
* | updates ConstPool to support Module and Package | chibash | 2017-09-12 | 2 | -2/+150 |
| | |||||
* | modifies CtClass#setModifiers() to correctly support inner classes. | chibash | 2017-06-01 | 4 | -76/+56 |
| | |||||
* | delete testHotswap() because java 9 does not seem to allow a java agent to ↵ | chibash | 2017-05-31 | 1 | -2/+1 |
| | | | | 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 | 1 | -2/+2 |
| | |||||
* | adds javassist.util.HotSwapAgent | chibash | 2017-04-16 | 2 | -0/+228 |
| | |||||
* | adds javassist.util.proxy.ProxyFactory#onlyPublicMethods. If true, ↵ | chibash | 2017-04-15 | 3 | -14/+57 |
| | | | | 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 | 4 | -122/+191 |
|/ | | | | jigsaw | ||||
* | updates the test code to run on Java 9 EA+149. | chibash | 2016-12-20 | 1 | -1/+1 |
| | | | | | | | | 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 | 2 | -4/+14 |
| | | | | create a proxy object due to access controls by jigsaw. | ||||
* | release 3.22.0-CR1rel_3_22_0_cr1 | chibash | 2016-10-05 | 1 | -1/+1 |
| | |||||
* | Merge branch 'test/java9-jigsaw' | chibash | 2016-10-05 | 27 | -58/+270 |
|\ | |||||
| * | Merge branch 'master' into test/java9-jigsawtest/java9-jigsaw | chibash | 2016-09-29 | 7 | -8/+93 |
| |\ | |||||
| * | | improves the backward compatibility of LoaderClassPath.rel_3_21_0-java9-ea2 | chibash | 2016-09-28 | 4 | -8/+47 |
| | | | | | | | | | | | | 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 | 1 | -1/+1 |
| | | | |||||
| * | | updates pom.xml for building on Java 9. | chibash | 2016-08-02 | 1 | -1/+1 |
| | | | |||||
| * | | fixes calls to a deprecated method in Java 9.rel_3_21_0-java9-ea | chibash | 2016-08-02 | 22 | -44/+51 |
| | | | |||||
| * | | modifies a test case. Now all the test cases run successfully with Java 9 EA. | chibash | 2016-08-01 | 1 | -6/+17 |
| | | | |||||
| * | | Merge pull request #96 from jboss-javassist/master | Shigeru Chiba | 2016-07-31 | 1 | -3/+21 |
| |\ \ | | | | | | | | | bug fixes from master | ||||
| * | | | adds ModuleClassPath.java | chibash | 2016-07-31 | 5 | -32/+149 |
| | | | | |||||
| * | | | Merge branch 'master' of github.com:jboss-javassist/javassist into ↵ | chibash | 2016-07-30 | 4 | -103/+265 |
| |\ \ \ | | | | | | | | | | | | | | | | test/java9-jigsaw | ||||
| * | | | | modifies ClassPool so that it can read most class files. | chibash | 2016-07-14 | 2 | -7/+35 |
| | | | | | |||||
| * | | | | adds ClassFile.JAVA_9 | chibash | 2016-07-14 | 1 | -0/+10 |
| | | | | | |||||
* | | | | | modifies javadoc typos. | chibash | 2016-10-04 | 3 | -6/+6 |
| | | | | | |||||
* | | | | | fixes typos in javadoc commentsrel_3_21_0_ga | chibash | 2016-10-04 | 4 | -8/+8 |
| | | | | | |||||
* | | | | | updates files for release 3.21.0-GA | chibash | 2016-10-03 | 1 | -2/+2 |
| |_|_|/ |/| | | | |||||
* | | | | enables removal of attributes | chibash | 2016-09-18 | 5 | -3/+59 |
| | | | | |||||
* | | | | Merge pull request #100 from oreissig/remove-annotation | Shigeru Chiba | 2016-09-18 | 1 | -0/+23 |
|\ \ \ \ | | | | | | | | | | | removal of annotations | ||||
| * | | | | implement removal of annotations | oreissig | 2016-08-20 | 1 | -0/+23 |
| | |_|/ | |/| | | |||||
* | | | | Merge pull request #98 from PeterFeicht/master | Shigeru Chiba | 2016-09-18 | 1 | -2/+7 |
|\ \ \ \ | | | | | | | | | | | Fix NullPointerException in ControlFlow constructor | ||||
| * | | | | Fix NullPointerException in ControlFlow constructor. | Peter Feichtinger | 2016-08-11 | 1 | -2/+7 |
| |/ / / | | | | | | | | | | | | | | | | | | | | | An NPE would be thrown by the constructor when called with a method without code. Also clarify the documentation of a few methods. | ||||
* / / / | allows adding a default method to an interface type. | chibash | 2016-09-18 | 1 | -3/+4 |
|/ / / | |||||
* | / | modifies addInvokestatic() in Bytecode to support a static method declared ↵ | chibash | 2016-07-31 | 1 | -3/+21 |
| |/ |/| | | | | | in an interface type. |