]> source.dussan.org Git - javassist.git/log
javassist.git
7 years agomodifies CtClass#setModifiers() to correctly support inner classes.
chibash [Thu, 1 Jun 2017 13:46:39 +0000 (22:46 +0900)]
modifies CtClass#setModifiers() to correctly support inner classes.

7 years agodelete testHotswap() because java 9 does not seem to allow a java agent to be attache...
chibash [Wed, 31 May 2017 08:44:26 +0000 (17:44 +0900)]
delete testHotswap() because java 9 does not seem to allow a java agent to be attached after the JVM starts

7 years agoto support Java 9-ea+171
chibash [Tue, 30 May 2017 16:52:09 +0000 (01:52 +0900)]
to support Java 9-ea+171

7 years agomodifies the version number rel_3_22_0_cr2
chibash [Sun, 16 Apr 2017 15:28:27 +0000 (00:28 +0900)]
modifies the version number

7 years agoadds javassist.util.HotSwapAgent
chibash [Sun, 16 Apr 2017 14:42:05 +0000 (23:42 +0900)]
adds javassist.util.HotSwapAgent

7 years agoadds javassist.util.proxy.ProxyFactory#onlyPublicMethods. If true, Javassist uses...
chibash [Sat, 15 Apr 2017 14:57:23 +0000 (23:57 +0900)]
adds javassist.util.proxy.ProxyFactory#onlyPublicMethods.  If true, Javassist uses java.lang.invoke.MethodHandles.Lookup to load a class.

7 years agoMerge pull request #130 from andresluuk/patch-1
Shigeru Chiba [Wed, 12 Apr 2017 18:50:48 +0000 (03:50 +0900)]
Merge pull request #130 from andresluuk/patch-1

A fix for older JDK8 versions: https://bugs.openjdk.java.net/browse/JDK-8041920

7 years agomodifies to use sun.misc.Unsafe#defineClass so that Javassist can run with jigsaw
chibash [Wed, 12 Apr 2017 18:45:51 +0000 (03:45 +0900)]
modifies to use sun.misc.Unsafe#defineClass so that Javassist can run with jigsaw

7 years agoUpdate ClassFile.java 130/head
Andres Luuk [Mon, 10 Apr 2017 14:18:07 +0000 (17:18 +0300)]
Update ClassFile.java

A fix for older JDK8 versions: https://bugs.openjdk.java.net/browse/JDK-8041920
This caused random failures a little time after startup. Reported now so that when we upgrade javassist for JDK9 then we would not have to fork this class.

7 years agoupdates the test code to run on Java 9 EA+149.
chibash [Tue, 20 Dec 2016 09:07:11 +0000 (18:07 +0900)]
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.

7 years agoremoves javassist.ModuleClassPath.
chibash [Fri, 16 Dec 2016 14:22:18 +0000 (23:22 +0900)]
removes javassist.ModuleClassPath.
See #ClassFilesAsResources in JSR 376.  We don't need to hack the module system to read a class file in java.lang.

http://openjdk.java.net/projects/jigsaw/spec/issues/

8 years agoimplements better annotation handling since Javassist may fail to
chibash [Thu, 13 Oct 2016 17:40:06 +0000 (02:40 +0900)]
implements better annotation handling since Javassist may fail to
create a proxy object due to access controls by jigsaw.

8 years agoupdates Readme.html.
chibash [Tue, 4 Oct 2016 23:47:11 +0000 (08:47 +0900)]
updates Readme.html.

8 years agorelease 3.22.0-CR1 rel_3_22_0_cr1
chibash [Tue, 4 Oct 2016 16:02:21 +0000 (01:02 +0900)]
release 3.22.0-CR1

8 years agoMerge branch 'test/java9-jigsaw'
chibash [Tue, 4 Oct 2016 15:51:28 +0000 (00:51 +0900)]
Merge branch 'test/java9-jigsaw'

8 years agomodifies javadoc typos.
chibash [Tue, 4 Oct 2016 10:42:53 +0000 (19:42 +0900)]
modifies javadoc typos.

8 years agofixes typos in javadoc comments rel_3_21_0_ga
chibash [Mon, 3 Oct 2016 15:44:29 +0000 (00:44 +0900)]
fixes typos in javadoc comments

8 years agoupdates files for release 3.21.0-GA
chibash [Sun, 2 Oct 2016 16:10:04 +0000 (01:10 +0900)]
updates files for release 3.21.0-GA

8 years agoMerge branch 'master' into test/java9-jigsaw test/java9-jigsaw
chibash [Thu, 29 Sep 2016 11:43:05 +0000 (20:43 +0900)]
Merge branch 'master' into test/java9-jigsaw

8 years agoimproves the backward compatibility of LoaderClassPath. rel_3_21_0-java9-ea2
chibash [Tue, 27 Sep 2016 15:51:15 +0000 (00:51 +0900)]
improves the backward compatibility of LoaderClassPath.
LoaderClassPath is modified to show the same behavior in both Java 8 and 9.

8 years agoenables removal of attributes 108/head
chibash [Sun, 18 Sep 2016 14:49:43 +0000 (23:49 +0900)]
enables removal of attributes

8 years agoMerge pull request #100 from oreissig/remove-annotation
Shigeru Chiba [Sun, 18 Sep 2016 13:45:41 +0000 (22:45 +0900)]
Merge pull request #100 from oreissig/remove-annotation

removal of annotations

8 years agoMerge pull request #98 from PeterFeicht/master
Shigeru Chiba [Sat, 17 Sep 2016 17:41:12 +0000 (02:41 +0900)]
Merge pull request #98 from PeterFeicht/master

Fix NullPointerException in ControlFlow constructor

8 years agoallows adding a default method to an interface type.
chibash [Sat, 17 Sep 2016 17:32:31 +0000 (02:32 +0900)]
allows adding a default method to an interface type.

8 years agoimplement removal of annotations 100/head
oreissig [Sat, 20 Aug 2016 12:46:14 +0000 (14:46 +0200)]
implement removal of annotations

8 years agoFix NullPointerException in ControlFlow constructor. 98/head
Peter Feichtinger [Thu, 11 Aug 2016 10:52:29 +0000 (12:52 +0200)]
Fix NullPointerException in ControlFlow constructor.

An NPE would be thrown by the constructor when called with a method
without code.
Also clarify the documentation of a few methods.

8 years agofixes a bug in ClassClassPath. It was reported in Issue #97.
chibash [Wed, 3 Aug 2016 16:45:57 +0000 (01:45 +0900)]
fixes a bug in ClassClassPath.  It was reported in Issue #97.

8 years agoadds javassist.jar because the unit tests fail without it.
chibash [Tue, 2 Aug 2016 03:18:08 +0000 (12:18 +0900)]
adds javassist.jar because the unit tests fail without it.

8 years agoupdates pom.xml for building on Java 9.
chibash [Tue, 2 Aug 2016 03:11:14 +0000 (12:11 +0900)]
updates pom.xml for building on Java 9.

8 years agofixes calls to a deprecated method in Java 9. rel_3_21_0-java9-ea
chibash [Mon, 1 Aug 2016 16:36:45 +0000 (01:36 +0900)]
fixes calls to a deprecated method in Java 9.

8 years agomodifies a test case. Now all the test cases run successfully with Java 9 EA.
chibash [Sun, 31 Jul 2016 16:40:51 +0000 (01:40 +0900)]
modifies a test case.  Now all the test cases run successfully with Java 9 EA.

8 years agoMerge pull request #96 from jboss-javassist/master
Shigeru Chiba [Sun, 31 Jul 2016 03:24:55 +0000 (12:24 +0900)]
Merge pull request #96 from jboss-javassist/master

bug fixes from master

8 years agomodifies addInvokestatic() in Bytecode to support a static method declared in an... 96/head
chibash [Sun, 31 Jul 2016 03:20:22 +0000 (12:20 +0900)]
modifies addInvokestatic() in Bytecode to support a static method declared in an interface type.

8 years agomodifies runtest in build.xml
chibash [Sun, 31 Jul 2016 03:18:59 +0000 (12:18 +0900)]
modifies runtest in build.xml

8 years agoMerge branch 'test/java9-jigsaw' of github.com:jboss-javassist/javassist into test...
chibash [Sun, 31 Jul 2016 02:09:13 +0000 (11:09 +0900)]
Merge branch 'test/java9-jigsaw' of github.com:jboss-javassist/javassist into test/java9-jigsaw

8 years agoadds ModuleClassPath.java
chibash [Sun, 31 Jul 2016 02:03:51 +0000 (11:03 +0900)]
adds ModuleClassPath.java

8 years agoMerge branch 'master' of github.com:jboss-javassist/javassist into test/java9-jigsaw
chibash [Sat, 30 Jul 2016 14:06:05 +0000 (23:06 +0900)]
Merge branch 'master' of github.com:jboss-javassist/javassist into test/java9-jigsaw

8 years agoMerge pull request #95 from jboss-javassist/master
Shigeru Chiba [Sat, 30 Jul 2016 14:04:07 +0000 (23:04 +0900)]
Merge pull request #95 from jboss-javassist/master

merges bug fixes

8 years agoremoves redundant whitespaces 95/head
chibash [Sat, 30 Jul 2016 12:28:39 +0000 (21:28 +0900)]
removes redundant whitespaces

8 years agofixes a bug of ProxyFactory. It could not deal with default methods declared in...
chibash [Sat, 30 Jul 2016 09:47:59 +0000 (18:47 +0900)]
fixes a bug of ProxyFactory.  It could not deal with default methods declared in an interface. https://github.com/jboss-javassist/javassist/issues/45

8 years agofixes a bug of ProxyFactory. It could not deal with default methods declared in...
chibash [Sat, 30 Jul 2016 09:47:59 +0000 (18:47 +0900)]
fixes a bug of ProxyFactory.  It could not deal with default methods declared in an interface.

8 years agoupdates the version number.
chibash [Sat, 30 Jul 2016 07:24:30 +0000 (16:24 +0900)]
updates the version number.

8 years agofixes a bug of stackmap generation. The bug was reported here: https://github.com...
chibash [Sat, 30 Jul 2016 07:22:59 +0000 (16:22 +0900)]
fixes a bug of stackmap generation. The bug was reported here: https://github.com/jboss-javassist/javassist/issues/83

8 years agoMerge pull request #88 from jboss-javassist/master
Shigeru Chiba [Thu, 14 Jul 2016 14:49:43 +0000 (23:49 +0900)]
Merge pull request #88 from jboss-javassist/master

fixes many compatibility problems with older Java (i.e. 1.4)

8 years agofixes many compatibility problems with older Java (i.e. 1.4) 88/head
chibash [Thu, 14 Jul 2016 14:36:15 +0000 (23:36 +0900)]
fixes many compatibility problems with older Java (i.e. 1.4)

8 years agomodifies ClassPool so that it can read most class files.
chibash [Thu, 14 Jul 2016 10:53:29 +0000 (19:53 +0900)]
modifies ClassPool so that it can read most class files.

8 years agoadds ClassFile.JAVA_9
chibash [Thu, 14 Jul 2016 03:56:05 +0000 (12:56 +0900)]
adds ClassFile.JAVA_9

8 years agomodifies test code.
chibash [Sun, 12 Jun 2016 00:52:40 +0000 (09:52 +0900)]
modifies test code.

8 years agomodifies test code
chibash [Sun, 12 Jun 2016 00:47:15 +0000 (09:47 +0900)]
modifies test code

8 years agoupdates javassist.jar
chibash [Sun, 12 Jun 2016 00:46:43 +0000 (09:46 +0900)]
updates javassist.jar

8 years agoupdates javadoc
chibash [Thu, 9 Jun 2016 10:19:20 +0000 (19:19 +0900)]
updates javadoc

8 years agomodifies javadoc.
chibash [Tue, 17 May 2016 16:18:20 +0000 (01:18 +0900)]
modifies javadoc.

8 years agofixes a bug JIRA JASSIST-262
chibash [Wed, 27 Apr 2016 14:07:26 +0000 (23:07 +0900)]
fixes a bug JIRA JASSIST-262

8 years agofixes JIRA JASSIST-250
chibash [Tue, 23 Feb 2016 16:57:05 +0000 (01:57 +0900)]
fixes JIRA JASSIST-250

8 years agomodifies the implementation of that invokes an interface default method
chibash [Tue, 23 Feb 2016 10:22:13 +0000 (19:22 +0900)]
modifies the implementation of  that invokes an interface default method

8 years agofixes a bug of test5.JvstTest5.testInvalidCastWithDollar
chibash [Tue, 23 Feb 2016 09:54:20 +0000 (18:54 +0900)]
fixes a bug of test5.JvstTest5.testInvalidCastWithDollar

8 years agoupdates javassist.util.proxy to support a default interface method in Java 8
chibash [Sun, 21 Feb 2016 17:05:06 +0000 (02:05 +0900)]
updates javassist.util.proxy to support a default interface method in Java 8

8 years agofixes a deadlock in getDeclaredMethods (Issue #69)
chibash [Fri, 12 Feb 2016 01:02:47 +0000 (10:02 +0900)]
fixes a deadlock in getDeclaredMethods (Issue #69)

8 years agofixes JASSIST-256, adding an annotation to a class doesn't work on reflection
chibash [Thu, 11 Feb 2016 16:56:34 +0000 (01:56 +0900)]
fixes JASSIST-256, adding an annotation to a class doesn't work on reflection

8 years agofixes a concurrency bug in ProxyFactory (JASSIST-259)
chibash [Thu, 11 Feb 2016 15:10:20 +0000 (00:10 +0900)]
fixes a concurrency bug in ProxyFactory (JASSIST-259)

8 years agorebuilds javassist.jar by Java 6 compiler
chibash [Tue, 12 Jan 2016 14:47:06 +0000 (23:47 +0900)]
rebuilds javassist.jar by Java 6 compiler

8 years agoupdates Readme.html to record the fix of JASSIST-245 64/head
chibash [Mon, 7 Dec 2015 15:28:29 +0000 (00:28 +0900)]
updates Readme.html to record the fix of JASSIST-245

8 years agoMerge pull request #54 from wuwen5/compiler-Argument
Shigeru Chiba [Mon, 7 Dec 2015 15:20:42 +0000 (00:20 +0900)]
Merge pull request #54 from wuwen5/compiler-Argument

fixes JAVASSIST-245
<source> and <target> is 1.6, but <compilerArgument> "-parameters" in1.8

8 years agofixes JASSIST-255 Primitive array return values cause invalid cast to Object
chibash [Mon, 7 Dec 2015 15:10:58 +0000 (00:10 +0900)]
fixes JASSIST-255 Primitive array return values cause invalid cast to Object

8 years agoupdates the tutorial
chibash [Thu, 3 Dec 2015 03:23:33 +0000 (12:23 +0900)]
updates the tutorial

9 years agoupdates javadoc comments. 3.20
chibash [Wed, 7 Oct 2015 07:35:52 +0000 (16:35 +0900)]
updates javadoc comments.

9 years agomodifies a test case for JIRA JASSIST-248.
chibash [Fri, 25 Sep 2015 06:32:41 +0000 (15:32 +0900)]
modifies a test case for JIRA JASSIST-248.

9 years agofixes JIRA JASSIST-248.
chibash [Fri, 25 Sep 2015 06:08:57 +0000 (15:08 +0900)]
fixes JIRA JASSIST-248.
Javassist cannot compile super.m() if m is a default method
declared in an interface.

9 years agoadds a test case for JIRA JASSIST-248
chibash [Thu, 24 Sep 2015 15:26:43 +0000 (00:26 +0900)]
adds a test case for JIRA JASSIST-248

9 years agofixed minor problems in javadoc etc.
chibash [Tue, 11 Aug 2015 22:07:26 +0000 (07:07 +0900)]
fixed minor problems in javadoc etc.

9 years agoMerge pull request #57 from kuzukami/hasAnnotation_By_String
Shigeru Chiba [Tue, 11 Aug 2015 14:51:10 +0000 (23:51 +0900)]
Merge pull request #57 from kuzukami/hasAnnotation_By_String

hasAnnotation(String clazzName) method as well as hasAnnotation(Class)
Pull request #57

9 years agoappend an new API of hasAnnotation(String annotClsName) 57/head
kuzukami.sh [Mon, 13 Jul 2015 07:55:01 +0000 (16:55 +0900)]
append an new API of hasAnnotation(String annotClsName)

9 years agorebuilt javassist.jar
chibash [Thu, 6 Aug 2015 15:53:44 +0000 (00:53 +0900)]
rebuilt javassist.jar

9 years agofixed JASSIST-244
chibash [Thu, 6 Aug 2015 15:48:03 +0000 (00:48 +0900)]
fixed JASSIST-244

9 years ago<source> and <target> is 1.6, but <compilerArgument> "-parameters" in 1.8 version. 54/head
文武 [Fri, 31 Jul 2015 16:19:24 +0000 (00:19 +0800)]
<source> and <target> is 1.6, but <compilerArgument> "-parameters" in 1.8 version.

9 years agoMerge pull request #53 from KyongSik-Yoon/patch-3
Shigeru Chiba [Fri, 31 Jul 2015 11:12:19 +0000 (20:12 +0900)]
Merge pull request #53 from KyongSik-Yoon/patch-3

Generic is not supported by JDK under 1.5 version.

9 years agoGeneric is not supported by JDK under 1.5 version. 53/head
KyongSik-Yoon [Fri, 31 Jul 2015 06:36:33 +0000 (15:36 +0900)]
Generic is not supported by JDK under 1.5 version.

9 years agoadded InnerClassAttribute#remove method
chibash [Tue, 21 Jul 2015 17:30:54 +0000 (02:30 +0900)]
added InnerClassAttribute#remove method

9 years agofixed JIRA JASSIST-249
chibash [Wed, 15 Jul 2015 06:45:22 +0000 (15:45 +0900)]
fixed JIRA JASSIST-249

9 years agoMerge pull request #36 from mkordas/update_maven_source_plugin
Shigeru Chiba [Sat, 11 Jul 2015 15:08:17 +0000 (00:08 +0900)]
Merge pull request #36 from mkordas/update_maven_source_plugin

Update maven-source-plugin to 2.0.4

9 years agoMerge pull request #35 from mkordas/update_org_apache_felix_maven_bundle_plugin
Shigeru Chiba [Sat, 11 Jul 2015 15:07:11 +0000 (00:07 +0900)]
Merge pull request #35 from mkordas/update_org_apache_felix_maven_bundle_plugin

Update org.apache.felix:maven-bundle-plugin to 2.5.3

9 years agofinal updates for 3.20.0-GA release rel_3_20_0_ga
chibash [Wed, 24 Jun 2015 15:28:31 +0000 (00:28 +0900)]
final updates for 3.20.0-GA release

9 years agofixed JASSIST-242. VerifyError: Inconsistent args count operand in invokeinterface...
chibash [Thu, 28 May 2015 00:44:53 +0000 (09:44 +0900)]
fixed JASSIST-242. VerifyError: Inconsistent args count operand in invokeinterface when boolean parameter function with inheritance

9 years agofixed JASSIST-242
chibash [Thu, 28 May 2015 00:41:41 +0000 (09:41 +0900)]
fixed JASSIST-242

9 years agomade SerialVersionUID.calculateDefault() public. Issue #30
chibash [Wed, 27 May 2015 14:40:10 +0000 (23:40 +0900)]
made SerialVersionUID.calculateDefault() public.  Issue #30

9 years agoupdated the copyright notices to be the triple license of MPL/LGPL/AL
chibash [Tue, 26 May 2015 11:17:10 +0000 (20:17 +0900)]
updated the copyright notices to be the triple license of MPL/LGPL/AL

9 years agoAdded URL www.javassist.org
Shigeru Chiba [Sun, 24 May 2015 18:07:45 +0000 (03:07 +0900)]
Added URL www.javassist.org

9 years agoupdated Readme.html to mention JASSIST-246 was fixed.
chibash [Sun, 24 May 2015 18:02:35 +0000 (03:02 +0900)]
updated Readme.html to mention JASSIST-246 was fixed.

9 years agofixed a bug reported as JASSIST-246
chibash [Sun, 24 May 2015 17:37:05 +0000 (02:37 +0900)]
fixed a bug reported as JASSIST-246

9 years agoUpdate maven-source-plugin to 2.0.4 36/head
Michal Kordas [Sun, 29 Mar 2015 13:04:52 +0000 (15:04 +0200)]
Update maven-source-plugin to 2.0.4

9 years agoUpdate org.apache.felix:maven-bundle-plugin to 2.5.3 35/head
Michal Kordas [Sun, 29 Mar 2015 13:04:16 +0000 (15:04 +0200)]
Update org.apache.felix:maven-bundle-plugin to 2.5.3

9 years agoMerge pull request #26 from m8rten/master
Shigeru Chiba [Mon, 16 Mar 2015 12:49:16 +0000 (21:49 +0900)]
Merge pull request #26 from m8rten/master

Added call back feature to CtBehaviour

9 years agoAdded copyright info 26/head
Mårten Hedborg [Mon, 16 Mar 2015 10:45:40 +0000 (11:45 +0100)]
Added copyright info

9 years agoBetter javadoc for Callback class
marten.hedborg [Sun, 15 Mar 2015 19:05:44 +0000 (20:05 +0100)]
Better javadoc for Callback class

9 years agoChanged Callback so that CtBehaviour is independet of Callback. Added testcase
marten.hedborg [Sun, 15 Mar 2015 17:37:30 +0000 (18:37 +0100)]
Changed Callback so that CtBehaviour is independet of Callback. Added testcase

9 years agoMerge pull request #34 from mkordas/manifest
Shigeru Chiba [Sun, 15 Mar 2015 02:21:01 +0000 (11:21 +0900)]
Merge pull request #34 from mkordas/manifest

Replace JAR manifest template with generated one

9 years agoReplace JAR manifest template with generated one 34/head
Michal Kordas [Sat, 14 Mar 2015 19:29:36 +0000 (20:29 +0100)]
Replace JAR manifest template with generated one

9 years agoMerge pull request #33 from mkordas/fix_warning
Shigeru Chiba [Sat, 14 Mar 2015 15:31:25 +0000 (00:31 +0900)]
Merge pull request #33 from mkordas/fix_warning

Update maven-jar-plugin and maven-compiler-plugin to fix warning

9 years agoUpdate maven-jar-plugin and maven-compiler-plugin to fix warning 33/head
Michal Kordas [Sat, 14 Mar 2015 13:33:09 +0000 (14:33 +0100)]
Update maven-jar-plugin and maven-compiler-plugin to fix warning

The following warning when invoking `mvn versions:display-plugin-updates` does not appear anymore:
```
[WARNING] Some problems were encountered while building the effective model for org.javassist:javassist:bundle:3.19.0-GA
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 137, column 15
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ line 160, column 15
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
```

9 years agoMerge pull request #32 from mkordas/update_surefire
Shigeru Chiba [Sat, 14 Mar 2015 03:08:36 +0000 (12:08 +0900)]
Merge pull request #32 from mkordas/update_surefire

Update maven-surefire-plugin to 2.18.1