]> source.dussan.org Git - javassist.git/log
javassist.git
18 years agomade a proxy class serializable (JASSIST-20).
chiba [Sun, 5 Nov 2006 23:16:35 +0000 (23:16 +0000)]
made a proxy class serializable (JASSIST-20).

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

18 years agoslightly changed the caching policy used by ProxyFactory
chiba [Thu, 2 Nov 2006 14:30:22 +0000 (14:30 +0000)]
slightly changed the caching policy used by ProxyFactory

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

18 years agoJIRA JASSIST-28 (including a performance bug) has been fixed.
chiba [Thu, 2 Nov 2006 06:01:24 +0000 (06:01 +0000)]
JIRA JASSIST-28 (including a performance bug) has been fixed.

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

18 years agofixed JIRA JASSIST-28?
chiba [Wed, 1 Nov 2006 02:45:05 +0000 (02:45 +0000)]
fixed JIRA JASSIST-28?

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

18 years agoStackMapTable support (not complete)
chiba [Sun, 29 Oct 2006 23:33:15 +0000 (23:33 +0000)]
StackMapTable support (not complete)

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

18 years agofixed JIRA JASSIST-27 CodeGen.getArrayWriteOp returns a invalid operation for a array...
chiba [Mon, 23 Oct 2006 03:53:06 +0000 (03:53 +0000)]
fixed JIRA JASSIST-27 CodeGen.getArrayWriteOp returns a invalid operation for a array of type short

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

18 years agofixed a bug in CodeConverter#replaceFieldRead/Write() on field shadowing
chiba [Thu, 5 Oct 2006 15:43:49 +0000 (15:43 +0000)]
fixed a bug in CodeConverter#replaceFieldRead/Write() on field shadowing

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

18 years agoupdated CtConstructor#isEmpty().
chiba [Fri, 1 Sep 2006 03:04:43 +0000 (03:04 +0000)]
updated CtConstructor#isEmpty().

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

18 years agomade ProxyFactory.getClassLoader() customizable.
chiba [Thu, 31 Aug 2006 18:46:24 +0000 (18:46 +0000)]
made ProxyFactory.getClassLoader() customizable.

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

18 years agoa nested ClassMap.
chiba [Wed, 30 Aug 2006 16:25:25 +0000 (16:25 +0000)]
a nested ClassMap.

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

18 years agominor bug fixes
chiba [Tue, 29 Aug 2006 08:39:32 +0000 (08:39 +0000)]
minor bug fixes

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

18 years agoextended CodeConverter.
chiba [Fri, 25 Aug 2006 18:41:32 +0000 (18:41 +0000)]
extended CodeConverter.

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

18 years agogetClassLoader0() should not throw an exception
kkhan [Thu, 17 Aug 2006 13:18:11 +0000 (13:18 +0000)]
getClassLoader0() should not throw an exception

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

18 years agofor release 3.3 (again) rel_3_3_GA
chiba [Wed, 16 Aug 2006 16:15:44 +0000 (16:15 +0000)]
for release 3.3 (again)

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

18 years agoMake getClassLoader0() protected
kkhan [Wed, 16 Aug 2006 15:59:34 +0000 (15:59 +0000)]
Make getClassLoader0() protected

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

18 years agofor 3.3 release
chiba [Wed, 16 Aug 2006 15:47:17 +0000 (15:47 +0000)]
for 3.3 release

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

18 years agoClass.gerDeclaredMethod() needs to happen in a privileged block
kkhan [Wed, 16 Aug 2006 10:38:17 +0000 (10:38 +0000)]
Class.gerDeclaredMethod() needs to happen in a privileged block

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

18 years agodeprecated ClassPool#toClass(CtClass,ClassLoader).
chiba [Mon, 14 Aug 2006 14:48:47 +0000 (14:48 +0000)]
deprecated ClassPool#toClass(CtClass,ClassLoader).

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

18 years agofixed a bug in write() in Annotation and ClassMemberValue
chiba [Sun, 13 Aug 2006 16:49:43 +0000 (16:49 +0000)]
fixed a bug in write() in Annotation and ClassMemberValue

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

18 years agoadded a getter.
chiba [Sat, 12 Aug 2006 06:01:59 +0000 (06:01 +0000)]
added a getter.

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

18 years agochanged new CtField(CtField,..) to copy annotations.
chiba [Fri, 11 Aug 2006 04:22:50 +0000 (04:22 +0000)]
changed new CtField(CtField,..) to copy annotations.

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

18 years agoupdated javadoc comments
chiba [Tue, 8 Aug 2006 10:28:48 +0000 (10:28 +0000)]
updated javadoc comments

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

18 years agofixed the bug reported as JASSIST-23.
chiba [Mon, 7 Aug 2006 15:48:31 +0000 (15:48 +0000)]
fixed the bug reported as JASSIST-23.

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

18 years agofixed JIRA JASSIST-25
chiba [Sun, 6 Aug 2006 15:09:45 +0000 (15:09 +0000)]
fixed JIRA JASSIST-25

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

18 years agoprepare 3.3 release
chiba [Sun, 6 Aug 2006 06:32:45 +0000 (06:32 +0000)]
prepare 3.3 release

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

18 years agoa correct fix of HIBERNATE-37 (ProxyFactory could not handle a bridge method). Pleas...
chiba [Tue, 18 Jul 2006 17:51:04 +0000 (17:51 +0000)]
a correct fix of HIBERNATE-37 (ProxyFactory could not handle a bridge method).  Please check other JBoss products using Javassist.

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

18 years agoreformatted.
chiba [Tue, 18 Jul 2006 15:33:14 +0000 (15:33 +0000)]
reformatted.

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

18 years agoreformatted.
chiba [Tue, 18 Jul 2006 14:59:22 +0000 (14:59 +0000)]
reformatted.

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

18 years agoupdated since javassist.scopedpool was added.
chiba [Tue, 18 Jul 2006 14:47:07 +0000 (14:47 +0000)]
updated since javassist.scopedpool was added.

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

18 years agoreformatted.
chiba [Tue, 18 Jul 2006 14:46:25 +0000 (14:46 +0000)]
reformatted.

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

18 years agoHandle Annotation.annotationType() calls
kkhan [Tue, 18 Jul 2006 09:35:36 +0000 (09:35 +0000)]
Handle Annotation.annotationType() calls

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

18 years agoreformatted.
chiba [Tue, 18 Jul 2006 01:02:11 +0000 (01:02 +0000)]
reformatted.

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

18 years agoAdd getAvailableAnnotations() to CtMemeber
kkhan [Mon, 17 Jul 2006 17:43:27 +0000 (17:43 +0000)]
Add getAvailableAnnotations() to CtMemeber

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

18 years agoadd getAvailableAnnotations() methods to CtClass, CtBehaviour and CtField. These...
kkhan [Mon, 17 Jul 2006 16:48:29 +0000 (16:48 +0000)]
add getAvailableAnnotations() methods to CtClass, CtBehaviour and CtField. These work the same as getAnnotations() but instead of throwing a ClassNotFoundException, annotations not on the classpath are not returned.

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

18 years agoSnapshot version should be just "snapshot"
kkhan [Fri, 14 Jul 2006 11:49:02 +0000 (11:49 +0000)]
Snapshot version should be just "snapshot"

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

18 years agoMove handling of primitive class value from MemberValue to ClassMemberValue
kkhan [Fri, 14 Jul 2006 10:04:35 +0000 (10:04 +0000)]
Move handling of primitive class value from MemberValue to ClassMemberValue

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

18 years agoBe able to handle Class annotation attributes like void.class, int.class etc.
kkhan [Thu, 13 Jul 2006 19:19:36 +0000 (19:19 +0000)]
Be able to handle Class annotation attributes like void.class, int.class etc.

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

18 years agoUpdate copyright notice
kkhan [Thu, 13 Jul 2006 10:04:51 +0000 (10:04 +0000)]
Update copyright notice

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

18 years agoMove scoped classpool repository from jboss retro into javassist to have a common...
kkhan [Thu, 13 Jul 2006 09:43:16 +0000 (09:43 +0000)]
Move scoped classpool repository from jboss retro into javassist to have a common place for users like aop and jboss retro

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

18 years agoDo not proxy volatile methods
kkhan [Wed, 12 Jul 2006 16:19:30 +0000 (16:19 +0000)]
Do not proxy volatile methods

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

18 years agoGet rid of reference to local/src
kkhan [Mon, 10 Jul 2006 20:08:19 +0000 (20:08 +0000)]
Get rid of reference to local/src

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

18 years agoupdated javadoc comments.
chiba [Sat, 1 Jul 2006 02:20:49 +0000 (02:20 +0000)]
updated javadoc comments.

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

18 years agoupdated javadoc comments.
chiba [Sat, 1 Jul 2006 02:13:08 +0000 (02:13 +0000)]
updated javadoc comments.

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

18 years agorelease 3.2 rel_3_2
chiba [Tue, 20 Jun 2006 17:18:06 +0000 (17:18 +0000)]
release 3.2

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

18 years agomodified to generate a better comiple error message.
chiba [Tue, 13 Jun 2006 02:33:13 +0000 (02:33 +0000)]
modified to generate a better comiple error message.

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

18 years agomodified javadocs.
chiba [Mon, 12 Jun 2006 18:43:54 +0000 (18:43 +0000)]
modified javadocs.

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

18 years agoJBBUILD-319, Add redirects for the new java.io.StringWriter append methods
starksm [Sun, 11 Jun 2006 06:37:37 +0000 (06:37 +0000)]
JBBUILD-319, Add redirects for the new java.io.StringWriter append methods

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

18 years agoAdd methods to determine if a CtClass is an annotation or an enum
kkhan [Thu, 8 Jun 2006 23:54:44 +0000 (23:54 +0000)]
Add methods to determine if a CtClass is an annotation or an enum

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

18 years agoupdated javadoc comments.
chiba [Mon, 29 May 2006 16:32:17 +0000 (16:32 +0000)]
updated javadoc comments.

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

18 years agofixed JIRA JASSIST-19.
chiba [Mon, 29 May 2006 09:41:55 +0000 (09:41 +0000)]
fixed JIRA JASSIST-19.

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

18 years agofixed JIRA JASSIST-19.
chiba [Mon, 29 May 2006 09:34:15 +0000 (09:34 +0000)]
fixed JIRA JASSIST-19.

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

18 years agovery minor reformatting.
chiba [Wed, 10 May 2006 15:28:05 +0000 (15:28 +0000)]
very minor reformatting.

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

18 years agoUpdate the 3.2.0.CR2 release notes
starksm [Tue, 9 May 2006 22:32:24 +0000 (22:32 +0000)]
Update the 3.2.0.CR2 release notes

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

18 years agoUpdate the version to 3.2.0.CR2
starksm [Tue, 9 May 2006 22:23:44 +0000 (22:23 +0000)]
Update the version to 3.2.0.CR2

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

18 years agoJASSIST-18, Use of the system classloader for the case of a superclass with a null...
starksm [Tue, 9 May 2006 22:14:14 +0000 (22:14 +0000)]
JASSIST-18, Use of the system classloader for the case of a superclass with a null classloader was too restrictive in that it required javassist to be loaded by the system classloader. Instead use the javassist ProxyFactory.class classloader.

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

18 years agofixed JASSIST-18.
chiba [Tue, 9 May 2006 17:18:31 +0000 (17:18 +0000)]
fixed JASSIST-18.

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

18 years agoFixed a problem JIRA JASSIST-16
chiba [Thu, 27 Apr 2006 02:00:45 +0000 (02:00 +0000)]
Fixed a problem JIRA JASSIST-16

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

18 years agofixed a bug of replace(String,ExprEditor) in javassist.expr.Expr.
chiba [Sun, 9 Apr 2006 15:11:11 +0000 (15:11 +0000)]
fixed a bug of replace(String,ExprEditor) in javassist.expr.Expr.

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

18 years agoupdated javadoc comments.
chiba [Thu, 23 Mar 2006 13:52:47 +0000 (13:52 +0000)]
updated javadoc comments.

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

18 years agoJBQA-324 update version to 3.2.0.CR1
rcampbell [Sat, 18 Mar 2006 20:15:49 +0000 (20:15 +0000)]
JBQA-324 update version to 3.2.0.CR1

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

18 years agoJBQA-324 update version to 3.2.0.CR1
rcampbell [Sat, 18 Mar 2006 18:40:03 +0000 (18:40 +0000)]
JBQA-324 update version to 3.2.0.CR1

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

18 years agoJBQA-324 bump version to 3.2.0.CR1
rcampbell [Sat, 18 Mar 2006 18:07:46 +0000 (18:07 +0000)]
JBQA-324 bump version to 3.2.0.CR1

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

18 years agoJBQA-324 update changelog for 3.2.0.CR1 release
rcampbell [Sat, 18 Mar 2006 18:06:20 +0000 (18:06 +0000)]
JBQA-324 update changelog for 3.2.0.CR1 release

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

18 years agoNeed to also keep the parameter annotations after a prune.
adrian [Wed, 15 Mar 2006 17:59:07 +0000 (17:59 +0000)]
Need to also keep the parameter annotations after  a prune.

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

18 years agoAllow a ClassPool to override the "guess" at the classloader to use.
adrian [Wed, 15 Mar 2006 17:46:52 +0000 (17:46 +0000)]
Allow a ClassPool to override the "guess" at the classloader to use.
The default is still the thread context classloader.

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

18 years agoWe also need to keep the annotation default attribute after a prune.
adrian [Wed, 15 Mar 2006 17:11:30 +0000 (17:11 +0000)]
We also need to keep the annotation default attribute after a prune.

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

18 years agofixed a minor problem of CtClassType
chiba [Wed, 8 Mar 2006 07:19:35 +0000 (07:19 +0000)]
fixed a minor problem of CtClassType

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

18 years agoadded getNestedClasses() in CtClass.
chiba [Mon, 27 Feb 2006 16:29:25 +0000 (16:29 +0000)]
added getNestedClasses() in CtClass.

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

18 years agofinal updates for 3.1 release rel_3_1
chiba [Wed, 22 Feb 2006 17:45:38 +0000 (17:45 +0000)]
final updates for 3.1 release

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

18 years agoRemove the ability to change methodref signatures.
adrian [Wed, 22 Feb 2006 14:47:59 +0000 (14:47 +0000)]
Remove the ability to change methodref signatures.

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

18 years agoMake setUtf8Info private.
adrian [Wed, 22 Feb 2006 11:45:31 +0000 (11:45 +0000)]
Make setUtf8Info private.

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

18 years ago(almost) final updates for 3.1 release
chiba [Wed, 22 Feb 2006 01:17:31 +0000 (01:17 +0000)]
(almost) final updates for 3.1 release

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

18 years agoAdd the ability to change the signature of a constant pool methodref entry.
adrian [Tue, 21 Feb 2006 13:30:23 +0000 (13:30 +0000)]
Add the ability to change the signature of a constant pool methodref entry.

This is useful for JDK5 to 1.4 mapping, e.g.
java.lang.String.clone()Ljava.lang.String; -> java.lang.String.clone()Ljava.lang.Object;

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

18 years agoreplaced individual calls to Thread.currentThread().getContextClassLoader() with...
chiba [Fri, 17 Feb 2006 14:28:34 +0000 (14:28 +0000)]
replaced individual calls to Thread.currentThread().getContextClassLoader() with a call to ClassPool#getContextClassLoader(), which simply forward to Thread.current...

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

18 years agoreformatting.
chiba [Thu, 16 Feb 2006 14:42:22 +0000 (14:42 +0000)]
reformatting.

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

18 years agoFix NPE when there are no parameter annotations.
adrian [Wed, 15 Feb 2006 22:29:35 +0000 (22:29 +0000)]
Fix NPE when there are no parameter annotations.

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

18 years agoAdd support for getParameterAnnotations() from the CtBehaviour.
adrian [Wed, 15 Feb 2006 18:12:27 +0000 (18:12 +0000)]
Add support for getParameterAnnotations() from the CtBehaviour.

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

18 years agoAllow access to the constructor signature.
adrian [Wed, 15 Feb 2006 14:55:59 +0000 (14:55 +0000)]
Allow access to the constructor signature.

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

18 years agoAdjusted the behavior of setHandler().
chiba [Tue, 14 Feb 2006 04:27:38 +0000 (04:27 +0000)]
Adjusted the behavior of setHandler().

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

18 years agoAdjusting indentation, adding javadoc comments, etc.
chiba [Mon, 13 Feb 2006 16:38:05 +0000 (16:38 +0000)]
Adjusting indentation, adding javadoc comments, etc.

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

18 years agoCompacting/clone has a problem when the method index is zero.
adrian [Mon, 6 Feb 2006 10:02:34 +0000 (10:02 +0000)]
Compacting/clone has a problem when the method index is zero.
This looks like an inner class trying to describe its outer class rather
than a method.

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

18 years agoAllow for retrieval of the real type name of the annotation.
adrian [Sun, 5 Feb 2006 13:53:06 +0000 (13:53 +0000)]
Allow for retrieval of the real type name of the annotation.
We need this to emulate isAnnotationPresent(), etc.

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

18 years agoI need an eclipse option that disallows autoboxing. :-)
adrian [Sat, 4 Feb 2006 23:32:52 +0000 (23:32 +0000)]
I need an eclipse option that disallows autoboxing. :-)

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

18 years agoImplement the Object methods for the annotation invocation handler.
adrian [Sat, 4 Feb 2006 22:30:09 +0000 (22:30 +0000)]
Implement the Object methods for the annotation invocation handler.

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

18 years agoRemove the JDK vendor specfic class from the eclipse compilation
adrian [Mon, 30 Jan 2006 10:14:15 +0000 (10:14 +0000)]
Remove the JDK vendor specfic class from the eclipse compilation

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

18 years agofixed a bug of method dispatch.
chiba [Sun, 29 Jan 2006 15:47:03 +0000 (15:47 +0000)]
fixed a bug of method dispatch.

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

18 years agofixed a bug in getModifiers() in CtClass.
chiba [Thu, 19 Jan 2006 07:21:52 +0000 (07:21 +0000)]
fixed a bug in getModifiers() in CtClass.

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

18 years ago*** empty log message ***
kkhan [Tue, 17 Jan 2006 18:37:52 +0000 (18:37 +0000)]
*** empty log message ***

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

18 years agoupdated copyright notices
chiba [Wed, 11 Jan 2006 06:45:57 +0000 (06:45 +0000)]
updated copyright notices

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

18 years agorestructred sub packages
chiba [Wed, 11 Jan 2006 06:06:30 +0000 (06:06 +0000)]
restructred sub packages

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

18 years agofixed a bug on renameClass().
chiba [Tue, 10 Jan 2006 18:35:51 +0000 (18:35 +0000)]
fixed a bug on renameClass().

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

18 years agoupdated javadoc comments
chiba [Tue, 10 Jan 2006 04:14:45 +0000 (04:14 +0000)]
updated javadoc comments

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

18 years agorenamed javassist.tool to javassist.tools
chiba [Sun, 1 Jan 2006 17:11:09 +0000 (17:11 +0000)]
renamed javassist.tool to javassist.tools

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

18 years agochanged to generate more javap-friendly code
chiba [Sun, 1 Jan 2006 14:55:28 +0000 (14:55 +0000)]
changed to generate more javap-friendly code

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

18 years agoimplemented recursive replace() for ExprEditor.
chiba [Thu, 29 Dec 2005 16:20:02 +0000 (16:20 +0000)]
implemented recursive replace() for ExprEditor.

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

18 years agoadded addGetfield() and addPutfield() in javassist.bytecode.Bytecode.
chiba [Fri, 23 Dec 2005 15:58:43 +0000 (15:58 +0000)]
added addGetfield() and addPutfield() in javassist.bytecode.Bytecode.

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

19 years agoadded some methods to javassist.Bytecode and Descriptor.
chiba [Tue, 22 Nov 2005 16:51:12 +0000 (16:51 +0000)]
added some methods to javassist.Bytecode and Descriptor.

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

19 years agoAdd eclipse files
kkhan [Tue, 22 Nov 2005 10:55:45 +0000 (10:55 +0000)]
Add eclipse files

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

19 years agoimplemented getSignature() in javassist.expr.MethodCall
chiba [Sat, 12 Nov 2005 15:38:12 +0000 (15:38 +0000)]
implemented getSignature() in javassist.expr.MethodCall

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

19 years agoupdated javadoc comments.
chiba [Sat, 12 Nov 2005 13:30:33 +0000 (13:30 +0000)]
updated javadoc comments.

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