-d=<dir> fails for any dir but . in Nashorn

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 8
    • Affects Version/s: None
    • Component/s: core-libs
    • None
    • b106
    • generic
    • generic

      e.g.


      alhazred:make marcus [b102]$ java -jar ../dist/nashorn.jar -co -d=/tmp/ ../test/script/basic/NASHORN-376.js


      fails with
      [compiler] Skipping class dump for jdk/nashorn/internal/scripts/Script$NASHORN_376: cannot write "jdk/nashorn/internal/scripts"

      while -d=. works fine

            Assignee:
            Marcus Lagergren
            Reporter:
            Marcus Lagergren
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: