aspose file tools*
The moose likes Java in General and the fly likes what is recursive static initialization? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "what is recursive static initialization?" Watch "what is recursive static initialization?" New topic
Author

what is recursive static initialization?

Kaustubh G Sharma
Ranch Hand

Joined: May 13, 2010
Posts: 1281

I heard on one thread about it but not able to understand the fact clearly...


No Kaustubh No Fun, Know Kaustubh Know Fun..
Hebert Coelho
Ranch Hand

Joined: Jul 14, 2010
Posts: 754

Could you give us the link?


[uaiHebert.com] [Full WebApplication JSF EJB JPA JAAS with source code to download] One Table Per SubClass [Web/JSF]
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39815
    
  28
Never heard of it.
Vinoth Kumar Kannan
Ranch Hand

Joined: Aug 19, 2009
Posts: 276

Actually, doesn't static initialization happen only once for a class ever - only when the class is being loaded? can it be recursive at all? May be you can post us the source..


OCPJP 6
Kaustubh G Sharma
Ranch Hand

Joined: May 13, 2010
Posts: 1281

well I tried to find that thread but not got any success it in
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

is that thread?
some-static-explanation
Kaustubh G Sharma
Ranch Hand

Joined: May 13, 2010
Posts: 1281

yaa this thing is discussed in some thread..
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

now you get the point?
Kaustubh G Sharma
Ranch Hand

Joined: May 13, 2010
Posts: 1281

Mike Simmons
Ranch Hand

Joined: Mar 05, 2008
Posts: 3018
    
  10
Oh, come on, Kaustubh - show some effort. Did the post that Seetharaman linked to answer your question, or not? If the answer is no, that's fine - just give us some concrete feedback (like "no" for example) if that's the case. Rolling your eyes is useless. Use words. Form a sentence. Communicate with us in a meaningful way. We will be happy to help, but we need to understand what your problem is.
Kaustubh G Sharma
Ranch Hand

Joined: May 13, 2010
Posts: 1281

Aye Aye SIR...Thanks for awaking me...Actually I was not checking the thread fully and not read Seetharaman link properly ..my mistake and my apology...

yup want to thank Seetharaman who find out the thread for me... thanks Seetharaman ... I found this term from this link only but not get what Seetharaman want to say...



recursive static initialization is simply ignored by the JVM.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what is recursive static initialization?