Re: Puzzling class field initialization order

Carfield Yim <[email protected]>
Newsgroups gmane.comp.windows.devel.java.advanced
Message-ID <[email protected]>
> 3. S.IMPL = C.INSTANCE would trigger C loading, but C is already being
> loaded, and INSTANCE is still null, so it is assigned null
> ...

Is it the specificed behaviour or it is just a bug of Sun JVM? As I
application developer I wouldn't expect this at all...

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.