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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: None
    • Component/s: 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).

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

              Created:
              Updated:
              Resolved: