< prev index next >
test/compiler/runtime/Test6863420.java
Print this page
rev 11557 : 8132919: use package in compiler tests
Reviewed-by: duke
*** 25,40 ****
/**
* @test
* @bug 6863420
* @summary os::javaTimeNanos() go backward on Solaris x86
*
! * Notice the internal timeout in timeout thread Test.TOT.
! * @run main/othervm/timeout=300 Test
*/
! public class Test {
static final int INTERNAL_TIMEOUT=240;
static class TOT extends Thread {
public void run() {
try {
Thread.sleep(INTERNAL_TIMEOUT*1000);
--- 25,44 ----
/**
* @test
* @bug 6863420
* @summary os::javaTimeNanos() go backward on Solaris x86
*
! * @run main/othervm/timeout=300 compiler.runtime.Test6863420
*/
+ /*
+ * Notice the internal timeout in timeout thread Test6863420.TOT.
+ */
! package compiler.runtime;
+ public class Test6863420 {
+
static final int INTERNAL_TIMEOUT=240;
static class TOT extends Thread {
public void run() {
try {
Thread.sleep(INTERNAL_TIMEOUT*1000);
< prev index next >