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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 6
    • Affects Version/s: 6
    • Component/s: 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().

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: