Skip to content

Commit

Permalink
Deprecate ARCH_X86 and WS_WPF constants in o.e.core.runtime.Platform
Browse files Browse the repository at this point in the history
and update the list of known architectures and window-systems
  • Loading branch information
HannesWell authored and akurtakov committed Oct 3, 2024
1 parent 65ab78f commit 1524ff1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@
*/
public final class InternalPlatform {

private static final String[] ARCH_LIST = { Platform.ARCH_AARCH64, Platform.ARCH_X86, Platform.ARCH_X86_64 };
private static final String[] ARCH_LIST = { Platform.ARCH_AARCH64, Platform.ARCH_PPC64LE, Platform.ARCH_RISCV64,
Platform.ARCH_X86_64 };

public static final StackWalker STACK_WALKER = StackWalker.getInstance(StackWalker.Option.RETAIN_CLASS_REFERENCE);

Expand Down Expand Up @@ -132,7 +133,7 @@ public final class InternalPlatform {

private static final InternalPlatform singleton = new InternalPlatform();

private static final String[] WS_LIST = { Platform.WS_COCOA, Platform.WS_GTK, Platform.WS_WIN32, Platform.WS_WPF };
private static final String[] WS_LIST = { Platform.WS_COCOA, Platform.WS_GTK, Platform.WS_WIN32 };
private IPath cachedInstanceLocation; // Cache the path of the instance location
private ServiceTracker<Location,Location> configurationLocation = null;
private BundleContext context;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,9 @@ public static boolean isMac() {
* </p>
*
* @since 3.0
* @deprecated not supported anymore
*/
@Deprecated
public static final String ARCH_X86 = "x86";//$NON-NLS-1$

/**
Expand Down Expand Up @@ -548,7 +550,9 @@ public static boolean isMac() {
* machine using the WPF windowing system.
*
* @since 3.3
* @deprecated not supported anymore
*/
@Deprecated
public static final String WS_WPF = "wpf";//$NON-NLS-1$

/**
Expand Down

0 comments on commit 1524ff1

Please sign in to comment.