tianhang tang created HBASE-27643:
-------------------------------------
Summary: [JDK17] Add-opens java.util.concurrent
Key: HBASE-27643
URL: https://issues.apache.org/jira/browse/HBASE-27643
Project: HBase
Issue Type: Sub-task
Reporter: tianhang tang
Assignee: tianhang tang
Met this failure UT base on JDK17:
{code:java}
[ERROR] Errors:
[ERROR] TestOpenRegionFailedMemoryLeak.testOpenRegionFailedMemoryLeak:108 »
InaccessibleObject Unable to make field private final
java.util.concurrent.BlockingQueue
java.util.concurrent.ThreadPoolExecutor.workQueue accessible: module java.base
does not "opens java.util.concurrent" to unnamed module @20322d26
[INFO]
[ERROR] Tests run: 9, Failures: 0, Errors: 1, Skipped: 0 {code}
It seems that since JDK 16 this kind of access was switched to deny by default
([https://openjdk.java.net/jeps/396])
--
This message was sent by Atlassian Jira
(v8.20.10#820010)