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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 18
    • 17, 18
    • tools
    • b14

    Description

      jshell is not compiling this code:

      sealed interface I permits C {}
      non-sealed class C implements I {}

      Attachments

        Issue Links

          Activity

            People

              jlahoda Jan Lahoda
              vromero Vicente Arturo Romero Zaldivar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: