Skip to content

Commit 916d7f2

Browse files
committed
Add constant for riscv64 architecture in Platform class
Part of eclipse-platform/eclipse.platform.releng.aggregator#2310
1 parent c25f2b7 commit 916d7f2

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

runtime/bundles/org.eclipse.core.runtime/META-INF/MANIFEST.MF

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Manifest-Version: 1.0
22
Bundle-ManifestVersion: 2
33
Bundle-Name: %pluginName
4-
Bundle-Version: 3.31.100.qualifier
4+
Bundle-Version: 3.32.0.qualifier
55
Bundle-SymbolicName: org.eclipse.core.runtime; singleton:=true
66
Bundle-Vendor: %providerName
77
Bundle-Activator: org.eclipse.core.internal.runtime.PlatformActivator

runtime/bundles/org.eclipse.core.runtime/src/org/eclipse/core/runtime/Platform.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,15 @@ public static boolean isMac() {
409409
*/
410410
public static final String ARCH_AARCH64 = "aarch64";//$NON-NLS-1$
411411

412+
/**
413+
* Constant string (value {@code aarch64} indicating the platform is running on
414+
* an RISC-V 64bit-based architecture.
415+
*
416+
* @since 3.32
417+
*
418+
*/
419+
public static final String ARCH_RISCV64 = "riscv64";//$NON-NLS-1$
420+
412421
/**
413422
* Constant string (value "amd64") indicating the platform is running on an
414423
* AMD64-based architecture.

0 commit comments

Comments
 (0)