Skip to content

Commit 7a1aedd

Browse files
author
pazus
committed
Remove kotlin compilation warning
commit_hash:44bba6229e44c6c9edef93e123e882b77945a4d9
1 parent 8b865f2 commit 7a1aedd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/conf/java.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1537,7 +1537,7 @@ when ($JDK_REAL_VERSION in [ "11", "17", "21", "22", "23" ]) {
15371537
KOTLINC_ENABLE_NATIVE_ACCESS=
15381538
}
15391539
otherwise {
1540-
KOTLINC_ENABLE_NATIVE_ACCESS="--enable-native-access=ALL-UNNAMED"
1540+
KOTLINC_ENABLE_NATIVE_ACCESS=--enable-native-access=ALL-UNNAMED --sun-misc-unsafe-memory-access=allow
15411541
}
15421542

15431543
# tag:java-specific

0 commit comments

Comments
 (0)