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

test/jdk/java/nio/file/Files/probeContentType/Basic.java fails on some systems for the ".rar" extension

XMLWordPrintable

    • b06

        Test test/jdk/java/nio/file/Files/probeContentType/Basic.java fails on some platforms with:

        For extension rar we got content type: application/x-rar-compressed; expected: [application/rar, application/vnd.rar, application/x-rar]



        The following should be updated within the test (line 183) to include application/x-rar-compressed in the List added to ExType:

                        new ExType("rar", List.of("application/rar", "application/vnd.rar", "application/x-rar")),

              bpb Brian Burkhalter
              lancea Lance Andersen
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: