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 година
chibash
e41e0790c0
changes ClassPool#appendSystemPath(). The new implementation appends ClassClassPath when the JVM is earlier than 9.
пре 6 година
chibash
c9c209727d
fixes a bug of getAnnotations(). Some hidden annotations were not ignored.
пре 6 година
chibash
a4178f8362
removes JvstTest4#testJIRA150b because it is obsolete.
пре 6 година
chibash
bb14f52dc9
3.22.0-GA release
пре 6 година
chibash
78223965e5
updates ConstPool to support Module and Package
пре 6 година
chibash
dfd0733e1f
modifies CtClass#setModifiers() to correctly support inner classes.
пре 7 година
chibash
ab117a9fe3
delete testHotswap() because java 9 does not seem to allow a java agent to be attached after the JVM starts
пре 7 година
chibash
873e5a5ef8
to support Java 9-ea+171
пре 7 година
chibash
292d6e76b0
modifies the version number
пре 7 година
chibash
d5ea6843af
adds javassist.util.HotSwapAgent
пре 7 година
chibash
25fdc6bafa
adds javassist.util.proxy.ProxyFactory#onlyPublicMethods. If true, Javassist uses java.lang.invoke.MethodHandles.Lookup to load a class.
пре 7 година
chibash
45ce361742
modifies to use sun.misc.Unsafe#defineClass so that Javassist can run with jigsaw
пре 7 година
Andres Luuk
3cad422392
Update ClassFile.java
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.
пре 7 година
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 година
chibash
778c463e5a
removes javassist.ModuleClassPath.
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/
пре 7 година
chibash
6a9079aa44
implements better annotation handling since Javassist may fail to
create a proxy object due to access controls by jigsaw.
пре 7 година
chibash
f95705f304
release 3.22.0-CR1
пре 7 година
chibash
35fb5b39f8
modifies javadoc typos.
пре 7 година
chibash
03f85a3393
fixes typos in javadoc comments
пре 7 година
chibash
cefc23a132
updates files for release 3.21.0-GA
пре 7 година
chibash
fb93ae8b8f
improves the backward compatibility of LoaderClassPath.
LoaderClassPath is modified to show the same behavior in both Java 8 and 9.
пре 7 година
chibash
0e9ff9fd2b
enables removal of attributes
пре 7 година
chibash
f6992d66a0
allows adding a default method to an interface type.
пре 7 година
oreissig
f68489dc1e
implement removal of annotations
пре 7 година
Peter Feichtinger
2e48e54c0d
Fix NullPointerException in ControlFlow constructor.
An NPE would be thrown by the constructor when called with a method
without code.
Also clarify the documentation of a few methods.
пре 7 година
chibash
9f1d7a2cf0
fixes a bug in ClassClassPath. It was reported in Issue #97.
пре 8 година
chibash
d7d7aaa9f3
updates pom.xml for building on Java 9.
пре 8 година
chibash
0ebd27d23e
fixes calls to a deprecated method in Java 9.
пре 8 година
chibash
4ed22b0f7f
modifies a test case. Now all the test cases run successfully with Java 9 EA.
пре 8 година
chibash
c0b62eeaba
modifies addInvokestatic() in Bytecode to support a static method declared in an interface type.
пре 8 година
chibash
74e404b122
adds ModuleClassPath.java
пре 8 година
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 година
chibash
e1ae09e504
fixes a bug of ProxyFactory. It could not deal with default methods declared in an interface.
пре 8 година
chibash
7ec83a2e3d
fixes a bug of stackmap generation. The bug was reported here: https://github.com/jboss-javassist/javassist/issues/83
пре 8 година
chibash
5e4572a90f
fixes many compatibility problems with older Java (i.e. 1.4)
пре 8 година
chibash
79785b83f2
modifies ClassPool so that it can read most class files.
пре 8 година
chibash
dfd5230a6e
adds ClassFile.JAVA_9
пре 8 година
chibash
aabe16cc1b
modifies test code.
пре 8 година
chibash
37258d1634
modifies test code
пре 8 година
chibash
dc4a4dc13a
updates javadoc
пре 8 година
chibash
64bde30912
modifies javadoc.
пре 8 година
chibash
89c91facc0
fixes a bug JIRA JASSIST-262
пре 8 година
chibash
b110efa847
fixes JIRA JASSIST-250
пре 8 година
chibash
d2d00601aa
modifies the implementation of that invokes an interface default method
пре 8 година
chibash
949def744d
fixes a bug of test5.JvstTest5.testInvalidCastWithDollar
пре 8 година
chibash
7314726c37
updates javassist.util.proxy to support a default interface method in Java 8
пре 8 година
chibash
abdeecb581
fixes a deadlock in getDeclaredMethods (Issue #69)
пре 8 година
chibash
1a33243aac
fixes JASSIST-256, adding an annotation to a class doesn't work on reflection
пре 8 година
chibash
fee5e033b3
fixes a concurrency bug in ProxyFactory (JASSIST-259)
пре 8 година