From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,206547e68a60b0e7 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!news.newsland.it!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Vinzent 'Gadget' Hoefler Newsgroups: comp.lang.ada Subject: Re: How to cache output of the compiler aka ccache Date: Fri, 18 Mar 2005 14:01:21 +0000 Message-ID: <21369831.btob92lcNg@jellix.jlfencey.com> References: <1111085641.211767.56950@f14g2000cwb.googlegroups.com> <7f8cfe1b.0503172258.2ef3b9f6@posting.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: individual.net Gs+P3hbN7lmQwyM4uWY2vQhAK4YVm1Cj9jUIYCabyNgVrjXkfY X-Phone: +41 62 961 13 52 X-Mood: Beautiful day to take over the world. Xref: g2news1.google.com comp.lang.ada:9596 Date: 2005-03-18T14:01:21+00:00 List-Id: 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.