8206445: JImageListTest.java failed in Windows
Summary: Added System.gc() call to address unmapped jimage files
Reviewed-by: alanb
--- 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();
}
}