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=bb&op=viewtopic&p=3862517#3862517
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=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, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user