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

JShell API: make a common JShellException

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b117
    • Verification:
      Not verified

      Description

      In SnippetEvent, I think using a return type of java.lang.Exception for the exception() method is unfortunately imprecise. I recommend either combining UnresolvedReferenceException and EvalException into a single type or introducing a common JShellException supertype for those exceptions to subclass.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: