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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 8
    • core-libs
    • None
    • b28
    • generic
    • generic

        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.

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

                Created:
                Updated:
                Resolved: