[JBoss-user] [Javassist user questions] - Re: Bug in Annotation (Take 2) ?

2005-12-06 Thread gedl
"chiba" wrote : Hi, | | anonymous wrote : I'd like to know the differences between "regular" java accessibility and "via javassist" accessibility. | | There should be no difference since Javassist code simply calls | Class#forName() for accessing a class. Does pacote.Anotacao | real

[JBoss-user] [Javassist user questions] - Re: Varargs Injection Unsupported ?

2005-11-28 Thread gedl
"chiba" wrote : Hmm... Java 5 has not been fully supported. But I will add this to my Todo list. | Ok, thank you very much. In the meanwhile I'm using the typical array of objects as a turnaround. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3909311#390

[JBoss-user] [Javassist user questions] - Re: Bug in Annotation (Take 2) ?

2005-11-28 Thread gedl
"chiba" wrote : I think the exception was thrown because the @pacote.Anotacao interface is not accessible from your code using Javassist. Can you check your code? | Hello, Chiba. Indeed my pacote.Anotacao is not accessible from my code using Javassist. However since its available from "reg

[JBoss-user] [Javassist user questions] - Re: JBoss/Tomcat error

2005-11-25 Thread gedl
"brudvik" wrote : I figured out the sollution on my own. It appears that the line: | | Enumeration enum = request.getParameterNames(); | | Is valid in JBoss while in Tomcat the particular word "enum" will throw | an exception since it appears that they have reserved that word for their

[JBoss-user] [Javassist user questions] - Varargs Injection Unsupported ?

2005-11-25 Thread gedl
Hello, I'm trying to inject some code that invokes a class' constructor that has vargars. Javassist is giving me a CouldNotCompileException The problem is in the compareSignature method in MemberResolver.java, line 169 that checks if the parameters vector lenght is equals. Well being a varargs

[JBoss-user] [Javassist user questions] - Re: Bug in Annotation (Take 2) ? [additional stack trace]

2005-11-24 Thread gedl
An aditional stack trace originated from calling the same task from command line (rather than from Eclipse IDE) | [mytask] java.lang.ClassNotFoundException: pacote.Anotacao |[mytask] at java.net.URLClassLoader$1.run(URLClassLoader.java:200) |[mytask] at java.security.Acce

[JBoss-user] [Javassist user questions] - Re: Bug in Annotation (Take 2) ? [version]

2005-11-24 Thread gedl
I forgot to mention that I'm using javassist version 3.1RC2 which dates from September 7th 2005 (as mentioned in the project's page). Thank you once again.[/url] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908932#3908932 Reply to the post : http://www.jb

[JBoss-user] [Javassist user questions] - Bug in Annotation (Take 2) ?

2005-11-24 Thread gedl
Hello, First of all I must say that I have little experience with javassist (I begun using it last week). What I need to to is to process a couple of classes searching for any method containing a specific custom annotation (say pacote.Anotacao). In the class i declare the method like this (in t