chibash
45ce361742
modifies to use sun.misc.Unsafe#defineClass so that Javassist can run with jigsaw
7 years ago
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 years ago
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 years ago
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 years ago
chibash
6a9079aa44
implements better annotation handling since Javassist may fail to
create a proxy object due to access controls by jigsaw.
7 years ago
chibash
f95705f304
release 3.22.0-CR1
7 years ago
chibash
35fb5b39f8
modifies javadoc typos.
7 years ago
chibash
03f85a3393
fixes typos in javadoc comments
7 years ago
chibash
cefc23a132
updates files for release 3.21.0-GA
7 years ago
chibash
fb93ae8b8f
improves the backward compatibility of LoaderClassPath.
LoaderClassPath is modified to show the same behavior in both Java 8 and 9.
7 years ago
chibash
0e9ff9fd2b
enables removal of attributes
7 years ago
chibash
f6992d66a0
allows adding a default method to an interface type.
7 years ago
oreissig
f68489dc1e
implement removal of annotations
7 years ago
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 years ago
chibash
9f1d7a2cf0
fixes a bug in ClassClassPath. It was reported in Issue #97.
7 years ago
chibash
d7d7aaa9f3
updates pom.xml for building on Java 9.
7 years ago
chibash
0ebd27d23e
fixes calls to a deprecated method in Java 9.
7 years ago
chibash
4ed22b0f7f
modifies a test case. Now all the test cases run successfully with Java 9 EA.
7 years ago
chibash
c0b62eeaba
modifies addInvokestatic() in Bytecode to support a static method declared in an interface type.
7 years ago
chibash
74e404b122
adds ModuleClassPath.java
7 years ago
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
7 years ago
chibash
e1ae09e504
fixes a bug of ProxyFactory. It could not deal with default methods declared in an interface.
7 years ago
chibash
7ec83a2e3d
fixes a bug of stackmap generation. The bug was reported here: https://github.com/jboss-javassist/javassist/issues/83
7 years ago
chibash
5e4572a90f
fixes many compatibility problems with older Java (i.e. 1.4)
8 years ago
chibash
79785b83f2
modifies ClassPool so that it can read most class files.
8 years ago
chibash
dfd5230a6e
adds ClassFile.JAVA_9
8 years ago
chibash
aabe16cc1b
modifies test code.
8 years ago
chibash
37258d1634
modifies test code
8 years ago
chibash
dc4a4dc13a
updates javadoc
8 years ago
chibash
64bde30912
modifies javadoc.
8 years ago
chibash
89c91facc0
fixes a bug JIRA JASSIST-262
8 years ago
chibash
b110efa847
fixes JIRA JASSIST-250
8 years ago
chibash
d2d00601aa
modifies the implementation of that invokes an interface default method
8 years ago
chibash
949def744d
fixes a bug of test5.JvstTest5.testInvalidCastWithDollar
8 years ago
chibash
7314726c37
updates javassist.util.proxy to support a default interface method in Java 8
8 years ago
chibash
abdeecb581
fixes a deadlock in getDeclaredMethods (Issue #69)
8 years ago
chibash
1a33243aac
fixes JASSIST-256, adding an annotation to a class doesn't work on reflection
8 years ago
chibash
fee5e033b3
fixes a concurrency bug in ProxyFactory (JASSIST-259)
8 years ago
chibash
4cf21faf54
fixes JASSIST-255 Primitive array return values cause invalid cast to Object
8 years ago
chibash
e3f096df2d
updates javadoc comments.
8 years ago
chibash
5b0544a385
modifies a test case for JIRA JASSIST-248.
8 years ago
chibash
e44bf416bf
fixes JIRA JASSIST-248.
Javassist cannot compile super.m() if m is a default method
declared in an interface.
8 years ago
chibash
5bbbcdf552
adds a test case for JIRA JASSIST-248
8 years ago
chibash
e68077dc87
fixed minor problems in javadoc etc.
8 years ago
kuzukami.sh
2d0d143c0b
append an new API of hasAnnotation(String annotClsName)
9 years ago
chibash
1e7ce2aebc
rebuilt javassist.jar
8 years ago
chibash
f754385766
fixed JASSIST-244
8 years ago
KyongSik-Yoon
f82eadaf4c
Generic is not supported by JDK under 1.5 version.
9 years ago
chibash
2705a49f8f
added InnerClassAttribute#remove method
9 years ago
chibash
ecd733a236
fixed JIRA JASSIST-249
9 years ago