]> source.dussan.org Git - javassist.git/log
javassist.git
4 years agoMerge pull request #294 from junwen12221/master
Shigeru Chiba [Mon, 23 Dec 2019 13:58:38 +0000 (22:58 +0900)]
Merge pull request #294 from junwen12221/master

Supports parsing 'byte[] a = new byte[]{};'.  Only parsing is supported.  Javassist reports a not-supported error.

4 years agoMerge branch 'master' of github.com:jboss-javassist/javassist
chibash [Mon, 23 Dec 2019 09:35:13 +0000 (18:35 +0900)]
Merge branch 'master' of github.com:jboss-javassist/javassist

4 years agofixdes Issue #282
chibash [Mon, 23 Dec 2019 09:34:44 +0000 (18:34 +0900)]
fixdes Issue #282

4 years agoSupport parsing 'byte[] a = new byte[]{};' 294/head
cjw [Thu, 5 Dec 2019 13:15:55 +0000 (21:15 +0800)]
Support parsing 'byte[] a = new byte[]{};'

5 years agoMerge pull request #281 from diptadas/patch-1
Shigeru Chiba [Mon, 14 Oct 2019 10:25:09 +0000 (19:25 +0900)]
Merge pull request #281 from diptadas/patch-1

Fix instruction printer double constant

5 years agoFix instruction printer double constant 281/head
Dipta Das [Mon, 14 Oct 2019 04:21:11 +0000 (23:21 -0500)]
Fix instruction printer double constant

5 years agoupdates Readme.html
chibash [Fri, 11 Oct 2019 17:15:18 +0000 (02:15 +0900)]
updates Readme.html

5 years agoMerge pull request #279 from csobrinho/patch-1
Shigeru Chiba [Fri, 11 Oct 2019 17:08:33 +0000 (02:08 +0900)]
Merge pull request #279 from csobrinho/patch-1

Fix a bottleneck. If the jar entries is big, List.contains is O(n) an…

5 years agoFix a bottleneck. If the jar entries is big, List.contains is O(n) and very slow! 279/head
Carlos Sobrinho [Fri, 11 Oct 2019 01:30:37 +0000 (18:30 -0700)]
Fix a bottleneck. If the jar entries is big, List.contains is O(n) and very slow!

This is a continuation of #271 to speed up the 3.25/26 release. More details on the issue.

5 years agofor release 3.26.0-GA 3_26_0_ga rel_3_26_0_ga
chibash [Wed, 2 Oct 2019 15:21:30 +0000 (00:21 +0900)]
for release 3.26.0-GA

5 years agoadds CtClass#isKotlin() for PR #276
chibash [Mon, 23 Sep 2019 13:12:42 +0000 (22:12 +0900)]
adds CtClass#isKotlin() for PR #276

5 years agofixes a bug of JvstTest5#testRedundantInsertAfter() for Issue #275
chibash [Sun, 22 Sep 2019 16:32:27 +0000 (01:32 +0900)]
fixes a bug of JvstTest5#testRedundantInsertAfter() for Issue #275

5 years agoadds CtBehavior#insertAfter(String,boolean,boolean) for Issue #275
chibash [Fri, 20 Sep 2019 14:20:39 +0000 (23:20 +0900)]
adds CtBehavior#insertAfter(String,boolean,boolean) for Issue #275

5 years agofixes Issue #271
chibash [Sun, 1 Sep 2019 16:08:17 +0000 (01:08 +0900)]
fixes Issue #271

5 years agoupdates Readme.html
chibash [Sun, 1 Sep 2019 15:30:49 +0000 (00:30 +0900)]
updates Readme.html

5 years agoMerge pull request #267 from sam-ma/master
Shigeru Chiba [Sun, 1 Sep 2019 15:27:11 +0000 (00:27 +0900)]
Merge pull request #267 from sam-ma/master

Fix #265 javassist.CannotCompileException: [source error] the called …

5 years agoadds ClassFileWriter#addDynamicInfo
chibash [Sun, 1 Sep 2019 15:21:32 +0000 (00:21 +0900)]
adds ClassFileWriter#addDynamicInfo

5 years agofixes typos included in PR #272 (Issue #270)
chibash [Sun, 1 Sep 2019 08:32:52 +0000 (17:32 +0900)]
fixes typos included in PR #272 (Issue #270)

5 years agoMerge pull request #272 from richbolen/JASSIST-270
Shigeru Chiba [Sat, 31 Aug 2019 16:21:10 +0000 (01:21 +0900)]
Merge pull request #272 from richbolen/JASSIST-270

JASSIST-270:  Add support for the new Dynamic constant (17) created in java 11

5 years agoRemove unused file 272/head
Rich Bolen [Fri, 30 Aug 2019 10:03:16 +0000 (06:03 -0400)]
Remove unused file

5 years agoAddress feedback from PR
Rich Bolen [Wed, 28 Aug 2019 14:38:17 +0000 (10:38 -0400)]
Address feedback from PR

5 years agoIncorporate feedback from the PR
Rich Bolen [Tue, 27 Aug 2019 11:55:06 +0000 (07:55 -0400)]
Incorporate feedback from the PR

5 years agoIncorporate feedback from the PR
Rich Bolen [Tue, 27 Aug 2019 11:46:39 +0000 (07:46 -0400)]
Incorporate feedback from the PR

5 years agoIncorporate feedback from the PR
Rich Bolen [Tue, 27 Aug 2019 11:45:10 +0000 (07:45 -0400)]
Incorporate feedback from the PR

5 years agoAdd support for the new Dynamic constant (17) created in java 11
Rich Bolen [Tue, 20 Aug 2019 14:52:01 +0000 (10:52 -0400)]
Add support for the new Dynamic constant (17) created in java 11

5 years agofixed Issue #263
chibash [Sat, 27 Jul 2019 05:06:22 +0000 (14:06 +0900)]
fixed Issue #263

5 years agoFix #265 javassist.CannotCompileException: [source error] the called constructor... 267/head
Sam Ma [Tue, 23 Jul 2019 11:35:24 +0000 (21:35 +1000)]
Fix #265 javassist.CannotCompileException: [source error] the called constructor is private

5 years agoMerge pull request #264 from backpaper0/fix-typo
Shigeru Chiba [Thu, 4 Jul 2019 03:12:24 +0000 (12:12 +0900)]
Merge pull request #264 from backpaper0/fix-typo

Fix typo

5 years agoFix typo 264/head
Uragami Taichi [Wed, 3 Jul 2019 21:17:22 +0000 (06:17 +0900)]
Fix typo

5 years agofor release 3.25.0-GA rel_3_25_0_ga
chibash [Mon, 15 Apr 2019 16:35:06 +0000 (01:35 +0900)]
for release 3.25.0-GA

5 years agofor release 3.25.0-GA
chibash [Mon, 15 Apr 2019 16:33:33 +0000 (01:33 +0900)]
for release 3.25.0-GA

5 years agoMerge pull request #253 from sam-ma/master
Shigeru Chiba [Mon, 15 Apr 2019 16:09:18 +0000 (01:09 +0900)]
Merge pull request #253 from sam-ma/master

Fix #252 make instrumentation works on JDK11 for the inner class which has access to the private constructor of the host class

5 years agoMerge pull request #254 from soul2zimate/backwards-compatible-fix
Shigeru Chiba [Mon, 8 Apr 2019 09:07:31 +0000 (18:07 +0900)]
Merge pull request #254 from soul2zimate/backwards-compatible-fix

Add back FactoryHelper.toClass(ClassFile cf, ClassLoader loader, Prot…

5 years agoAdd back FactoryHelper.toClass(ClassFile cf, ClassLoader loader, ProtectionDomain... 254/head
Chao Wang [Mon, 25 Mar 2019 03:34:00 +0000 (11:34 +0800)]
Add back FactoryHelper.toClass(ClassFile cf, ClassLoader loader, ProtectionDomain domain) for backward compatibility in minor release.

5 years agoFix #252 make instrumentation works on JDK11 for the inner class which has access... 253/head
Sam Ma [Wed, 20 Mar 2019 02:08:43 +0000 (13:08 +1100)]
Fix #252 make instrumentation works on JDK11 for the inner class which has access to the private constructor of the host class

5 years agoadds javadoc comments for PR #250
chibash [Sun, 17 Mar 2019 13:57:29 +0000 (22:57 +0900)]
adds javadoc comments for PR #250

5 years agoMerge pull request #250 from skybber/master
Shigeru Chiba [Sun, 17 Mar 2019 13:26:08 +0000 (22:26 +0900)]
Merge pull request #250 from skybber/master

Control ctxClassLoader usage per thread

5 years agoControl ctxClassLoader usage per thread 250/head
skybber [Sun, 17 Mar 2019 08:26:09 +0000 (09:26 +0100)]
Control ctxClassLoader usage per thread

5 years agoMerge pull request #247 from NingZhang-e/issue246
Shigeru Chiba [Tue, 12 Feb 2019 13:23:50 +0000 (22:23 +0900)]
Merge pull request #247 from NingZhang-e/issue246

Clean Java doc to fix #246

5 years agoFix Issue #246 via clean java doc. 247/head
enigzhg [Tue, 12 Feb 2019 03:55:10 +0000 (11:55 +0800)]
Fix Issue #246 via clean java doc.

5 years agoMerge pull request #3 from jboss-javassist/master
Ning Zhang [Tue, 12 Feb 2019 03:19:33 +0000 (11:19 +0800)]
Merge pull request #3 from jboss-javassist/master

Sync with base/master.

5 years agoupdates Readme.html and rebuilds javassist.jar
chibash [Sat, 2 Feb 2019 02:40:36 +0000 (11:40 +0900)]
updates Readme.html and rebuilds javassist.jar

5 years agoMerge pull request #244 from shifujun/redirectMethodCallToStatic
Shigeru Chiba [Sat, 2 Feb 2019 02:36:46 +0000 (11:36 +0900)]
Merge pull request #244 from shifujun/redirectMethodCallToStatic

add a useful CodeConverter method:redirectMethodCallToStatic

5 years agoadd a new CodeConverter method:redirectMethodCallToStatic 244/head
shifujun [Fri, 1 Feb 2019 09:26:07 +0000 (17:26 +0800)]
add a new CodeConverter method:redirectMethodCallToStatic

5 years agofixes the bug reported in Issue #241.
chibash [Sun, 27 Jan 2019 16:35:21 +0000 (01:35 +0900)]
fixes the bug reported in Issue #241.
It makes $r available in the code given to CtBehavior#insertBefore().

5 years agoadds src/test/test5/SwitchCase.java. It also adds the javadoc comments.
chibash [Sun, 27 Jan 2019 10:35:24 +0000 (19:35 +0900)]
adds src/test/test5/SwitchCase.java. It also adds the javadoc comments.

5 years agoMerge pull request #243 from michalkurka/michalk_fix-j11-race
Shigeru Chiba [Sun, 27 Jan 2019 09:46:23 +0000 (18:46 +0900)]
Merge pull request #243 from michalkurka/michalk_fix-j11-race

JAVASSIST-242: Demonstrates a race condition in DefineClassHelper + proposed fix

5 years agoProposed fixes in DefineClassHelper & DefinePackageHelper 243/head
michalkurka [Fri, 25 Jan 2019 19:30:06 +0000 (11:30 -0800)]
Proposed fixes in DefineClassHelper & DefinePackageHelper

Don't try to clean-up after making a protected-final method accessible.
No synchronization with concurrent access can cause errors.

5 years agoJAVASSIST-242: Demonstrates a race condition in DefineClassHelper
michalkurka [Fri, 25 Jan 2019 19:28:06 +0000 (11:28 -0800)]
JAVASSIST-242: Demonstrates a race condition in DefineClassHelper

5 years agochanges Readme.html
chibash [Tue, 11 Dec 2018 06:43:33 +0000 (15:43 +0900)]
changes Readme.html

5 years agoMerge pull request #231 from jboss-javassist/test/switch-case
Shigeru Chiba [Tue, 11 Dec 2018 06:37:11 +0000 (15:37 +0900)]
Merge pull request #231 from jboss-javassist/test/switch-case

Supporting switch-case statements with string constants.

5 years agoupdates Readme.html test/switch-case 231/head
chibash [Sun, 9 Dec 2018 15:32:16 +0000 (00:32 +0900)]
updates Readme.html

5 years agoenables switch-case with string constants
chibash [Sun, 9 Dec 2018 15:24:19 +0000 (00:24 +0900)]
enables switch-case with string constants

5 years agoupdates for relase 3.24.1 rel_3_24_1_ga
chibash [Sun, 9 Dec 2018 10:58:26 +0000 (19:58 +0900)]
updates for relase 3.24.1

5 years agofixes another bug (supporting jdk.*) reported in #228
chibash [Thu, 6 Dec 2018 02:01:55 +0000 (11:01 +0900)]
fixes another bug (supporting jdk.*) reported in #228

5 years agoMerge pull request #2 from jboss-javassist/master
Ning Zhang [Tue, 4 Dec 2018 16:36:51 +0000 (17:36 +0100)]
Merge pull request #2 from jboss-javassist/master

Sync with master /jboss-javassist/javassist/.

5 years agofixes a bug reported in #228
chibash [Tue, 4 Dec 2018 15:19:56 +0000 (00:19 +0900)]
fixes a bug reported in #228

5 years agomodifies build.xml to support JDK 7.
chibash [Fri, 30 Nov 2018 06:41:39 +0000 (15:41 +0900)]
modifies build.xml to support JDK 7.

5 years agoMerge pull request #230 from JCgH4164838Gh792C124B5/localJavassistBranch
Shigeru Chiba [Fri, 30 Nov 2018 06:38:37 +0000 (15:38 +0900)]
Merge pull request #230 from JCgH4164838Gh792C124B5/localJavassistBranch

Re-enable JDK7 runtime compatibility for Javassist 3.x

5 years agoRe-enable JDK7 runtime compatibility for Javassist 3.x (until source changes preclude... 230/head
JCgH4164838Gh792C124B5 [Fri, 30 Nov 2018 05:54:00 +0000 (00:54 -0500)]
Re-enable JDK7 runtime compatibility for Javassist 3.x (until source changes preclude it).
pom.xml changes:
- lower compile source/target to 1.7 (from 1.8, introduced with Javassist 3.24.0)

5 years agoMerge pull request #1 from jboss-javassist/master
Ning Zhang [Fri, 2 Nov 2018 02:11:18 +0000 (10:11 +0800)]
Merge pull request #1 from jboss-javassist/master

Sync with jboss-javassist/javassist.

5 years agofixes bugs in javadoc comments
chibash [Thu, 1 Nov 2018 16:49:10 +0000 (01:49 +0900)]
fixes bugs in javadoc comments

5 years agoadds javassist.jar for test code rel_3_24_0_ga
chibash [Thu, 1 Nov 2018 03:54:28 +0000 (12:54 +0900)]
adds javassist.jar for test code

5 years agoupdates for release 3.24.0-GA
chibash [Wed, 31 Oct 2018 16:05:31 +0000 (01:05 +0900)]
updates for release 3.24.0-GA

6 years agofixes typos in javadocs. rel_3_24_0_rc
chibash [Fri, 5 Oct 2018 09:04:11 +0000 (18:04 +0900)]
fixes typos in javadocs.

6 years agoavoids ConcurrentModificationException in 3.23.1-GA reported in Issue #224.
chibash [Fri, 5 Oct 2018 06:47:03 +0000 (15:47 +0900)]
avoids ConcurrentModificationException in 3.23.1-GA reported in Issue #224.

6 years agostops a potential leak in JarClassPath openClassfile(). Issues #222.
chibash [Sat, 15 Sep 2018 03:06:25 +0000 (12:06 +0900)]
stops a potential leak in JarClassPath openClassfile().  Issues #222.

6 years agoadds a method taking Lookup to java.util.proxy.
chibash [Sun, 9 Sep 2018 17:39:42 +0000 (02:39 +0900)]
adds a method taking Lookup to java.util.proxy.

6 years agoadds Automatic-Module-Name to manifest
chibash [Sun, 9 Sep 2018 14:07:17 +0000 (23:07 +0900)]
adds Automatic-Module-Name to manifest

6 years agomodifies javassist.util.proxy.DefinePackageHelper to be compatible to Java 11.
chibash [Sat, 8 Sep 2018 07:26:19 +0000 (16:26 +0900)]
modifies javassist.util.proxy.DefinePackageHelper to be compatible to Java 11.
It also adds a javadoc comment to CtClass#toClass() to recommend the users to use #toClass(Class) or #toClass(Lookup).

6 years agochanges CtClass#toClass() and ClassPool#toClass() etc. to support Java 11,
chibash [Sat, 8 Sep 2018 06:47:38 +0000 (15:47 +0900)]
changes CtClass#toClass() and ClassPool#toClass() etc. to support Java 11,
in other words, java.lang.invoke.MethodHandles.Lookup.

6 years agodoes refactoring for javassist.util.proxy.
chibash [Thu, 6 Sep 2018 16:04:04 +0000 (01:04 +0900)]
does refactoring for javassist.util.proxy.

6 years agochanges the version number
chibash [Tue, 4 Sep 2018 16:52:23 +0000 (01:52 +0900)]
changes the version number

6 years agoadds test cases for NestHostAttribute and NestMembersAttribute.
chibash [Sun, 2 Sep 2018 14:50:56 +0000 (23:50 +0900)]
adds test cases for NestHostAttribute and NestMembersAttribute.

6 years agomodifies NestHostAttribute and NestMembersAttribute and adds test code
chibash [Sun, 2 Sep 2018 13:56:45 +0000 (22:56 +0900)]
modifies NestHostAttribute and NestMembersAttribute and adds test code

6 years agoMerge pull request #218 from dmitri-gb/master
Shigeru Chiba [Sun, 2 Sep 2018 10:36:51 +0000 (19:36 +0900)]
Merge pull request #218 from dmitri-gb/master

Add support for Java 11 NestHost and NestMembers attributes (JEP-181)

6 years agoadds a comment for the fix to JIRA JASSIST-267
chibash [Sun, 2 Sep 2018 10:25:12 +0000 (19:25 +0900)]
adds a comment for the fix to JIRA JASSIST-267

6 years agoMerge pull request #210 from NingZhang-Ericsson/JASSIST-267
Shigeru Chiba [Fri, 31 Aug 2018 00:22:59 +0000 (09:22 +0900)]
Merge pull request #210 from NingZhang-Ericsson/JASSIST-267

fixed JASSIST-267 (new )

6 years agoAdd support for Java 11 NestHost and NestMembers attributes 218/head
Dmitri Gabbasov [Thu, 23 Aug 2018 13:16:44 +0000 (16:16 +0300)]
Add support for Java 11 NestHost and NestMembers attributes

6 years agofixes issue #209 (NPE in Exception)
chibash [Wed, 18 Jul 2018 21:57:45 +0000 (06:57 +0900)]
fixes issue #209 (NPE in Exception)

6 years agoMerge pull request #207 from andresluuk/patch-2
Shigeru Chiba [Wed, 18 Jul 2018 21:05:45 +0000 (06:05 +0900)]
Merge pull request #207 from andresluuk/patch-2

Custom URL stream handler in ByteArrayClassPath

6 years agoFix JASSIST-267 210/head
NingZhang-Ericsson [Fri, 13 Jul 2018 08:48:13 +0000 (16:48 +0800)]
Fix JASSIST-267
Clean code according to comments.

6 years agofixed JASSIST-267
NingZhang-Ericsson [Fri, 13 Jul 2018 05:06:20 +0000 (13:06 +0800)]
fixed JASSIST-267

6 years agoCustom URL stream handler in ByteArrayClassPath 207/head
Andres Luuk [Mon, 9 Jul 2018 08:05:25 +0000 (11:05 +0300)]
Custom URL stream handler in ByteArrayClassPath

Otherwise a normal streamhandler lookup is made and if javassist is used early on server startup protses this can lead to a deadlock on rare cases on WebSpheare.
For example. A new StreamHandlerFactory is registered but not jet fully initialized. Now javassist is used at the same time but form another thread and it will be the first one to invoke the new StreamHandlerFactory and now it can deadlock with the other thread:

Snipets from my deadlock:
3XMTHREADINFO      "main" J9VMThread:0x000000000175EC00, omrthread_t:0x00007F4120008100, java/lang/Thread:0x00000000624290B8, state:B, prio=5
3XMTHREADBLOCK     Blocked on: org/osgi/util/tracker/ServiceTracker$Tracked@0x00000000627F0A90 Owned by: "other-thread" (J9VMThread:0x0000000001B26300, java/lang/Thread:0x00000000629F1458)
3XMHEAPALLOC             Heap bytes allocated since last GC cycle=0 (0x0)
3XMTHREADINFO3           Java callstack:
4XESTACKTRACE                at org/osgi/util/tracker/ServiceTracker.getServiceReferences(ServiceTracker.java:525)
4XESTACKTRACE                at org/eclipse/osgi/framework/internal/protocol/StreamHandlerFactory.createInternalURLStreamHandler(StreamHandlerFactory.java:162)
4XESTACKTRACE                at org/eclipse/osgi/framework/internal/protocol/StreamHandlerFactory.createURLStreamHandler(StreamHandlerFactory.java:118)
4XESTACKTRACE                at java/net/URL.getURLStreamHandler(URL.java:1154)
4XESTACKTRACE                at java/net/URL.<init>(URL.java:611(Compiled Code))
4XESTACKTRACE                at java/net/URL.<init>(URL.java:502(Compiled Code))
4XESTACKTRACE                at java/net/URL.<init>(URL.java:451)
4XESTACKTRACE                at javassist/ByteArrayClassPath.find(JRebel:92)
...
4XESTACKTRACE                at java/lang/ClassLoader.loadClassHelper(ClassLoader.java:924(Compiled Code))
5XESTACKTRACE                   (entered lock: org/eclipse/core/launcher/Main$StartupClassLoader@0x0000000062F3AA88, entry count: 1)

3XMTHREADINFO      "other-thread" J9VMThread:0x0000000001B26300, omrthread_t:0x00007F4120A5D060, java/lang/Thread:0x00000000629F1458, state:B, prio=5
3XMTHREADBLOCK     Blocked on: org/eclipse/core/launcher/Main$StartupClassLoader@0x0000000062F3AA88 Owned by: "main" (J9VMThread:0x000000000175EC00, java/lang/Thread:0x00000000624290B8)
3XMHEAPALLOC             Heap bytes allocated since last GC cycle=0 (0x0)
3XMTHREADINFO3           Java callstack:
4XESTACKTRACE                at org/osgi/util/tracker/AbstractTracked.size(AbstractTracked.java:356)
4XESTACKTRACE                at org/osgi/util/tracker/ServiceTracker.getServiceReferences(ServiceTracker.java:526)
5XESTACKTRACE                   (entered lock: org/osgi/util/tracker/ServiceTracker$Tracked@0x00000000627F0A90, entry count: 1)
4XESTACKTRACE                at org/eclipse/osgi/framework/internal/protocol/StreamHandlerFactory.createInternalURLStreamHandler(StreamHandlerFactory.java:162)
4XESTACKTRACE                at org/eclipse/osgi/framework/internal/protocol/StreamHandlerFactory.createURLStreamHandler(StreamHandlerFactory.java:118)
4XESTACKTRACE                at java/net/URL.getURLStreamHandler(URL.java:1154)
4XESTACKTRACE                at java/net/URL.<init>(URL.java:611(Compiled Code))
4XESTACKTRACE                at java/net/URL.<init>(URL.java:502(Compiled Code))
4XESTACKTRACE                at java/net/URL.<init>(URL.java:451)
4XESTACKTRACE                at java/net/URI.toURL(URI.java:1100)
4XESTACKTRACE                at com/ibm/jsse2/av.a(av.java:92)
4XESTACKTRACE                at com/ibm/jsse2/av.engineInit(av.java:7)
4XESTACKTRACE                at javax/net/ssl/TrustManagerFactory.init(TrustManagerFactory.java:25)

6 years agoupdates for release 3.23.1 rel_3_23_1_ga
chibash [Sun, 1 Jul 2018 17:27:13 +0000 (02:27 +0900)]
updates for release 3.23.1

6 years agoMerge pull request #204 from beikov/issues/171
Shigeru Chiba [Sat, 23 Jun 2018 12:23:21 +0000 (21:23 +0900)]
Merge pull request #204 from beikov/issues/171

[#171] Allow running on JDK 8 and possibly on JDK 7 as well. Fixes #171

6 years ago[#171] Allow running on JDK 8 and possibly on JDK 7 as well. Fixes #171 204/head
Christian Beikov [Fri, 22 Jun 2018 07:03:55 +0000 (09:03 +0200)]
[#171] Allow running on JDK 8 and possibly on JDK 7 as well. Fixes #171

6 years agoupdates for release 3.23.0-GA rel_3_23_0_ga
chibash [Wed, 20 Jun 2018 16:07:19 +0000 (01:07 +0900)]
updates for release 3.23.0-GA

6 years agofixes a minor bug in a test case.
chibash [Tue, 8 May 2018 00:24:19 +0000 (09:24 +0900)]
fixes a minor bug in a test case.

6 years agoMerge pull request #198 from beikov/JASSIST-271
Shigeru Chiba [Mon, 7 May 2018 10:14:33 +0000 (19:14 +0900)]
Merge pull request #198 from beikov/JASSIST-271

JASSIST-271 Allow running on Java 11 by falling back to ClassLoader.defineClass for Java > 10

6 years agoMerge pull request #168 from cmelchior/cm/bug/classpath-close
Shigeru Chiba [Mon, 7 May 2018 10:06:13 +0000 (19:06 +0900)]
Merge pull request #168 from cmelchior/cm/bug/classpath-close

[WIP] Fix leaking file handlers

6 years agoJASSIST-271 Allow running on Java 11 by falling back to ClassLoader.defineClass for... 198/head
Christian Beikov [Sun, 29 Apr 2018 14:20:56 +0000 (16:20 +0200)]
JASSIST-271 Allow running on Java 11 by falling back to ClassLoader.defineClass for Java > 10

6 years agofixes a bug reported in issue #155 (Javassist Incorrect Code when wrapping with try...
chibash [Tue, 14 Nov 2017 22:02:05 +0000 (07:02 +0900)]
fixes a bug reported in issue #155 (Javassist Incorrect Code when wrapping with try/catch)

6 years agoadds Modifier#isVarArgs()
chibash [Tue, 14 Nov 2017 19:07:28 +0000 (04:07 +0900)]
adds Modifier#isVarArgs()

6 years agoadds Modifier#isVarArgs()
chibash [Tue, 14 Nov 2017 18:46:02 +0000 (03:46 +0900)]
adds Modifier#isVarArgs()

6 years agochanges getDefinedPackage back to getPackage when Java is < 9.
chibash [Tue, 14 Nov 2017 18:05:05 +0000 (03:05 +0900)]
changes getDefinedPackage back to getPackage when Java is < 9.

6 years agoMerge pull request #159 from nickl-/scoped-pool
Shigeru Chiba [Tue, 14 Nov 2017 15:06:52 +0000 (00:06 +0900)]
Merge pull request #159 from nickl-/scoped-pool

Fixes to javassist.scopepool

6 years agoMerge pull request #158 from nickl-/secure-privileged
Shigeru Chiba [Tue, 14 Nov 2017 15:05:37 +0000 (00:05 +0900)]
Merge pull request #158 from nickl-/secure-privileged

Secure privileged

6 years agoMerge pull request #166 from nickl-/test-ctfield-make-with-this
Shigeru Chiba [Mon, 13 Nov 2017 18:22:25 +0000 (03:22 +0900)]
Merge pull request #166 from nickl-/test-ctfield-make-with-this

Unit Test: CtField.make referencing 'this'.

6 years agoMerge pull request #167 from nickl-/innerclass-modifiers
Shigeru Chiba [Mon, 13 Nov 2017 17:50:41 +0000 (02:50 +0900)]
Merge pull request #167 from nickl-/innerclass-modifiers

Fix for #152 inner class modifiers.