Thanks.  According to my simple study, javac of jdk1.4 and
javac of 1.5 seem to compile an inner class in a different way.
I found that javac 1.5 initializes a point to the outer class
before calling the super constructor.  On the other hand,
javac  1.4 does not do so.  Thus, your sample code of InnerTest
throws a NullPointerException if it is compiled by javac 1.4.

It might be only a pointer to the outer class that can be initialized
before calling a super constructor.  I'll study this more.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882512#3882512

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882512


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to