8206445: JImageListTest.java failed in Windows
authorsdama
Mon, 23 Jul 2018 19:58:43 +0530
changeset 51226 d9b22cbe3e7a
parent 51225 50eb2c0f252b
child 51227 ed66516bab5b
8206445: JImageListTest.java failed in Windows Summary: Added System.gc() call to address unmapped jimage files Reviewed-by: alanb
test/jdk/ProblemList.txt
test/jdk/tools/jimage/JImageListTest.java
--- a/test/jdk/ProblemList.txt	Thu Jul 19 16:56:05 2018 -0400
+++ b/test/jdk/ProblemList.txt	Mon Jul 23 19:58:43 2018 +0530
@@ -828,7 +828,6 @@
 # core_tools
 
 tools/pack200/CommandLineTests.java                             8059906 generic-all
-tools/jimage/JImageListTest.java                                8206445 windows-all
 
 ############################################################################
 
--- a/test/jdk/tools/jimage/JImageListTest.java	Thu Jul 19 16:56:05 2018 -0400
+++ b/test/jdk/tools/jimage/JImageListTest.java	Mon Jul 23 19:58:43 2018 +0530
@@ -224,6 +224,8 @@
 
     public static void main(String[] args) throws Throwable {
         new JImageListTest().runTests();
+        // Just to ensure that jimage files will be unmapped
+        System.gc();
     }
 }