aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/javassist
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into cm/bug/classpath-closeChristian Melchior2017-11-12180-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-30106-238/+720
| |
| * Source walk/Spring clean/Parameterize/Enhance et.al.nickl-2017-10-30160-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-301-0/+6
| | | | | | | | To honour the Object.equals contract.
| * Implement hashCode for Type.nickl-2017-10-301-0/+5
| | | | | | | | To honour the Object.equals contract.
| * Implement hashCode for MultiType.nickl-2017-10-301-0/+8
| | | | | | | | To honour the Object.equals contract.
| * Implement hashCode for MultiArrayType.nickl-2017-10-301-0/+6
| | | | | | | | To honour the Object.equals contract.
| * Suppress deprecation Applet.nickl-2017-10-281-2/+2
| |
| * Fix deprecation getPackage to getDefinedPackagenickl-2017-10-281-1/+1
| |
| * Added default serialVersionUID.nickl-2017-10-2851-1/+125
| |
* | Remove close method on ClassPath. Add unit tests for new behaviour.Christian Melchior2017-11-126-68/+33
|/
* changes ClassPool#appendSystemPath(). The new implementation appends ↵3.22-old-style-sourcechibash2017-10-271-2/+6
| | | | ClassClassPath when the JVM is earlier than 9.
* fixes a bug of getAnnotations(). Some hidden annotations were not ignored.chibash2017-10-271-0/+4
|
* 3.22.0-GA releaserel_3_22_0_galistchibash2017-10-102-2/+2
|
* updates ConstPool to support Module and Packagechibash2017-09-122-2/+150
|
* modifies CtClass#setModifiers() to correctly support inner classes.chibash2017-06-014-76/+56
|
* delete testHotswap() because java 9 does not seem to allow a java agent to ↵chibash2017-05-311-2/+1
| | | | be attached after the JVM starts
* to support Java 9-ea+171chibash2017-05-311-1/+1
|
* modifies the version numberrel_3_22_0_cr2chibash2017-04-171-2/+2
|
* adds javassist.util.HotSwapAgentchibash2017-04-162-0/+228
|
* adds javassist.util.proxy.ProxyFactory#onlyPublicMethods. If true, ↵chibash2017-04-153-14/+57
| | | | Javassist uses java.lang.invoke.MethodHandles.Lookup to load a class.
* Merge pull request #130 from andresluuk/patch-1Shigeru Chiba2017-04-131-1/+1
|\ | | | | A fix for older JDK8 versions: https://bugs.openjdk.java.net/browse/JDK-8041920
| * Update ClassFile.javaAndres Luuk2017-04-101-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 ↵chibash2017-04-134-122/+191
|/ | | | jigsaw
* updates the test code to run on Java 9 EA+149.chibash2016-12-201-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.chibash2016-12-165-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 tochibash2016-10-142-4/+14
| | | | create a proxy object due to access controls by jigsaw.
* release 3.22.0-CR1rel_3_22_0_cr1chibash2016-10-051-1/+1
|
* Merge branch 'test/java9-jigsaw'chibash2016-10-0527-58/+270
|\
| * Merge branch 'master' into test/java9-jigsawtest/java9-jigsawchibash2016-09-297-8/+93
| |\
| * | improves the backward compatibility of LoaderClassPath.rel_3_21_0-java9-ea2chibash2016-09-284-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.chibash2016-08-041-1/+1
| | |
| * | updates pom.xml for building on Java 9.chibash2016-08-021-1/+1
| | |
| * | fixes calls to a deprecated method in Java 9.rel_3_21_0-java9-eachibash2016-08-0222-44/+51
| | |
| * | modifies a test case. Now all the test cases run successfully with Java 9 EA.chibash2016-08-011-6/+17
| | |
| * | Merge pull request #96 from jboss-javassist/masterShigeru Chiba2016-07-311-3/+21
| |\ \ | | | | | | | | bug fixes from master
| * | | adds ModuleClassPath.javachibash2016-07-315-32/+149
| | | |
| * | | Merge branch 'master' of github.com:jboss-javassist/javassist into ↵chibash2016-07-304-103/+265
| |\ \ \ | | | | | | | | | | | | | | | test/java9-jigsaw
| * | | | modifies ClassPool so that it can read most class files.chibash2016-07-142-7/+35
| | | | |
| * | | | adds ClassFile.JAVA_9chibash2016-07-141-0/+10
| | | | |
* | | | | modifies javadoc typos.chibash2016-10-043-6/+6
| | | | |
* | | | | fixes typos in javadoc commentsrel_3_21_0_gachibash2016-10-044-8/+8
| | | | |
* | | | | updates files for release 3.21.0-GAchibash2016-10-031-2/+2
| |_|_|/ |/| | |
* | | | enables removal of attributeschibash2016-09-185-3/+59
| | | |
* | | | Merge pull request #100 from oreissig/remove-annotationShigeru Chiba2016-09-181-0/+23
|\ \ \ \ | | | | | | | | | | removal of annotations
| * | | | implement removal of annotationsoreissig2016-08-201-0/+23
| | |_|/ | |/| |
* | | | Merge pull request #98 from PeterFeicht/masterShigeru Chiba2016-09-181-2/+7
|\ \ \ \ | | | | | | | | | | Fix NullPointerException in ControlFlow constructor
| * | | | Fix NullPointerException in ControlFlow constructor.Peter Feichtinger2016-08-111-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.chibash2016-09-181-3/+4
|/ / /
* | / modifies addInvokestatic() in Bytecode to support a static method declared ↵chibash2016-07-311-3/+21
| |/ |/| | | | | in an interface type.