Skip to content

Commit 3ffc0b5

Browse files
authored
HBASE-27510 Should use 'org.apache.hbase.thirdparty.io.netty.tryReflectionSetAccessible' (#4898)
Signed-off-by: Wei-Chiu Chuang <[email protected]>
1 parent 7fc4d99 commit 3ffc0b5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bin/hbase

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ add_jdk11_deps_to_classpath() {
495495
}
496496

497497
add_jdk11_jvm_flags() {
498-
HBASE_OPTS="$HBASE_OPTS -Dio.netty.tryReflectionSetAccessible=true --illegal-access=permit --add-modules jdk.unsupported --add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/jdk.internal.ref=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED --add-exports java.base/jdk.internal.misc=ALL-UNNAMED"
498+
HBASE_OPTS="$HBASE_OPTS -Dorg.apache.hbase.thirdparty.io.netty.tryReflectionSetAccessible=true --add-modules jdk.unsupported --add-opens java.base/java.nio=ALL-UNNAMED --add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/jdk.internal.ref=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED --add-exports java.base/jdk.internal.misc=ALL-UNNAMED --add-exports java.security.jgss/sun.security.krb5=ALL-UNNAMED"
499499
}
500500

501501
add_opentelemetry_agent() {

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3182,7 +3182,7 @@
31823182
<properties>
31833183
<maven.compiler.release>${releaseTarget}</maven.compiler.release>
31843184
<!-- TODO: replicate logic for windows support -->
3185-
<argLine>-Dio.netty.tryReflectionSetAccessible=true
3185+
<argLine>-Dorg.apache.hbase.thirdparty.io.netty.tryReflectionSetAccessible=true
31863186
--add-modules jdk.unsupported
31873187
--add-opens java.base/java.nio=ALL-UNNAMED
31883188
--add-opens java.base/sun.nio.ch=ALL-UNNAMED

0 commit comments

Comments
 (0)