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

JShell API: make a common JShellException

XMLWordPrintable

    • b117
    • Not verified

      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.

            rfield Robert Field (Inactive)
            rfield Robert Field (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: