[jdk11u-dev] RFR: 8333837: [11u] HexPrinterTest.java javac compile fails illegal start of expression [v2]
SendaoYan
syan at openjdk.org
Tue Jun 11 08:38:33 UTC 2024
> Hi all,
> The testcase `test/lib-test/jdk/test/lib/hexdump/HexPrinterTest.java` fails because of Java 11 doesn't support `var v = switch(String) { case String -> ... }` syntax. This testcase was backported by [JDK-8329248](https://bugs.openjdk.org/browse/JDK-8329248) from jdk15. This PR fix the syntax error to make the testcase work normally.
> Only change the testcase, the change has been verified, no risk.
SendaoYan has updated the pull request incrementally with one additional commit since the last revision:
revert the copyright year change
-------------
Changes:
- all: https://git.openjdk.org/jdk11u-dev/pull/2750/files
- new: https://git.openjdk.org/jdk11u-dev/pull/2750/files/a95f8fcd..873c017c
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=2750&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=2750&range=00-01
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk11u-dev/pull/2750.diff
Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/2750/head:pull/2750
PR: https://git.openjdk.org/jdk11u-dev/pull/2750
More information about the jdk-updates-dev
mailing list