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

jjs throws NoSuchFileException if ~/.jjs.history does not exist

XMLWordPrintable

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

      After JDK-8133549 jjs will throw java.nio.file.NoSuchFileException if file .jjs.history does not exist in user's home directory. This is caused by unconditionally reading the file in jdk.nashorn.tools.jjs.Console.<init>(jdk.scripting.nashorn.shell/Console.java:62).

            hannesw Hannes Wallnoefer
            hannesw Hannes Wallnoefer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: