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

VM fails if any sun.boot.library.path paths are longer than JVM_MAXPATHLEN

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 14
    • 8, 11
    • hotspot
    • b12

      When one or more of the paths in the sun.boot.library.path property are longer than JVM_MAXPATHLEN, both this path and all other paths are ignored.

      The correct behaviour, as determined via community consultation, should be for the VM to fail immediately with a useful message.

      Also, in fixing this issue, I also added a modifier for the length of the path, so that any additional characters (sub path, file name, etc) are be taken into consideration when determining if the path is too long.

      Test case is included in the webrev.

      http://cr.openjdk.java.net/~afarley/8227021.6/webrev/

            afarley Adam Farley
            afarley Adam Farley
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: