RFR: 8273257: jshell doesn't compile a sealed hierarchy with a sealed interface and a non-sealed leaf

Vicente Romero vromero at openjdk.java.net
Thu Sep 2 17:09:02 UTC 2021


On Thu, 2 Sep 2021 10:34:13 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:

> Considering code like:
> 
> non-sealed class C implements Undefined {}
> 
> 
> javac will currently produce these compile-time errors:

lgtm

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

Marked as reviewed by vromero (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/5348


More information about the compiler-dev mailing list