RFR 9 test-only RFR 8177328 : java/lang/ClassLoader/securityManager/ClassLoaderTest.java times out with -Xcomp

Brent Christian brent.christian at oracle.com
Thu Apr 27 19:08:50 UTC 2017


Hi,

This test times out under our automated testing configurations that 
include -Xcomp.

Please review my change to increase the timeout for this test.  It is 
sufficient for the test configurations in question to pass on two 
different local machines (Mac & Linux).

diff -r 7c04ab31b4d6 
test/java/lang/ClassLoader/securityManager/ClassLoaderTest.java
--- a/test/java/lang/ClassLoader/securityManager/ClassLoaderTest.java 
Wed Apr 26 09:37:23 2017 -0700
+++ b/test/java/lang/ClassLoader/securityManager/ClassLoaderTest.java 
Thu Apr 27 12:03:33 2017 -0700
@@ -29,7 +29,7 @@
   * @library /lib/testlibrary
   * @modules java.base/jdk.internal.module
   * @build JarUtils CompilerUtils
- * @run main/timeout=240 ClassLoaderTest
+ * @run main/timeout=1200 ClassLoaderTest
   */

Thanks,
-Brent



More information about the security-dev mailing list