hotspot/test/runtime/6626217/Test6626217.sh
changeset 22538 5261297676ef
parent 22234 da823d78ad65
child 23862 55988ebc30c4
--- a/hotspot/test/runtime/6626217/Test6626217.sh	Mon Jan 27 10:57:52 2014 +0100
+++ b/hotspot/test/runtime/6626217/Test6626217.sh	Tue Jan 21 16:45:10 2014 -0600
@@ -48,6 +48,11 @@
 # A Clean Compile: this line will probably fail within jtreg as have a clean dir:
 ${RM} -f *.class *.impl many_loader.java
 
+# Make sure that the compilation steps occurs in the future as not to allow fast systems
+# to copy and compile bug_21227.java so fast as to make the class and java have the same
+# time stamp, which later on would make the compilation step of many_loader.java fail
+sleep 2
+
 # Compile all the usual suspects, including the default 'many_loader'
 ${CP} many_loader1.java.foo many_loader.java
 ${JAVAC} ${TESTJAVACOPTS} -source 1.4 -target 1.4 -Xlint *.java