Skip to content

Commit e10b3a7

Browse files
committed
Add workaround for GR-50026
1 parent 442621c commit e10b3a7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/modules/ctypes/CtypesModuleBuiltins.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1909,7 +1909,7 @@ Object cast(Pointer ptr, Pointer srcObj, Pointer ctypeObj,
19091909

19101910
@ExportLibrary(InteropLibrary.class)
19111911
@SuppressWarnings("static-method")
1912-
protected static final class CastFunction implements TruffleObject {
1912+
protected static class CastFunction implements TruffleObject {
19131913

19141914
protected static NativeFunction create() {
19151915
Object f = new CastFunction();
@@ -1947,7 +1947,7 @@ static Object memmove(Node inliningTarget, Pointer destPtr, Pointer srcPtr, long
19471947

19481948
@ExportLibrary(InteropLibrary.class)
19491949
@SuppressWarnings("static-method")
1950-
protected static final class MemMoveFunction implements TruffleObject {
1950+
protected static class MemMoveFunction implements TruffleObject {
19511951

19521952
final Object nativeMemmove;
19531953

@@ -2025,7 +2025,7 @@ static Object memset(Node inliningTarget, Pointer ptr, int value, long size,
20252025

20262026
@ExportLibrary(InteropLibrary.class)
20272027
@SuppressWarnings("static-method")
2028-
protected static final class MemSetFunction implements TruffleObject {
2028+
protected static class MemSetFunction implements TruffleObject {
20292029

20302030
final Object nativeMemset;
20312031

@@ -2091,7 +2091,7 @@ static Object string_at(Pointer ptr, int size,
20912091

20922092
@ExportLibrary(InteropLibrary.class)
20932093
@SuppressWarnings("static-method")
2094-
protected static final class StringAtFunction implements TruffleObject {
2094+
protected static class StringAtFunction implements TruffleObject {
20952095

20962096
protected static NativeFunction create() {
20972097
Object f = new StringAtFunction();
@@ -2138,7 +2138,7 @@ static TruffleString wstring_at(Pointer ptr, int size,
21382138

21392139
@ExportLibrary(InteropLibrary.class)
21402140
@SuppressWarnings("static-method")
2141-
protected static final class WStringAtFunction implements TruffleObject {
2141+
protected static class WStringAtFunction implements TruffleObject {
21422142

21432143
protected static NativeFunction create() {
21442144
Object f = new WStringAtFunction();

0 commit comments

Comments
 (0)