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

Files/probeContentType/Basic.java fails on latest Windows 11 - content type mismatch

XMLWordPrintable

    • b27
    • windows

        This test failed with the Windows-11 22H2 update.
        --------------------
        Test: java/nio/file/Files/probeContentType/Basic.java
        Platform: Windows-11-22H2-MSDN-2023-11-06
        Reproducible: always

        Message:
        For extension bz2 we got content type: application/x-compressed; expected: [application/bz2, application/x-bzip2, application/x-bzip]
        For extension rar we got content type: application/x-compressed; expected: [application/rar, application/vnd.rar, application/x-rar, application/x-rar-compressed]
        For extension 7z we got content type: application/x-compressed; expected: [application/x-7z-compressed]
        java.lang.RuntimeException: Test failed!
        at Basic.main(Basic.java:204)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
        at java.base/java.lang.Thread.run(Thread.java:1570)

              bpb Brian Burkhalter
              mseledtsov Mikhailo Seledtsov
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: