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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • None
    • 8
    • core-libs
    • None
    • b106
    • generic
    • generic

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: