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

JShell: Better error message on attempting to add default method

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b24

      Backports

        Description

        -> default void m() { }
        | Error:
        | illegal start of statement
        | default void m() { }
        | ^

        ->

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                rfield Robert Field
                Reporter:
                rfield Robert Field
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: