Details
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8281958 | 17.0.3 | Matthias Baesken | P4 | Resolved | Fixed | b03 |
Description
The following test failed in the JDK18 CI:
java/nio/file/Files/probeContentType/Basic.java
Here's a snippet from the log file:
----------System.err:(15/900)----------
Content type: text/x-python; expected: [text/plain, text/x-python-script]
Content type: application/rar; expected: [application/vnd.rar]
java.lang.RuntimeException: Test failed!
at Basic.main(Basic.java:192)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:833)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Test failed!
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test failed!
----------rerun:(35/6631)*----------
java/nio/file/Files/probeContentType/Basic.java
Here's a snippet from the log file:
----------System.err:(15/900)----------
Content type: text/x-python; expected: [text/plain, text/x-python-script]
Content type: application/rar; expected: [application/vnd.rar]
java.lang.RuntimeException: Test failed!
at Basic.main(Basic.java:192)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:833)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Test failed!
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test failed!
----------rerun:(35/6631)*----------
Attachments
Issue Links
- backported by
-
JDK-8281958 java/nio/file/Files/probeContentType/Basic.java failed on "Content type" mismatches
-
- Resolved
-