]> source.dussan.org Git - javassist.git/log
javassist.git
20 years agoChanged the implementation of CtClass#toClass() and fixed [Bugs item #993105] Reflect...
chiba [Mon, 26 Jul 2004 08:55:35 +0000 (08:55 +0000)]
Changed the implementation of CtClass#toClass() and fixed [Bugs item #993105] Reflection#makeReflective could reject some reflections

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

20 years agoBugs item #988787 has been fixed.
chiba [Mon, 19 Jul 2004 12:02:27 +0000 (12:02 +0000)]
Bugs item #988787 has been fixed.

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

20 years agoUpdated the tutorial to be more understandable.
chiba [Thu, 15 Jul 2004 13:49:20 +0000 (13:49 +0000)]
Updated the tutorial to be more understandable.

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

20 years agoFixed Bugs item #987038 (opened at 2004-07-08 15:06)
chiba [Thu, 8 Jul 2004 12:24:02 +0000 (12:24 +0000)]
Fixed Bugs item #987038 (opened at 2004-07-08 15:06)

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

20 years agorevised javassist.bytecode.annotation package.
chiba [Fri, 25 Jun 2004 18:42:26 +0000 (18:42 +0000)]
revised javassist.bytecode.annotation package.

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

20 years agoAdded javassist.bytecode.AnnotationsAttribute and support classes.
chiba [Thu, 10 Jun 2004 15:56:45 +0000 (15:56 +0000)]
Added javassist.bytecode.AnnotationsAttribute and support classes.

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

20 years agoChanged subclasses of javassist.expr.Expr so that $_ is always initialized.
chiba [Sat, 5 Jun 2004 16:05:18 +0000 (16:05 +0000)]
Changed subclasses of javassist.expr.Expr so that $_ is always initialized.

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

20 years agoadded Enum support to AnnotationInfo
patriot1burke [Thu, 3 Jun 2004 04:08:53 +0000 (04:08 +0000)]
added Enum support to AnnotationInfo
Updated for JDK 1.5 Beta2 changes
type_index for Annotation is now UTF8 descriptor, same for all other class types

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

20 years agominor and final changes for 3.0 beta
chiba [Tue, 18 May 2004 08:43:47 +0000 (08:43 +0000)]
minor and final changes for 3.0 beta

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

20 years agoadded computeMaxStack() in CodeAttribute.
chiba [Tue, 18 May 2004 03:00:48 +0000 (03:00 +0000)]
added computeMaxStack() in CodeAttribute.

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

20 years agochanged the copyright notice of javassist.bytecode.annotation
chiba [Sat, 15 May 2004 17:59:55 +0000 (17:59 +0000)]
changed the copyright notice of javassist.bytecode.annotation

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

20 years agoCtClass.makeNestedClass() has been added.
chiba [Thu, 13 May 2004 18:46:43 +0000 (18:46 +0000)]
CtClass.makeNestedClass() has been added.

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

20 years agoupdated the tutorial
chiba [Tue, 11 May 2004 02:55:35 +0000 (02:55 +0000)]
updated the tutorial

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

20 years agoupdated the tutorial.
chiba [Tue, 11 May 2004 02:54:41 +0000 (02:54 +0000)]
updated the tutorial.

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

20 years agoUpdated the tutorial
chiba [Tue, 11 May 2004 02:47:05 +0000 (02:47 +0000)]
Updated the tutorial

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

20 years agoNow, the compiler accepts a method that calls
chiba [Sat, 8 May 2004 14:49:33 +0000 (14:49 +0000)]
Now, the compiler accepts a method that calls
a private constructor declared in an enclosing class.

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

20 years agoNow, the compiler accepts a method that accesses
chiba [Wed, 5 May 2004 17:17:45 +0000 (17:17 +0000)]
Now, the compiler accepts a method that accesses
a private field declared in an enclosing class.

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

20 years agoNow, the compiler accepts a method that calls a private method
chiba [Tue, 4 May 2004 17:22:40 +0000 (17:22 +0000)]
Now, the compiler accepts a method that calls a private method
declared in an enclosing class.

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

20 years agoadded CtClass#getDeclaringClass()
chiba [Mon, 3 May 2004 17:38:30 +0000 (17:38 +0000)]
added CtClass#getDeclaringClass()

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

20 years agoadded detach() in CtClass, which is necessary so that some people who
chiba [Tue, 27 Apr 2004 16:01:40 +0000 (16:01 +0000)]
added detach() in CtClass, which is necessary so that some people who
deal with a large number of classes can get better performance.

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

20 years agofixed some annotation bugs and added some integration features
patriot1burke [Sat, 24 Apr 2004 03:16:07 +0000 (03:16 +0000)]
fixed some annotation bugs and added some integration features

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

20 years agoadded an error check.
chiba [Wed, 21 Apr 2004 17:30:13 +0000 (17:30 +0000)]
added an error check.

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

20 years agomodified the API to look good.
chiba [Wed, 21 Apr 2004 17:20:21 +0000 (17:20 +0000)]
modified the API to look good.

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

20 years agoput back callback to ClassPool.writeAsClass. This callback to ClassPool instance
patriot1burke [Tue, 20 Apr 2004 21:50:37 +0000 (21:50 +0000)]
put back callback to ClassPool.writeAsClass.  This callback to ClassPool instance
is required to be able to override how dynamic class creation works

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

20 years agocommitted with bad \r\n
patriot1burke [Tue, 20 Apr 2004 21:07:10 +0000 (21:07 +0000)]
committed with bad \r\n

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

20 years agoperformance tuning.
chiba [Mon, 19 Apr 2004 04:08:36 +0000 (04:08 +0000)]
performance tuning.

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

20 years agoedited for improving runtime performance.
chiba [Sun, 18 Apr 2004 17:32:28 +0000 (17:32 +0000)]
edited for improving runtime performance.

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

20 years agominor changes.
chiba [Sat, 17 Apr 2004 18:06:36 +0000 (18:06 +0000)]
minor changes.

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

20 years agofixed bugs so that sample programs can run.
chiba [Fri, 16 Apr 2004 15:12:45 +0000 (15:12 +0000)]
fixed bugs so that sample programs can run.

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

20 years agoNot needed anymore.
chiba [Wed, 14 Apr 2004 15:52:55 +0000 (15:52 +0000)]
Not needed anymore.

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

20 years agomodified the ClassPool framework.
chiba [Wed, 14 Apr 2004 15:49:55 +0000 (15:49 +0000)]
modified the ClassPool framework.

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

20 years agoget0 should look in cached classes first as code extending ClassPool behavior
patriot1burke [Mon, 12 Apr 2004 20:47:29 +0000 (20:47 +0000)]
get0 should look in cached classes first as code extending ClassPool behavior
may use different mechanism than parent/child.

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

20 years agowrite0 should never delegate to parent. The ClassPool that the CtClass is associated
patriot1burke [Mon, 12 Apr 2004 20:10:44 +0000 (20:10 +0000)]
write0 should never delegate to parent.  The ClassPool that the CtClass is associated
with should always be the pool that loaded the class.

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

20 years agofixed some things that broke JBoss AOP
patriot1burke [Mon, 12 Apr 2004 19:04:55 +0000 (19:04 +0000)]
fixed some things that broke JBoss AOP

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

20 years agoaddTranslator() was still wrong.
chiba [Fri, 9 Apr 2004 15:35:49 +0000 (15:35 +0000)]
addTranslator() was still wrong.

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

20 years agorenamed insertTranslator() in ClassPool to addTranslator() since
chiba [Wed, 7 Apr 2004 07:06:28 +0000 (07:06 +0000)]
renamed insertTranslator() in ClassPool to addTranslator() since
it appends a class path to the tail of the chain.
ClassClassPath has been implemented.

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

20 years agochanged delimiters, etc.
chiba [Mon, 5 Apr 2004 14:49:14 +0000 (14:49 +0000)]
changed delimiters, etc.

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

20 years agochanged line delimiters.
chiba [Mon, 5 Apr 2004 09:57:57 +0000 (09:57 +0000)]
changed line delimiters.

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

20 years agochanged the stuff related to ClassPool.
chiba [Mon, 5 Apr 2004 09:24:26 +0000 (09:24 +0000)]
changed the stuff related to ClassPool.

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

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

21 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