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

    • Bug
    • Resolution: Fixed
    • P3
    • 9
    • 8
    • core-libs
    • None
    • b28
    • generic
    • 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

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

                Dates

                  Created:
                  Updated:
                  Resolved: