Problem with "compilation on demand"

David Holmes david.holmes at oracle.com
Thu Dec 13 20:53:10 PST 2012


Hi,

We are seeing a problem when a test machine has an incorrect system time 
(well in the past).

jtreg does the compilation phase of a test using the specific 
compilation instructions for that test and it passes.

However jtreg then warns about a .java file having a modification time 
in the future and it then "on demand" compiles that file. But either the 
compilation fails, or the test later fails, because the file was 
recompiled without regard to the special compilation instructions for 
that test.

Obviously we can fix the test machine but it seems to me that jtreg 
should not be doing on-demand recompilation where there is an explicit 
compile command.

Cheers,
David Holmes


More information about the jtreg-dev mailing list