-
Bug
-
Resolution: Fixed
-
P4
-
20
-
b07
-
windows
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8328147 | 17.0.12 | Amos SHI | P4 | Resolved | Fixed | b01 |
java/nio/file/Files/probeContentType/Basic.java fails on below environment.
OS: Windows Server 2022 Standard / Windows Server 2019 Standard
JDK: 20-ea
openjdk version "20-ea" 2023-03-21
OpenJDK Runtime Environment (build 20-ea+4-158)
OpenJDK 64-Bit Server VM (build 20-ea+4-158, mixed mode, sharing)
Failed message:
For extension js we got content type: text/plain; expected: [text/javascript, application/javascript]
java.lang.RuntimeException: Test failed!
at Basic.main(Basic.java:203)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:1589)
OS: Windows Server 2022 Standard / Windows Server 2019 Standard
JDK: 20-ea
openjdk version "20-ea" 2023-03-21
OpenJDK Runtime Environment (build 20-ea+4-158)
OpenJDK 64-Bit Server VM (build 20-ea+4-158, mixed mode, sharing)
Failed message:
For extension js we got content type: text/plain; expected: [text/javascript, application/javascript]
java.lang.RuntimeException: Test failed!
at Basic.main(Basic.java:203)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:1589)
- backported by
-
JDK-8328147 Files/probeContentType/Basic.java fails on latest Windows 11 - content type mismatch
-
- Resolved
-