From: Vinzent 'Gadget' Hoefler <nntp-2005-03@t-domaingrabbing.de>
Subject: Re: How to cache output of the compiler aka ccache
Date: Fri, 18 Mar 2005 14:01:21 +0000
Date: 2005-03-18T14:01:21+00:00 [thread overview]
Message-ID: <21369831.btob92lcNg@jellix.jlfencey.com> (raw)
In-Reply-To: wccpsxxkrjf.fsf@shell01.TheWorld.com
Robert A Duff wrote:
> But I think Java compilers can be trusted to rebuild
> properly, just like Ada compilers.
What makes you think that?
|hovi@jellix:~/src/java/test> rm screencard/exceptions/CaffeineUnderflow.class
|hovi@jellix:~/src/java/test> javac screencard/Test.java
|hovi@jellix:~/src/java/test> java screencard/Test
|Exception in thread "main" java.lang.NoClassDefFoundError: screencard/exceptions/CaffeineUnderflow
| at screencard.Test.main(Test.java:42)
|hovi@jellix:~/src/java/test> javac screencard/exceptions/CaffeineUnderflow.java
|hovi@jellix:~/src/java/test> java screencard/Test
|Target: 3015/192/1000
|[...]
It obviously fails to recompile missing dependencies. From my tests
it also seems to ignore file dates. So I'd say, the "Java Build System"
is non-existent.
Well, considering that Java is designed to be able can load classes at
runtime (meaning: they are not required to have been compiled before they
need to be loaded) this isn't a very big surprise. What's more surprising
in this example: It fails to load an exception class which isn't even
raised.
Vinzent.
--
worst case: The wrong assumption there actually is one.
next prev parent reply other threads:[~2005-03-18 14:01 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-17 18:54 How to cache output of the compiler aka ccache i-google-iasuhdkajsh
2005-03-17 19:40 ` Robert A Duff
2005-03-17 20:04 ` Ludovic Brenta
2005-03-17 21:27 ` Marius Amado Alves
2005-03-18 1:24 ` Ludovic Brenta
2005-03-18 2:08 ` Robert A Duff
2005-03-17 19:47 ` Ludovic Brenta
2005-03-18 19:22 ` Simon Wright
2005-03-18 20:04 ` Randy Brukardt
2005-03-18 22:10 ` Florian Weimer
2005-03-19 3:25 ` Larry Kilgallen
2005-03-18 6:58 ` i-google-iasuhdkajsh
2005-03-18 13:33 ` Robert A Duff
2005-03-18 14:01 ` Vinzent 'Gadget' Hoefler [this message]
2005-03-18 14:41 ` Florian Weimer
2005-03-18 15:08 ` Vinzent 'Gadget' Hoefler
2005-03-18 16:24 ` Florian Weimer
2005-03-21 8:16 ` Vinzent 'Gadget' Hoefler
2005-03-21 8:54 ` Florian Weimer
2005-03-21 11:26 ` Vinzent 'Gadget' Hoefler
2005-03-18 8:07 ` Martin Krischik
2005-03-18 18:50 ` i-google-iasuhdkajsh
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox