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

test/jdk/java/nio/file/Files/probeContentType/Basic.java fails to compile after backport of 8273655

XMLWordPrintable

    • b05

        The test does not compile with older Java versions. E.g., record is not known:

        /priv/jvmtests/output_openjdk11_dev_dbgU_linuxx86_64/grmpf/testdata/jtreg/jtreg_test_11/test/jdk/java/nio/file/Files/probeContentType/Basic.java:196: error: cannot find symbol
        record ExType(String extension, List<String> expectedTypes) { }
        ^
        symbol: class record

              andrew Andrew Hughes
              goetz Goetz Lindenmaier
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: