chibash
a13f51b8d1
adds a comment for the fix to JIRA JASSIST-267
vor 5 Jahren
NingZhang-Ericsson
fd1d535bb3
fixed JASSIST-267
vor 5 Jahren
nickl-
7d3d65ec97
Some functional unit tests proofs.
Proves that you cannot access restricted functionality then goes ahead and
mock test all 3 exposures JAVA_9, JAVA_7+ and OTHERS by changing the
private static final class referenced default chosen on initialise.
vor 6 Jahren
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.
vor 6 Jahren
nickl-
cd3aa32530
Added default serialVersionUID.
vor 6 Jahren
chibash
25fdc6bafa
adds javassist.util.proxy.ProxyFactory#onlyPublicMethods. If true, Javassist uses java.lang.invoke.MethodHandles.Lookup to load a class.
vor 7 Jahren
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.
vor 7 Jahren
chibash
0ebd27d23e
fixes calls to a deprecated method in Java 9.
vor 7 Jahren
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
vor 7 Jahren
chibash
e1ae09e504
fixes a bug of ProxyFactory. It could not deal with default methods declared in an interface.
vor 7 Jahren
chibash
5e4572a90f
fixes many compatibility problems with older Java (i.e. 1.4)
vor 7 Jahren
chibash
f754385766
fixed JASSIST-244
vor 8 Jahren
marten.hedborg
89e50989d0
Changed Callback so that CtBehaviour is independet of Callback. Added testcase
vor 9 Jahren
chibash
23b36218f5
fixed JASSIST-216
vor 10 Jahren
chiba
91f6abdd9e
fixed JASSIST-162 and JASSIST-189
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@701 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
vor 11 Jahren
chiba
a904f21c6d
fixed JASSIST-163. Eager initialization has been implemented.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@676 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
vor 11 Jahren
chiba
991747ba2c
JASSIST-127 and JBPAPP9257
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@644 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
vor 11 Jahren
chiba
cf8cbd9950
JASSIST-127 and JBPAPP9257
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@643 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
vor 11 Jahren
chiba
08deb0e6bc
test cases taken from 3.12 for JBPAPP9257
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@638 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
vor 12 Jahren
chiba
12d5a5f3cc
fixed JASSIST-168
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@632 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
vor 12 Jahren
chiba
4ef16d3ab2
fixed JASSIST-168
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@631 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
vor 12 Jahren
chiba
16165f16f9
revising ControlFlow.dominatorTree().
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@605 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
vor 12 Jahren
chiba
6aba690510
added javassist.bytecode.analysis.ControlFlow
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@601 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
vor 12 Jahren
chiba
444c4bac0f
added javassist.bytecode.analysis.ControlFlow
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@599 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
vor 12 Jahren
adinn
a9950b363c
patched tests to use 1.4 compatible synatx and also to allow for the fact that maven install will run them in the same JVM -- fixes for JASSIST-114
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@536 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
vor 14 Jahren
adinn
80a7ea3801
fixed regression introduced by fix to ProxyFactory -- fixes JASSIST-113
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@527 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
vor 14 Jahren
chiba
604e874129
fixes for JASSIST-42 and JASSIST-97
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@524 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
vor 14 Jahren
adinn
bd1c47e0f5
fixes for JASSIST-42 and JASSIST-97
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@522 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
vor 14 Jahren
adinn
702704c3d5
fixed potential strong cyclic reference from proxy cache entries back to their class loader -- fixes JASSIST-104
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@517 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
vor 14 Jahren
jgreene
11e5f025c1
remove jdk5 deps
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@444 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
vor 16 Jahren
jgreene
55210d8936
Fix small naming bug (classinfo expects a jvm name)
Add test to catch it
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@441 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
vor 16 Jahren
jgreene
3ddcbaa6c7
Add performance info
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@440 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
vor 16 Jahren
jgreene
2bae8b1329
Fix subtypeOf in CtArray
Introduce full data-flow analysis API
Fix AALOAD by using data-flow analysis to determine the type
Introduce a testsuite to the project
Add a framedump toolp
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@437 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
vor 16 Jahren
chiba
9df30cbc01
fixed a bug of CodeIterator.insertGap() with JDK 1.6
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@426 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
vor 16 Jahren
chiba
fa1ebd7549
modified javassist.convert.* to support the stack map table of Java 6.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@351 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
vor 17 Jahren