aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/javassist/JvstTest4.java
Commit message (Collapse)AuthorAgeFilesLines
* updates testJIRA150 since it sometimes failschibash2024-05-031-1/+1
|
* Minimal changes make IDEA 2023.2 work out-of-boxshifujun2023-12-121-3/+0
| | | | | | | | | Correct maven-compiler-plugin JDK version for IDEA import Compiler bytecode version. Remove JvstTestRoot's constructor, otherwise IDEA cannot show Run icon aside testMethod. Another way is adding suite() static method to those classes. Now we can clone and open project with IDEA 2023.2. Debug single test case with IDEA is very useful.
* add unit tests for LocalVariableAttribute.variableNameByIndex and ↵eshizhan2021-01-291-0/+4
| | | | MethodParametersAttribute.parameterName
* for release 3.25.0-GAchibash2019-04-161-1/+2
|
* changes CtClass#toClass() and ClassPool#toClass() etc. to support Java 11,chibash2018-09-081-1/+2
| | | | in other words, java.lang.invoke.MethodHandles.Lookup.
* Squash compiler warnings in tests.nickl-2017-10-301-0/+1
| | | | | | | | 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.
* Suppress deprecation ClassPool.makePackagenickl-2017-10-281-0/+2
|
* Upgrade junit from ver 3 to 4.nickl-2017-10-271-0/+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.
* Move runtests to build directory.nickl-2017-10-271-1/+1
| | | | 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 to use sun.misc.Unsafe#defineClass so that Javassist can run with ↵chibash2017-04-131-2/+20
| | | | jigsaw
* fixes calls to a deprecated method in Java 9.rel_3_21_0-java9-eachibash2016-08-021-2/+2
|
* modifies a test case. Now all the test cases run successfully with Java 9 EA.chibash2016-08-011-2/+9
|
* append an new API of hasAnnotation(String annotClsName)kuzukami.sh2015-08-111-0/+4
|
* fixed JIRA JASSIST-241chibash2015-01-251-2/+2
|
* fixed JASSIST-240. support for Runtime[In]VisibleTypeAnnotationschibash2015-01-061-8/+10
|
* fiexed JASSIST-238chibash2014-11-231-3/+3
|
* 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-191-0/+34
|
* fixed a bug of accesses to annotation arguments.chibash2014-09-111-0/+8
| | | | | | 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-101-0/+36
|
* removed unused import declarationschibash2014-07-221-2/+0
|
* Fix JASSIST-220Johan Kaving2014-07-031-0/+16
| | | | | | | | | | | | 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).
* JIRA JASSIST-224chibash2014-06-091-0/+24
|
* fixed JIRA223chibash2014-05-101-2/+2
|
* fixed JASSIST-211chibash2013-12-021-0/+18
|
* fixed JASSIST-212chibash2013-12-021-0/+19
|
* fixed JASSIST-207chibash2013-08-111-0/+16
|
* fixed JASSIST-158chibash2013-07-231-0/+8
|
* fixed JASSIST-188chibash2013-05-301-0/+20
|
* fixed JASSIST-195chibash2013-05-271-3/+9
|
* fixed JASSIST-181chiba2013-04-171-0/+23
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@706 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* fixed JASSIST-185chiba2013-04-141-0/+8
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@704 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* fixed JASSIST-190chiba2013-04-131-0/+10
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@703 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* fixed JASSIST-186chiba2013-04-121-0/+11
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@702 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* fixed JASSIST-177chiba2012-11-251-0/+33
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@691 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* fixed JASSIST-174chiba2012-10-041-1/+10
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@669 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* fixed JASSIST-160 by rewriting the whole javassist.bytecode.stackmap package.chiba2012-09-141-1/+2
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@655 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* fixed JASSIST-171chiba2012-07-301-0/+12
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@641 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* implemented JASSIST-170chiba2012-06-171-0/+38
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@639 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* fixed JASSIST-166chiba2012-06-061-0/+13
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@633 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* 3.16.1-GA releaserel_3_16_1_gachiba2012-03-051-1/+1
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@623 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* fixed JASSIST-151chiba2012-02-191-0/+10
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@616 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* fixed JASSIST-152chiba2012-02-191-1/+15
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@615 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* fixed JASSIST-155chiba2012-02-151-0/+3
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@613 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* fixed JASSIST-150 (fixed a bug on WeakHashMap)chiba2012-02-111-0/+27
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@612 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* fixed JASSIST-150chiba2012-02-111-0/+59
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@611 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* fixed JASSIST-147chiba2012-02-051-0/+11
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@610 30ef5769-5b8d-40dd-aea6-55b5d6557bb3