Christian Melchior
457934016f
Update test README
преди 6 години
Christian Melchior
3627be381b
Ignore IntelliJ files
преди 6 години
Shigeru Chiba
e1f0bba5de
Merge pull request #160 from nickl-/squash-warnings
Source walk/Spring clean/Parameterize/Enhance/Squash warnings et.al.
преди 6 години
nickl-
e5656fc869
Organize imports to disolve ambiguity.
преди 6 години
nickl-
0165b2e18b
Squash compiler warnings in tests.
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.
преди 6 години
nickl-
62851d0af3
Source walk/Spring clean/Parameterize/Enhance et.al.
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.
преди 6 години
nickl-
45b4c55361
Fix deperecated junit.framework.Assert.
Changed to org.junit.Assert.
преди 6 години
nickl-
7e1a34a570
Fix deperecated junit.framework.Assert.
Changed to org.junit.Assert.
преди 6 години
nickl-
d1b7b853c3
Implement hashCode for Annotation.
To honour the Object.equals contract.
преди 6 години
nickl-
f536ea9fc9
Implement hashCode for Type.
To honour the Object.equals contract.
преди 6 години
nickl-
049879f903
Implement hashCode for MultiType.
To honour the Object.equals contract.
преди 6 години
nickl-
e141a58af0
Implement hashCode for MultiArrayType.
To honour the Object.equals contract.
преди 6 години
nickl-
e091603310
Fix deperecated junit.framework.Assert.
Changed to org.junit.Assert.
преди 6 години
nickl-
668b3c8eb3
Suppress deprecation Applet.
преди 6 години
nickl-
0fd7647d3e
Suppress deprecation ClassPool.makePackage
преди 6 години
nickl-
c72a98b99f
Fix deprecation getPackage to getDefinedPackage
преди 6 години
nickl-
cd3aa32530
Added default serialVersionUID.
преди 6 години
nickl-
ce84f84a17
Upgrade junit from ver 3 to 4.
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.
преди 6 години
nickl-
7ef0947b75
Add version to maven-bundle-plugin.
In order to squash the mvn build warnings.
преди 6 години
nickl-
95ccb728be
Configure source encoding as UTF-8.
In order to squash the mvn build warnings.
преди 6 години
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 години
Scott Marlow
8cca83be82
upgrade maven-javadoc-plugin to 3.0.0-M1 to support publishing of 3.22.0-GA
преди 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 години
Shigeru Chiba
804ad141e0
Merge pull request #130 from andresluuk/patch-1
A fix for older JDK8 versions: https://bugs.openjdk.java.net/browse/JDK-8041920
преди 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
b3daebd813
updates Readme.html.
преди 7 години
chibash
f95705f304
release 3.22.0-CR1
преди 7 години
chibash
fd1b5fa8cd
Merge branch 'test/java9-jigsaw'
преди 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
5ea5b6695c
Merge branch 'master' into test/java9-jigsaw
преди 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 години
Shigeru Chiba
460d41808a
Merge pull request #100 from oreissig/remove-annotation
removal of annotations
преди 7 години
Shigeru Chiba
0862511fae
Merge pull request #98 from PeterFeicht/master
Fix NullPointerException in ControlFlow constructor
преди 7 години