mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-15 18:33:41 +00:00
7186887: Test T6567415.java can fail on a slow machine
Reviewed-by: jjg, ksrini
This commit is contained in:
parent
8ddd38c293
commit
63c141c512
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2010, 2013 Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -137,7 +137,7 @@ public class T6567415 {
|
||||
}
|
||||
};
|
||||
t.start();
|
||||
t.join(1000*10);
|
||||
t.join(1000*60);
|
||||
System.out.println(t.getState());
|
||||
if (t.isAlive()) {
|
||||
throw new RuntimeException("Error: compilation is looping");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user