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

[macosx] "os.arch" value should be "x86_64" for compatibility with Apple JDK6

    Details

    • Subcomponent:
    • Resolved In Build:
      b20
    • CPU:
      generic, x86
    • OS:
      os_x
    • Verification:
      Verified

      Backports

        Description

        Current jdk7u-osx workspace doesn't build if ALT_BOOTDIR is set to the latest JDK7 build. The root cause is that "os.arch" system property value is different between Apple JDK6 and Oracle JDK7, x86_64 and amd64 respectively.
        Expanding the scope to also cover adjustments to os.name...

        < osName.startWith("Mac OS X")
        > osName.contains("OS X")

        Many of the files overlap and it's convenient to do both as part of the work for this bug.
        CCC request approved...

           http://ccc.sfbay/7130404
        Simple testcase...

        public class P {
          public static void main(String args []) {
            System.out.println(System.getProperty("os.name"));
            System.out.println(System.getProperty("os.arch"));
          }
        }

        Test passes if the following is written to stdout...

        Mac OS X
        x86_64

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jmelvin James Melvin (Inactive)
                  Reporter:
                  art Artem Ananiev
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: