[JBoss-user] [Javassist user questions] - Re: Limitations

2005-01-24 Thread chiba
Yes, that's a perfect solution.
(sorry, it's annonying...)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3863380#3863380

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3863380


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - Re: Limitations

2005-01-19 Thread chiba
Although $proceed does not imply this problem,

newname($$);

would do.  I agree this is a bug, which should be fixed
soon.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3862737#3862737

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3862737


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - Re: Limitations

2005-01-19 Thread sirrurg
So to avoid this problem, i could work around by producing sth like


  | ...
  | newname((Type1)$1, (Type2)$2, ...)
  | ...
  | 

Or wouldnt this help anyway?!?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3862808#3862808

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3862808


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag--drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - Re: Limitations

2005-01-18 Thread sirrurg
1) Ok ... in this case i can surely wait, as i m just going to copy methods
and not trying to create new ones.

2) Thx for the example. How is the behaviour if i m performing wrapping 
like in
Java programming dynamics, Part 4: Class transformation with 
Javassist
by Dennis M. Sosnoski, IBM developerWorks, September 16, 2003.

So just by copy methods, rename one and  add a call like:

  | 
  | newname($$);
  | 
  | 
Do i also have this drawbacks if i m handling it this way?

Sincerely
Sirrurg

P.S.: I hope this question dont become to annoying to you[/url]

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3862535#3862535

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3862535


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - Re: Limitations

2005-01-17 Thread chiba
Hi,

1) The limitation is not applied to copied bytecode.
The tutorial says that the compiler does not understand
synchronized.  However, the upcoming release 3.0
supports a synchronized statement.  So please download
CVS HEAD or wait for several days.  We are going to release
3.0 soon.

2) For example,

class A {} 
class B extends A {} 
class C extends C {} 

class X { 
void foo(A a) { .. } 
void foo(B b) { .. } 
}

If the compiled expression is x.foo(new C()), where x is an instance of X, the 
compiler may produce a call to foo(A) although the compiler can correctly 
compile foo((B)new C()).

This description will be also included in the tutorial coming
with the next release.
 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3862517#3862517

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3862517


---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user