# HG changeset patch # User sdama # Date 1532356123 -19800 # Node ID d9b22cbe3e7a76519b5afaa505e1188eeaf47e95 # Parent 50eb2c0f252b5e6a681220fa4f9c2231cf834322 8206445: JImageListTest.java failed in Windows Summary: Added System.gc() call to address unmapped jimage files Reviewed-by: alanb diff -r 50eb2c0f252b -r d9b22cbe3e7a test/jdk/ProblemList.txt --- 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 ############################################################################ diff -r 50eb2c0f252b -r d9b22cbe3e7a test/jdk/tools/jimage/JImageListTest.java --- 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(); } }