Red Hat Bugzilla – Bug 383681
Incorrect identifier for ppc64 in org.eclipse.core.runtime.Platform
Last modified: 2011-01-24 17:16:34 EST
Description of problem:
from the ppc64 rpms. the zip file contains Platform.java which contains this
public static final String ARCH_IA64 = "ppc64"; //$NON-NLS-1 $
I'm not sure why the ARCH_IA64 identifier would be used for ppc64 and why this
line is not contained within the 32 bit eclipse-rcp-sdk, with java being cross
platform and all.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
2. unzip src.zip
3. grep "ARCH_IA64 " org/eclipse/core/runtime/Platform.java
public static final String ARCH_IA64 = "ppc64"; //$NON-NLS-1$
public static final String ARCH_PPC64 = "ppc64"; //$NON-NLS-1$
The method org.eclipse.core.runtime.Platform.getOSArch()
returns "ppc64", does return the correct architecture, however the constant
associated with it on org.eclipse.core.runtime.Platform. "ppc64" is associated
This can lead to problems as if we trust ARCH_IA64 to enable features on ia64
architectures these features will be also enabled on PPC64 (what is probably
wrong) and also cause some confusion as we will have to check for ARCH_IA64
architectures when running on PPC64 platforms.
I was unable to see this in the 32 bit version of RHEL5.
The ppc64 support in eclipse is hacked in because it's not supported by default
from eclipse.org. This is a bug in either the patch or the shell snippet that
adds support for ppc64. Moving bug to Red Hat Eclipse team.
This is the business justification which did not make it over from Issue Tracker:
----- Additional Comments From email@example.com (prefers email at
firstname.lastname@example.org) 2007-11-16 14:03 EDT -------
RHEL is the only supported platform for Cell SDK & IDE on PPC64. Without this
fix, Cell IDE is not functional and hence no RHEL user/SDK user will be able to
develop applications using the Eclipse GUI for Cell.
Development Management has reviewed and declined this request. You may appeal
this decision by reopening this request.
Created attachment 278891 [details]
Customer tested patch
Customer says that this patch fixes said bug, although I'd like to think that
such an obvious issue would be the work of generated code, not a human making
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.