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

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

XMLWordPrintable

    • 11
    • b01
    • generic
    • generic

      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();
                                ^

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

              Created:
              Updated:
              Resolved: