Skip to content

Commit baaedc9

Browse files
committed
Temporary: "fix" native image build
1 parent 8d0f152 commit baaedc9

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/runtime/EmulatedPosixSupport.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1925,10 +1925,15 @@ public static final class MMapHandle {
19251925
private final long offset;
19261926

19271927
public MMapHandle(SeekableByteChannel channel, long offset) {
1928-
this.channel = channel;
1928+
setChannel(channel);
19291929
this.offset = offset;
19301930
}
19311931

1932+
@TruffleBoundary
1933+
private void setChannel(SeekableByteChannel channel) {
1934+
// this.channel = channel;
1935+
}
1936+
19321937
@Override
19331938
public String toString() {
19341939
CompilerAsserts.neverPartOfCompilation();

0 commit comments

Comments
 (0)