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

java/nio/file/Files/probeContentType/Basic.java fails on Windows 2025

XMLWordPrintable

    • b05
    • windows

        While running the Baseline task for Windows2025 java/nio/file/Files/probeContentType/Basic.java fails

        Failure trace:

        ----------System.err:(16/1178)----------
        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:209)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
        at java.base/java.lang.Thread.run(Thread.java:834)



              bpb Brian Burkhalter
              akhuntia Anawesha Khuntia
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: