[jdk17u] RFR: 8275302: unexpected compiler error: cast, intersection types and sealed

Ekaterina Vergizova evergizova at openjdk.java.net
Fri Oct 29 12:40:44 UTC 2021


I'd like to backport JDK-8275302 to 17u. It fixes unexpected javac error.
The patch applies cleanly.
Tested with langtools tests, updated test passes after applying the patch.

-------------

Commit messages:
 - Backport fd10f1996ef94529b5b12e547957cd904ade1956

Changes: https://git.openjdk.java.net/jdk17u/pull/220/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk17u&pr=220&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8275302
  Stats: 14 lines in 2 files changed: 13 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk17u/pull/220.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk17u pull/220/head:pull/220

PR: https://git.openjdk.java.net/jdk17u/pull/220


More information about the jdk-updates-dev mailing list