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

JreFindDialog can now find both the java in the jre and the one in the jdk.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 6
    • 6
    • deploy
    • None
    • b74
    • 6
    • b77
    • generic
    • generic
    • Verified

      The fix to 6377437 mistakenly assumed that the return from File.list() would be sorted, as a result, sometimes using the control panels jre find diualog will find both copies of java in a jdk, sometimes it will only return the one in the jdk.
      This can easily be fixed by calling java.util.Arrays.sort(kids) for the array (kids) of paths returned from the File.list() call in JreFindDialog.check().

            herrick Andy Herrick (Inactive)
            herrick Andy Herrick (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: