RFR (XS): 7015395: Make sure the test compiles and completes its intended run.

Gerard Ziemski gerard.ziemski at oracle.com
Thu Jan 16 11:15:22 PST 2014


hi all,

Can I have a review for a very small change to a nightly test script to 
make sure it compiles and completes its run?

The script here compiles base classes with a provided loader, then later 
tries to substitute another loader to compile it against the base 
classes. This might fail, however, if the base classes get copied and 
compiled fast enough to have the same timestamps.

I think the proposed solution which inserts 2 second delay between when 
the files get copied and when they get compiled is simple and sufficient 
enough to guarantee that the final compilation step succeeds.

References:

webrev: http://cr.openjdk.java.net/~gziemski/7015395/
CR: https://bugs.openjdk.java.net/browse/JDK-7015395


cheers


More information about the hotspot-runtime-dev mailing list