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

GetDefaultJavaHome does not deal correctly with dli_fname=<absolute path>

    XMLWordPrintable

Details

    • 1.2beta3
    • generic
    • solaris_2.5.1
    • Not verified

    Description

       In GetDefaultJavaHome(), in src/solaris/java/jre/jre_md.c, variable
          "char *path" does not get set if dladdr returns a pathname that starts
          with a '/'.

      Seems like the intent is to return an absolute path so if dladdr()
      can really return an absolute path (as opposed to a filename as documented
      in the man page), then we should be dealing with this edge case.

      Attachments

        Activity

          People

            dconnellsunw David Connelly (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: