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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 1.3.1, 1.3.1_04
    • Fix Version/s: 1.3.1_04
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      04
    • CPU:
      generic, x86
    • OS:
      windows_xp

      Backports

        Description

        ###@###.###
        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());
           }
        }

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: