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

sun/tools/jrunscript/* tests fail with "Expected an operand but found var"

    XMLWordPrintable

Details

    Description

      The tests fail with the following error:

      < script error in file <system-init> : <system-init>:220:0 Expected an operand but found var
      < var inp = java.lang.System["in"];
      < ^ in <system-init> at line number 220 at column number 0

      This seems to happen while parsing line 220 of
      jdk/src/java.scripting/share/classes/com/sun/tools/script/shell/init.js

      Attachments

        Issue Links

          Activity

            People

              thartmann Tobias Hartmann
              thartmann Tobias Hartmann
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: