changeset 51909:d9b22cbe3e7a

8206445: JImageListTest.java failed in Windows Summary: Added System.gc() call to address unmapped jimage files Reviewed-by: alanb
author sdama
date Mon, 23 Jul 2018 19:58:43 +0530
parents 50eb2c0f252b
children ed66516bab5b
files test/jdk/ProblemList.txt test/jdk/tools/jimage/JImageListTest.java
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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();
     }
 }