Illegal reflective access by org.xerial.snappy.pure.UnsafeUtil
ygokirmak44 opened this issue · comments
Yavuz Gokirmak commented
Hi,
I saw a similar error before, I wonder if the error persists for snappy-java:1.1.8.4
We are using below versions and Java11
| | +--- org.apache.kafka:kafka-clients:3.0.2 -> 3.1.2
| | | +--- com.github.luben:zstd-jni:1.5.0-4
| | | +--- org.lz4:lz4-java:1.8.0
| | | +--- org.xerial.snappy:snappy-java:1.1.8.4
We get this error
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.xerial.snappy.pure.UnsafeUtil (jar:file:/app.jar!/BOOT-INF/lib/snappy-java-1.1.8.4.jar!/) to field java.nio.Buffer.address
WARNING: Please consider reporting this to the maintainers of org.xerial.snappy.pure.UnsafeUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[thread 26 also had an error]
[thread 28 also had an error]
[thread 30 also had an error]
[thread 25 also had an error]
[thread 27 also had an error]
[thread 8 also had an error]
[thread 31 also had an error]
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f8c288901cd, pid=1, tid=29
#
# JRE version: OpenJDK Runtime Environment Temurin-11.0.18+10 (11.0.18+10) (build 11.0.18+10)
# Java VM: OpenJDK 64-Bit Server VM Temurin-11.0.18+10 (11.0.18+10, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x7cd1cd] G1ParScanThreadState::copy_to_survivor_space(InCSetState, oopDesc*, markOopDesc*)+0x36d
#
# Core dump will be written. Default location: /core.%e.1.%t
#
# An error report file with more information is saved as:
# //hs_err_pid1.log
#
# If you would like to submit a bug report, please visit:
# https://github.com/adoptium/adoptium-support/issues
#
Taro L. Saito commented
Pure-java snappy support has been removed since 1.1.9.0, so this error should be resolved now