RFR: 8224657: [TEST_BUG]java/util/Locale/SoftKeys.java should be ignored but run

Claes Redestad claes.redestad at oracle.com
Wed Jun 26 13:22:45 UTC 2019


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.*;



More information about the core-libs-dev mailing list