-
Bug
-
Resolution: Duplicate
-
P4
-
9
The test runtime/SharedArchiveFile/CdsDifferentObjectAlignment.java fails as it was not able to create a shared archive file:
...
Error occurred during initialization of VM
Unable to use shared archive.
];
stderr: [An error has occurred while processing the shared archive file.
Unable to create shared archive file ./sample.jsa: (Permission denied).
]
exitValue = 1
java.lang.RuntimeException: Expected to get exit value of [0]
at com.oracle.java.testlibrary.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:362)
at CdsDifferentObjectAlignment.createAndLoadSharedArchive(CdsDifferentObjectAlignment.java:69)
at CdsDifferentObjectAlignment.main(CdsDifferentObjectAlignment.java:47)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:502)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:745)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected to get exit value of [0]
...
...
Error occurred during initialization of VM
Unable to use shared archive.
];
stderr: [An error has occurred while processing the shared archive file.
Unable to create shared archive file ./sample.jsa: (Permission denied).
]
exitValue = 1
java.lang.RuntimeException: Expected to get exit value of [0]
at com.oracle.java.testlibrary.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:362)
at CdsDifferentObjectAlignment.createAndLoadSharedArchive(CdsDifferentObjectAlignment.java:69)
at CdsDifferentObjectAlignment.main(CdsDifferentObjectAlignment.java:47)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:502)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:745)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected to get exit value of [0]
...
- duplicates
-
JDK-8067333 [TESTBUG] Using same name for shared archive between test executions occasionally leads to access violation
-
- Closed
-