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

jjs exits interactive mode if exception was thrown when trying to print value of last evaluated expression

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b28
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        jjs
        jjs> var x = Object.create(null);
        jjs> x;

        Expected:

        Error message is printed (because x can't be converted to String to print it) -- but interactive mode to continue.

        Actual:

        Stack trace printed with TypeError and jjs process exits.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                sundar Sundararajan Athijegannathan
                Reporter:
                sundar Sundararajan Athijegannathan
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: