Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8290149

java/nio/file/Files/probeContentType/Basic.java fails on Windows Server 2019/2022

XMLWordPrintable

    • b07
    • windows

        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)

              tkiriyama Takuya Kiriyama
              tkiriyama Takuya Kiriyama
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: