I can reproduce it every time on a OEL 6.4 32 bit environment. It passed on other Ubuntu 32 bit envs. Since there is one OEL 32 bit env, I'm not sure if it is env specific or OS/arch specific.
Please refer to the test output. It didn't provide much information:
----------System.out:(2/465)----------
Command line: [/Users/aurora/CommonData/jdk/bin/java -ms8m jdk.tools.jimage.Main extract --dir /Users/aurora/sandbox/gresults/testoutput/jdk_lang/JTwork/scratch/./extract /Users/aurora/CommonData/jdk/lib/modules ]
Command line: [/Users/aurora/CommonData/jdk/bin/java -ms8m jdk.tools.jimage.Main recreate --dir /Users/aurora/sandbox/gresults/testoutput/jdk_lang/JTwork/scratch/./extract /Users/aurora/sandbox/gresults/testoutput/jdk_lang/JTwork/scratch/./recreate ]
----------System.err:(13/758)----------
java.lang.RuntimeException: JImageToolTest FAILED
at JImageToolTest.jimage(JImageToolTest.java:53)
at JImageToolTest.main(JImageToolTest.java:69)
at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:531)
at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:226)
at java.lang.Thread.run(java.base@9-ea/Thread.java:804)
Please refer to the test output. It didn't provide much information:
----------System.out:(2/465)----------
Command line: [/Users/aurora/CommonData/jdk/bin/java -ms8m jdk.tools.jimage.Main extract --dir /Users/aurora/sandbox/gresults/testoutput/jdk_lang/JTwork/scratch/./extract /Users/aurora/CommonData/jdk/lib/modules ]
Command line: [/Users/aurora/CommonData/jdk/bin/java -ms8m jdk.tools.jimage.Main recreate --dir /Users/aurora/sandbox/gresults/testoutput/jdk_lang/JTwork/scratch/./extract /Users/aurora/sandbox/gresults/testoutput/jdk_lang/JTwork/scratch/./recreate ]
----------System.err:(13/758)----------
java.lang.RuntimeException: JImageToolTest FAILED
at JImageToolTest.jimage(JImageToolTest.java:53)
at JImageToolTest.main(JImageToolTest.java:69)
at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:531)
at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:226)
at java.lang.Thread.run(java.base@9-ea/Thread.java:804)
- relates to
-
JDK-8152534 jimage recreate OOME on Linux 32
- Closed
-
JDK-8150195 tools/jimage/JImageTest.java fails with AccessDeniedException
- Resolved
-
JDK-8157663 Remove tools/jimage/JImageTest.java from ProblemList.txt
- Closed