commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Patch: File.deleteOnExit()


From: Ingo Prötel
Subject: Re: Patch: File.deleteOnExit()
Date: Tue, 18 May 2004 17:46:24 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113

Yes, you are right. I asked and we only initialize on first use. I was wrong.
I assumed since we load and link all classes at startup we would also 
initialize them.
This means that the static initializer is perfectly ok.

Sorry for the confusion.
ingo

Archie Cobbs wrote:
Ingo Pr?tel wrote:

static initializers in our case (a real-time vm) run at startup.


Technically this violates the JVM spec, right? I'm sure it's not a
big problem for your application but just wanted to confirm the
behavior. The spec says initialization only happens on first "active use".

Thanks,
-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com


--
Ingo Pr?tel                                          address@hidden
aicas GmbH                                        http://www.aicas.com
Haid-und-Neu-Str. 18                        phone   +49 721 663 968-32
76131 Karlsruhe                             fax     +49 721 663 968-93
Germany




reply via email to

[Prev in Thread] Current Thread [Next in Thread]