Skip to content

Commit a37da60

Browse files
committed
suppress warning from restricted System.load() call
1 parent 92626db commit a37da60

File tree

1 file changed

+1
-0
lines changed
  • graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/cext/hpy/jni

1 file changed

+1
-0
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/cext/hpy/jni/GraalHPyJNIContext.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,7 @@ protected void initNativeFastPaths() {
440440
initJNINativeFastPaths(nativePointer);
441441
}
442442

443+
@SuppressWarnings("restricted")
443444
public static void loadJNIBackend() {
444445
if (!(ImageInfo.inImageBuildtimeCode() || jniBackendLoaded)) {
445446
String pythonJNIPath;

0 commit comments

Comments
 (0)