aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/javassist
Commit message (Collapse)AuthorAgeFilesLines
* fixes a minor bug in a test case.chibash2018-05-081-1/+1
|
* Merge pull request #168 from cmelchior/cm/bug/classpath-closeShigeru Chiba2018-05-071-0/+32
|\ | | | | [WIP] Fix leaking file handlers
| * Add missing unit testChristian Melchior2017-11-131-1/+11
| |
| * Merge branch 'master' into cm/bug/classpath-closeChristian Melchior2017-11-1220-22/+42
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # pom.xml # src/main/javassist/ByteArrayClassPath.java # src/main/javassist/ClassClassPath.java # src/main/javassist/ClassPoolTail.java # src/main/javassist/LoaderClassPath.java # src/main/javassist/URLClassPath.java
| * | Remove close method on ClassPath. Add unit tests for new behaviour.Christian Melchior2017-11-121-0/+22
| | |
* | | fixes a bug reported in issue #155 (Javassist Incorrect Code when wrapping ↵chibash2017-11-151-0/+17
| | | | | | | | | | | | with try/catch)
* | | adds Modifier#isVarArgs()chibash2017-11-151-0/+6
| | |
* | | Merge pull request #166 from nickl-/test-ctfield-make-with-thisShigeru Chiba2017-11-141-0/+8
|\ \ \ | | | | | | | | Unit Test: CtField.make referencing 'this'.
| * | | Unit Test: CtField.make referencing 'this'.nickl-2017-11-121-0/+8
| | |/ | |/| | | | | | | | | | As per question raised in #161 passing 'this' reference for CtField value new object instance. Also added assert for testing referncing 'this' for newly added field.
* / | Fix #152 inner class modifiers.nickl-2017-11-121-0/+46
|/ / | | | | | | | | Applied fix for #152 "Wrong modifiers returned for nested classes" as suggested by @pietrobraione. Includes unit tests for all access modifiers and static.
* | Squash compiler warnings in tests.nickl-2017-10-3015-0/+17
| | | | | | | | | | | | | | | | 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.
* | Fix deperecated junit.framework.Assert.nickl-2017-10-301-1/+1
| | | | | | | | Changed to org.junit.Assert.
* | Fix deperecated junit.framework.Assert.nickl-2017-10-301-1/+1
| | | | | | | | Changed to org.junit.Assert.
* | Suppress deprecation ClassPool.makePackagenickl-2017-10-281-0/+2
| |
* | Added default serialVersionUID.nickl-2017-10-283-0/+9
| |
* | Upgrade junit from ver 3 to 4.nickl-2017-10-275-17/+9
| | | | | | | | | | | | | | | | | | 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.
* | Move runtests to build directory.nickl-2017-10-272-3/+3
|/ | | | Move the test output folder 'runtests' to target or build directory so that mvn clean can clean that.
* removes JvstTest4#testJIRA150b because it is obsolete.rel_3_22_1_gachibash2017-10-111-1/+2
|
* modifies CtClass#setModifiers() to correctly support inner classes.chibash2017-06-011-0/+55
|
* 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
|
* 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-202-10/+23
| | | | | | | | 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-0512-37/+51
|\
| * Merge branch 'master' into test/java9-jigsawtest/java9-jigsawchibash2016-09-292-1/+50
| |\ | |/ |/|
| * 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-0212-35/+35
| |
| * 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-181-0/+33
| |
* | allows adding a default method to an interface type.chibash2016-09-182-1/+18
|/
* fixes a bug of stackmap generation. The bug was reported here: ↵chibash2016-07-301-0/+15
| | | | https://github.com/jboss-javassist/javassist/issues/83
* fixes many compatibility problems with older Java (i.e. 1.4)chibash2016-07-142-5/+5
|
* fixes a bug JIRA JASSIST-262chibash2016-04-271-0/+25
|
* fixes JIRA JASSIST-250chibash2016-02-241-0/+12
|
* modifies the implementation of that invokes an interface default methodchibash2016-02-231-0/+15
|
* fixes a bug of test5.JvstTest5.testInvalidCastWithDollarchibash2016-02-231-1/+1
|
* 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-121-0/+26
|
* fixes JASSIST-255 Primitive array return values cause invalid cast to Objectchibash2015-12-081-0/+7
|
* modifies a test case for JIRA JASSIST-248.chibash2015-09-251-2/+2
|
* fixes JIRA JASSIST-248.chibash2015-09-251-2/+2
| | | | | Javassist cannot compile super.m() if m is a default method declared in an interface.
* adds a test case for JIRA JASSIST-248chibash2015-09-251-0/+10
|
* append an new API of hasAnnotation(String annotClsName)kuzukami.sh2015-08-111-0/+4
|
* added InnerClassAttribute#remove methodchibash2015-07-221-0/+25
|
* fixed JIRA JASSIST-249chibash2015-07-151-0/+9
|
* fixed JASSIST-242chibash2015-05-281-0/+24
|
* fixed a bug reported as JASSIST-246chibash2015-05-251-0/+14
|
* Merge pull request #26 from m8rten/masterShigeru Chiba2015-03-161-0/+40
|\ | | | | 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-151-0/+40
| |