]> source.dussan.org Git - javassist.git/log
javassist.git
20 years agoadded annotation support. Only Enum types not supported when adding
patriot1burke [Sat, 3 Apr 2004 02:11:24 +0000 (02:11 +0000)]
added annotation support.  Only Enum types not supported when adding
annotations.  This will also work on JDK 1.4.  Well, it should.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@75 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agofixed a typo.
chiba [Sun, 14 Mar 2004 17:15:59 +0000 (17:15 +0000)]
fixed a typo.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@74 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agochanged to throw an exception if a duplicate method/field is added.
chiba [Sun, 14 Mar 2004 17:15:16 +0000 (17:15 +0000)]
changed to throw an exception if a duplicate method/field is added.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@73 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agochanged the compiler so that multiple statements do not need to be
chiba [Fri, 12 Mar 2004 14:14:46 +0000 (14:14 +0000)]
changed the compiler so that multiple statements do not need to be
surrouneded by {}.  The compiler implicitly surround the statemetns
by {}.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@72 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agofixed a bug that happens if null is passed to a method.
chiba [Sat, 28 Feb 2004 15:03:46 +0000 (15:03 +0000)]
fixed a bug that happens if null is passed to a method.
This bug was reported by Bill.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@71 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agoupdate javadoc comments.
chiba [Fri, 20 Feb 2004 03:45:41 +0000 (03:45 +0000)]
update javadoc comments.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@70 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agoIf a newly created method does not have a throws clause, an empty
chiba [Sun, 15 Feb 2004 12:40:52 +0000 (12:40 +0000)]
If a newly created method does not have a throws clause, an empty
Exceptions attribute had been added.  This problem has been fixed.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@69 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agolocal variables were made available in the source text passed
chiba [Sun, 11 Jan 2004 17:41:50 +0000 (17:41 +0000)]
local variables were made available in the source text passed
to insertBefore() etc.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@68 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agoupdated the copyright notices.
chiba [Thu, 8 Jan 2004 17:22:29 +0000 (17:22 +0000)]
updated the copyright notices.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@67 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agoadded the description of insertAt() in CtBehavior.
chiba [Wed, 31 Dec 2003 13:22:19 +0000 (13:22 +0000)]
added the description of insertAt() in CtBehavior.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@65 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agofixed a number of javadoc warnings.
chiba [Wed, 31 Dec 2003 06:59:30 +0000 (06:59 +0000)]
fixed a number of javadoc warnings.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@64 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agoCtBehavior#insertAt() and support methods have been implemented.
chiba [Wed, 31 Dec 2003 05:56:29 +0000 (05:56 +0000)]
CtBehavior#insertAt() and support methods have been implemented.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@63 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agofixed a compiler bug.
chiba [Fri, 26 Dec 2003 15:24:21 +0000 (15:24 +0000)]
fixed a compiler bug.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@62 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agochanged the version string.
chiba [Thu, 25 Dec 2003 13:58:53 +0000 (13:58 +0000)]
changed the version string.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@60 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agoImplemented several methods (e.g. CtClass#getURL) to support security
chiba [Thu, 25 Dec 2003 13:52:32 +0000 (13:52 +0000)]
Implemented several methods (e.g. CtClass#getURL) to support security
policies based on code source.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@59 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agoFixed a bug of the token analyzer (double constant).
chiba [Sat, 20 Dec 2003 23:43:39 +0000 (23:43 +0000)]
Fixed a bug of the token analyzer (double constant).
Improved compilation speed.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@58 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agofixed a bug on method lookup.
chiba [Wed, 10 Dec 2003 17:54:18 +0000 (17:54 +0000)]
fixed a bug on method lookup.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@57 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agomade the compiler support inner classes appearing in type names.
chiba [Sun, 7 Dec 2003 17:17:07 +0000 (17:17 +0000)]
made the compiler support inner classes appearing in type names.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@56 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

20 years agoI implemented a type checker for better code generation.
chiba [Thu, 27 Nov 2003 05:33:16 +0000 (05:33 +0000)]
I implemented a type checker for better code generation.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@55 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

21 years agochanged the behavior of CtClassType.setSuperclass().
chiba [Tue, 14 Oct 2003 14:12:47 +0000 (14:12 +0000)]
changed the behavior of CtClassType.setSuperclass().
See javadoc comments.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@54 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

21 years agomade javassist.expr.MethodCall#replace correctly work
chiba [Fri, 10 Oct 2003 06:15:50 +0000 (06:15 +0000)]
made javassist.expr.MethodCall#replace correctly work
with super's method calls.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@53 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

21 years agoenabled the parser to parse switch and synchronized statements.
chiba [Tue, 7 Oct 2003 06:26:21 +0000 (06:26 +0000)]
enabled the parser to parse switch and synchronized statements.
The code generator has not supported them yet.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@52 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

21 years agoadded CtClass.main().
chiba [Mon, 6 Oct 2003 15:20:50 +0000 (15:20 +0000)]
added CtClass.main().

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@50 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

21 years agoimproved the compilation of static method calls.
chiba [Mon, 6 Oct 2003 14:39:17 +0000 (14:39 +0000)]
improved the compilation of static method calls.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@49 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

21 years agoImproved the performance of $proceed when it represents a static method.
chiba [Mon, 6 Oct 2003 10:48:39 +0000 (10:48 +0000)]
Improved the performance of $proceed when it represents a static method.
This change does not make any difference on WindowsXP but on Solaris/SPARC.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@48 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

21 years agoupdated tutorial so that it says the class names passed to the compiler
chiba [Fri, 19 Sep 2003 16:58:46 +0000 (16:58 +0000)]
updated tutorial so that it says the class names passed to the compiler
must be fully-qualified names.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@47 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

21 years agofixed warnings reported by Eclipse.
chiba [Mon, 8 Sep 2003 15:18:09 +0000 (15:18 +0000)]
fixed warnings reported by Eclipse.
added LocalVariableAttribute.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@46 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

21 years agofixed a javadoc comment.
chiba [Fri, 5 Sep 2003 16:53:25 +0000 (16:53 +0000)]
fixed a javadoc comment.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@45 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

21 years agoadded javassist.bytecode.DeprecatedAttribute.
chiba [Fri, 5 Sep 2003 16:40:29 +0000 (16:40 +0000)]
added javassist.bytecode.DeprecatedAttribute.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@44 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

21 years agoupdated documents.
chiba [Thu, 4 Sep 2003 17:18:51 +0000 (17:18 +0000)]
updated documents.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@43 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

21 years agomade ClassPool.SimpleLoader public.
chiba [Thu, 4 Sep 2003 06:49:28 +0000 (06:49 +0000)]
made ClassPool.SimpleLoader public.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@42 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

21 years agoimplemented CtBehavior.setBody with $proceed.
chiba [Tue, 2 Sep 2003 05:23:16 +0000 (05:23 +0000)]
implemented CtBehavior.setBody with $proceed.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@41 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

21 years agoimplemented toString().
chiba [Mon, 1 Sep 2003 09:45:37 +0000 (09:45 +0000)]
implemented toString().

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@40 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

21 years agochanged the version number to 2.7
chiba [Sun, 31 Aug 2003 15:48:36 +0000 (15:48 +0000)]
changed the version number to 2.7

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@39 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

21 years agocorrected to be able to compile an infinite loop. rel_2_6
chiba [Thu, 28 Aug 2003 10:46:36 +0000 (10:46 +0000)]
corrected to be able to compile an infinite loop.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@37 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

21 years agofixed a bug in CtField.
chiba [Sat, 23 Aug 2003 03:54:06 +0000 (03:54 +0000)]
fixed a bug in CtField.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@36 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

21 years agochanged the behavior of CtClassType.setSuperclass().
chiba [Fri, 22 Aug 2003 17:25:14 +0000 (17:25 +0000)]
changed the behavior of CtClassType.setSuperclass().

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@35 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

21 years agomade to produce bytecode that HotSpot 1.3 can compile to be
chiba [Wed, 20 Aug 2003 17:49:39 +0000 (17:49 +0000)]
made to produce bytecode that HotSpot 1.3 can compile to be
efficient native code. (avoiding a bug of HotSpot?)

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@34 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

21 years agofixed a bug in the compiler, which could not compile a try statement
chiba [Sun, 17 Aug 2003 13:59:49 +0000 (13:59 +0000)]
fixed a bug in the compiler, which could not compile a try statement
correctly.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@33 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

21 years agoupdated some javadoc comments.
chiba [Mon, 4 Aug 2003 15:47:33 +0000 (15:47 +0000)]
updated some javadoc comments.
modified Loader so that getPackage() works.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@32 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

21 years agoadded Expr#indexofBytecode.
chiba [Thu, 31 Jul 2003 14:37:52 +0000 (14:37 +0000)]
added Expr#indexofBytecode.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@31 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

21 years agofixed typo in a javadoc comment.
chiba [Fri, 11 Jul 2003 16:17:23 +0000 (16:17 +0000)]
fixed typo in a javadoc comment.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@30 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

21 years agoadded ClassPool#removeCached so that subclasses of ClassPool can do
chiba [Fri, 11 Jul 2003 06:24:57 +0000 (06:24 +0000)]
added ClassPool#removeCached so that subclasses of ClassPool can do
their own caching.   A bug in CtClassType#setName was fixed.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@29 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

21 years agoenforced close() in a finally block.
chiba [Wed, 9 Jul 2003 08:17:32 +0000 (08:17 +0000)]
enforced close() in a finally block.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@28 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

21 years agominor bugs have been fixed.
chiba [Tue, 8 Jul 2003 02:20:59 +0000 (02:20 +0000)]
minor bugs have been fixed.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@27 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

21 years agoadded comments for 2.5.1 rel_2_5_1
patriot1burke [Sat, 24 May 2003 19:48:05 +0000 (19:48 +0000)]
added comments for 2.5.1

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@25 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

21 years agofixed the version number.
chiba [Sat, 24 May 2003 01:36:38 +0000 (01:36 +0000)]
fixed the version number.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@24 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

21 years ago- Made ClassPool.get0 protected so that subclasses of ClassPool can call it
patriot1burke [Fri, 23 May 2003 23:18:39 +0000 (23:18 +0000)]
- Made ClassPool.get0 protected so that subclasses of ClassPool can call it

- Moved all access to the class cache in ClassPool (ClassPool.classes) to a method called getCached(String classname).  This is so subclasses of ClassPool can override this behavior.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@22 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

21 years agochanged CtBehavior.setBody() so that setBody(null) produces a body
chiba [Mon, 19 May 2003 05:57:40 +0000 (05:57 +0000)]
changed CtBehavior.setBody() so that setBody(null) produces a body
including nothing but a return statement.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@20 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

21 years agofixed a bug in CtBehavior#setBody().
chiba [Sun, 18 May 2003 15:34:30 +0000 (15:34 +0000)]
fixed a bug in CtBehavior#setBody().

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@19 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

21 years agofixed a simple bug. MethodCall#isSuper() was not public.
chiba [Sat, 17 May 2003 02:21:42 +0000 (02:21 +0000)]
fixed a simple bug.  MethodCall#isSuper() was not public.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@18 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

21 years agoadded isSuper() in MethodCall.
chiba [Fri, 16 May 2003 17:31:38 +0000 (17:31 +0000)]
added isSuper() in MethodCall.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@17 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

21 years agomodified the semantics of ($r).
chiba [Fri, 16 May 2003 17:07:03 +0000 (17:07 +0000)]
modified the semantics of ($r).

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@16 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

21 years agofixed a bug in makeClassInitializer() in CtClassType.
chiba [Wed, 14 May 2003 16:47:17 +0000 (16:47 +0000)]
fixed a bug in makeClassInitializer() in CtClassType.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@15 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

21 years agofixed several compiler bugs and updated the tutorial.
chiba [Wed, 14 May 2003 16:20:13 +0000 (16:20 +0000)]
fixed several compiler bugs and updated the tutorial.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@14 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

21 years agofixed an array-access bug.
chiba [Wed, 30 Apr 2003 11:48:42 +0000 (11:48 +0000)]
fixed an array-access bug.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@13 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

21 years agochanged the license.
chiba [Wed, 30 Apr 2003 08:28:02 +0000 (08:28 +0000)]
changed the license.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@12 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

21 years agoimproved a javadoc comment.
chiba [Fri, 25 Apr 2003 14:17:16 +0000 (14:17 +0000)]
improved a javadoc comment.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@11 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

21 years agonew files for version 2.5.
chiba [Wed, 23 Apr 2003 17:13:13 +0000 (17:13 +0000)]
new files for version 2.5.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@10 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

21 years agoChanged the copyright notices and removed tab characters.
chiba [Wed, 23 Apr 2003 17:08:37 +0000 (17:08 +0000)]
Changed the copyright notices and removed tab characters.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@9 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

21 years agochanged licensing
patriot1burke [Tue, 22 Apr 2003 14:08:16 +0000 (14:08 +0000)]
changed licensing

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@8 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

21 years agoThis commit was generated by cvs2svn to compensate for changes in r2, which
patriot1burke [Tue, 22 Apr 2003 13:47:06 +0000 (13:47 +0000)]
This commit was generated by cvs2svn to compensate for changes in r2, which
included commits to RCS files with non-trunk default branches.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@6 30ef5769-5b8d-40dd-aea6-55b5d6557bb3

21 years agoStandard project directories initialized by cvs2svn.
ggillies@redhat.com [Tue, 22 Apr 2003 13:47:06 +0000 (13:47 +0000)]
Standard project directories initialized by cvs2svn.

git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@4 30ef5769-5b8d-40dd-aea6-55b5d6557bb3