[jdk25] RFR: 8361570: Incorrect 'sealed is not allowed here' compile-time error

Jan Lahoda jlahoda at openjdk.org
Tue Jul 8 14:41:21 UTC 2025


Hi all,

This pull request contains a backport of commit [85331943](https://github.com/openjdk/jdk/commit/853319439e7887ddd54f8c4a3d79aa62ec51fd64) from the [openjdk/jdk](https://git.openjdk.org/jdk) repository.

The commit being backported was authored by Jan Lahoda on 8 Jul 2025 and was reviewed by Maurizio Cimadamore and Vicente Romero.

Thanks!

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

Commit messages:
 - Backport 853319439e7887ddd54f8c4a3d79aa62ec51fd64

Changes: https://git.openjdk.org/jdk/pull/26188/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26188&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8361570
  Stats: 118 lines in 4 files changed: 105 ins; 5 del; 8 mod
  Patch: https://git.openjdk.org/jdk/pull/26188.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26188/head:pull/26188

PR: https://git.openjdk.org/jdk/pull/26188


More information about the compiler-dev mailing list