Hi,

please review this fix to make sure that this test is properly
skipped/ignored in all configurations (the @ignore needs to be listed
before @run). It is intermittently failing on some hardware
configurations in our internal testing.

Thanks!

/Claes

diff -r d3e45bd166dc test/jdk/java/util/Locale/SoftKeys.java
--- a/test/jdk/java/util/Locale/SoftKeys.java   Tue Jun 25 14:36:31 2019 +0200
+++ b/test/jdk/java/util/Locale/SoftKeys.java   Wed Jun 26 15:24:54 2019 +0200
@@ -24,10 +24,10 @@
  * @test
  * @bug 8196869
* @summary Make sure we deal with internal Key data being cleared properly
- * @run main/othervm -Xms16m -Xmx16m -esa SoftKeys
* @ignore This test aims to provoke NPEs, but due to the need to constrain * memory usage it fails intermittently with OOME on various systems
  *         with no way to ignore such failures.
+ * @run main/othervm -Xms16m -Xmx16m -esa SoftKeys
  */
 import java.util.*;

Reply via email to