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

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

XMLWordPrintable

      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

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

              Created:
              Updated:
              Resolved: