aboutsummaryrefslogtreecommitdiffstats
path: root/src/test
Commit message (Collapse)AuthorAgeFilesLines
* delete testHotswap() because java 9 does not seem to allow a java agent to ↵chibash2017-05-311-0/+4
| | | | be attached after the JVM starts
* adds javassist.util.HotSwapAgentchibash2017-04-163-1/+35
|
* adds javassist.util.proxy.ProxyFactory#onlyPublicMethods. If true, ↵chibash2017-04-151-1/+68
| | | | Javassist uses java.lang.invoke.MethodHandles.Lookup to load a class.
* modifies to use sun.misc.Unsafe#defineClass so that Javassist can run with ↵chibash2017-04-131-2/+20
| | | | jigsaw
* updates the test code to run on Java 9 EA+149.chibash2016-12-204-472/+511
| | | | | | | | 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.
* Merge branch 'test/java9-jigsaw'chibash2016-10-0524-97/+111
|\
| * Merge branch 'master' into test/java9-jigsawtest/java9-jigsawchibash2016-09-293-1/+70
| |\ | |/ |/|
| * improves the backward compatibility of LoaderClassPath.rel_3_21_0-java9-ea2chibash2016-09-281-0/+7
| | | | | | | | LoaderClassPath is modified to show the same behavior in both Java 8 and 9.
| * fixes calls to a deprecated method in Java 9.rel_3_21_0-java9-eachibash2016-08-0224-95/+95
| |
| * modifies a test case. Now all the test cases run successfully with Java 9 EA.chibash2016-08-011-2/+9
| |
* | enables removal of attributeschibash2016-09-182-0/+53
| |
* | allows adding a default method to an interface type.chibash2016-09-182-1/+18
|/
* fixes a bug of ProxyFactory. It could not deal with default methods ↵chibash2016-07-301-0/+59
| | | | declared in an interface. https://github.com/jboss-javassist/javassist/issues/45
* fixes a bug of stackmap generation. The bug was reported here: ↵chibash2016-07-303-22/+98
| | | | https://github.com/jboss-javassist/javassist/issues/83
* fixes many compatibility problems with older Java (i.e. 1.4)chibash2016-07-145-24/+40
|
* modifies test code.chibash2016-06-121-1/+1
|
* modifies test codechibash2016-06-121-4/+4
|
* updates javadocchibash2016-06-091-45/+26
|
* fixes a bug JIRA JASSIST-262chibash2016-04-272-6/+70
|
* fixes JIRA JASSIST-250chibash2016-02-243-0/+34
|
* modifies the implementation of that invokes an interface default methodchibash2016-02-232-0/+28
|
* fixes a bug of test5.JvstTest5.testInvalidCastWithDollarchibash2016-02-232-1/+7
|
* updates javassist.util.proxy to support a default interface method in Java 8chibash2016-02-221-1/+38
|
* fixes JASSIST-256, adding an annotation to a class doesn't work on reflectionchibash2016-02-122-0/+35
|
* fixes JASSIST-255 Primitive array return values cause invalid cast to Objectchibash2015-12-082-0/+18
|
* modifies a test case for JIRA JASSIST-248.chibash2015-09-252-3/+8
|
* fixes JIRA JASSIST-248.chibash2015-09-252-3/+8
| | | | | Javassist cannot compile super.m() if m is a default method declared in an interface.
* adds a test case for JIRA JASSIST-248chibash2015-09-252-0/+22
|
* append an new API of hasAnnotation(String annotClsName)kuzukami.sh2015-08-111-0/+4
|
* fixed JASSIST-244chibash2015-08-072-2/+43
|
* added InnerClassAttribute#remove methodchibash2015-07-222-0/+33
|
* fixed JIRA JASSIST-249chibash2015-07-152-0/+24
|
* fixed JASSIST-242. VerifyError: Inconsistent args count operand in ↵chibash2015-05-281-0/+25
| | | | invokeinterface when boolean parameter function with inheritance
* fixed JASSIST-242chibash2015-05-281-0/+24
|
* fixed a bug reported as JASSIST-246chibash2015-05-252-0/+35
|
* Merge pull request #26 from m8rten/masterShigeru Chiba2015-03-162-0/+48
|\ | | | | Added call back feature to CtBehaviour
| * Added copyright infoMårten Hedborg2015-03-161-1/+1
| |
| * Changed Callback so that CtBehaviour is independet of Callback. Added testcasemarten.hedborg2015-03-152-0/+48
| |
* | fixed JIRA JASSIST-241chibash2015-01-253-2/+44
| |
* | fixed JASSIST-240. support for Runtime[In]VisibleTypeAnnotationschibash2015-01-064-8/+63
|/
* fiexed JASSIST-238chibash2014-11-235-24/+61
|
* changed the source so that javac 1.6 can compile itchibash2014-11-211-1/+1
|
* fixed JASSIST-237chibash2014-11-211-4/+3
|
* fixed JASSIST-208chibash2014-11-201-0/+5
|
* for fixing JASSIST-236, I've added getDeclaredMethods(String) to CtClass.chibash2014-11-193-0/+46
|
* fixed JASSIST-235. Now CtClass.getEnclosingMethod() is deprecated due to ↵chibash2014-11-183-2/+26
| | | | its potential bug.
* fixed a bug of accesses to annotation arguments.chibash2014-09-113-13/+45
| | | | | | If foo.Bar.Baz is a nested class in foo.Bar, then the argument of @MyAnnotation(foo.bar.Baz.class) could not be obtained. The test code is javassist.JvstTest4#testAnnArg().
* fixed JASSIST-230chibash2014-08-102-9/+49
|
* removed unused import declarationschibash2014-07-222-6/+0
|
* Fix JASSIST-220Johan Kaving2014-07-032-0/+33
| | | | | | | | | | | | Static methods on interfaces in Java 8 means that the INVOKESTATIC opcode can sometimes refer to an item that is an InterfaceMethodrefInfo (instead of a MethodrefInfo). This is now handled in the ConstPool.getMethodref...() methods by casting to MemberrefInfo instead (since MemberrefInfo contains all the needed information).