File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ Next Release (5.18.0)
77
88Features
99--------
10+ * [ #1671 ] ( https://github.com/java-native-access/jna/pull/1671 ) : Add ` isRISCV ` to ` c.s.j.Platform ` - [ @Glavo ] ( https://github.com/Glavo ) .
1011
1112Bug Fixes
1213---------
Original file line number Diff line number Diff line change @@ -246,6 +246,10 @@ public static final boolean isLoongArch() {
246246 return ARCH .startsWith ("loongarch" );
247247 }
248248
249+ public static final boolean isRISCV () {
250+ return ARCH .startsWith ("riscv" );
251+ }
252+
249253 static String getCanonicalArchitecture (String arch , int platform ) {
250254 arch = arch .toLowerCase ().trim ();
251255 if ("powerpc" .equals (arch )) {
You can’t perform that action at this time.
0 commit comments