os.arch "amd64" or "x86_64"?
Michael McMahon
michael.x.mcmahon at oracle.com
Tue Feb 14 04:18:20 PST 2012
On 14/02/12 11:50, Claudio Nieder wrote:
> Hi,
>
> amd64 also breaks this test in JObjC:
>
> private static Arch getArch(){
> String arch = System.getProperty("os.arch");
> if("ppc".equals(arch)) return Arch.ppc;
> if("i386".equals(arch)) return Arch.i386;
> if("x86_64".equals(arch)) return Arch.x86_64;
> if("universal".equals(arch)) return Arch.x86_64;
> throw new RuntimeException("Did not recognize os.arch system property: '" + arch + "'");
> }
>
> But when testing for an arch, would it make sense to include also amd64 just to be safe?
>
> claudio
I have a fix for this, that is just ready to push. And that's exactly
what it does
- Michael.
More information about the macosx-port-dev
mailing list