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

com/sun/jdi/PrivateTransportTest.sh fails to load transport on Windows when fullpath too long

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 8
    • Fix Version/s: tbd
    • Component/s: core-svc
    • Labels:
      None

      Description

      jdk8 com/sun/jdi/PrivateTransportTest.sh on Windows tries to load the private_transport using the full windows path without using the -agentpath for "absolute" file paths, this results in the runtime attempting to load from libraryPath/fullpath.dll which can easily exceed the 260 char PATH limit as it will have two full paths in it, resulting in the following failure:
      JDWP exit error JVMTI_ERROR_INVALID_LOCATION(24): One or more of the library paths supplied to jdwp, likely by sun.boot.library.path, is too long. [linker_md.c:60]
      The testcase should use the -agentpath option for a fullpath

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            aleonard Andrew Leonard
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: