JDK 9 RFR of JDK-8166248: tools/pack200/Pack200Test.java fails on Win32: Could not reserve enough space

Amy Lu amy.lu at oracle.com
Tue Sep 20 14:24:29 UTC 2016


tools/pack200/Pack200Test.java

This test requires -Xmx1280m to run. Test is not suitable for 32-bit 
platform.

Please review this patch to skip on 32-bit platform.

bug: https://bugs.openjdk.java.net/browse/JDK-8166248
webrev: http://cr.openjdk.java.net/~amlu/8166248/webrev.00/

Thanks,
Amy

--- old/test/tools/pack200/Pack200Test.java	2016-09-20 22:14:31.000000000 +0800
+++ new/test/tools/pack200/Pack200Test.java	2016-09-20 22:14:31.000000000 +0800
@@ -24,6 +24,7 @@
   /*
    * @test
    * @bug 6521334 6712743 8007902 8151901
+  * @requires (sun.arch.data.model == "64" & os.maxMemory >= 4g)
    * @summary test general packer/unpacker functionality
    *          using native and java unpackers
    * @compile -XDignore.symbol.file Utils.java Pack200Test.java





More information about the core-libs-dev mailing list