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

[11u] HexPrinterTest.java javac compile fails illegal start of expression

    XMLWordPrintable

Details

    • 11
    • master
    • generic
    • generic

    Description

      test/lib-test/jdk/test/lib/hexdump/HexPrinterTest.java javac compile fails:

      /home/yansendao/git/jdk11u-dev/test/lib-test/jdk/test/lib/hexdump/HexPrinterTest.java:91: error: illegal start of expression
              HexPrinter f = switch (name) {
                             ^
      /home/yansendao/git/jdk11u-dev/test/lib-test/jdk/test/lib/hexdump/HexPrinterTest.java:92: error: : expected
                  case "minimal" -> HexPrinter.minimal();
                                ^

      Attachments

        Issue Links

          Activity

            People

              syan Sendao Yan
              syan Sendao Yan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: