(process) subprocess environment sort order differs from Windows native sort order

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 7
    • Affects Version/s: 5.0u7, 6
    • Component/s: core-libs
    • b03
    • generic, x86
    • windows, windows_xp
    • Verified

        As specified in the Microsoft documentation,

        http://windowssdk.msdn.microsoft.com/en-us/library/ms682009.aspx

        "All strings in the environment block must be sorted alphabetically by name. The sort is case-insensitive, Unicode order, without regard to locale"

        Unfortunately, this specification does not make it clear whether a character between
        the lower-case range and the upper-case range, such as "_", should sort
        before or after the alphabetic characters. An empirical test shows that it
        Windows (actually cmd.exe's "set" command) sorts it after, while Java's
        implementation sorts it before.

              Assignee:
              Martin Buchholz
              Reporter:
              Martin Buchholz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: