JDK1.3.1 getProperties() doesn't get windows XP os.name correctly.

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 1.3.1_04
    • Affects Version/s: 1.3.1, 1.3.1_04
    • Component/s: core-libs
    • 04
    • generic, x86
    • windows_xp

        ###@###.###
        Java Version: jdk1.3.1_03

        The JDK1.3.1 System.getProperty("os.name") doesn't get windows XP's os.name correctly, It should get windows XP professional in stead of windows 2000.
        getProperies() has the same problem too.

        To reproduce this problem:
        Run the following code in windows XP pro:

        public class XpOsname {
           public static void main(String[] args) {
             System.out.print(" " + System.getProperty("os.name"));
             System.out.print(" " + System.getProperties());
           }
        }

              Assignee:
              Konstantin Kladko (Inactive)
              Reporter:
              Tao Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: