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

javac doesn't allow a subclass to be declared before a sealed superclass with no permits clause

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b27

      Description

      javac issues an error for code like:

      final class B extens A {}

      sealed class A {}

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              vromero Vicente Arturo Romero Zaldivar
              Reporter:
              vromero Vicente Arturo Romero Zaldivar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: