[
https://issues.apache.org/jira/browse/HBASE-27643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Duo Zhang resolved HBASE-27643.
-------------------------------
Fix Version/s: 2.6.0
3.0.0-alpha-4
2.4.17
2.5.4
Hadoop Flags: Reviewed
Resolution: Fixed
Pushed to branch-2.4+.
Thanks [~tangtianhang] for contributing!
> [JDK17] Add-opens java.util.concurrent
> --------------------------------------
>
> Key: HBASE-27643
> URL: https://issues.apache.org/jira/browse/HBASE-27643
> Project: HBase
> Issue Type: Sub-task
> Components: java, test
> Reporter: tianhang tang
> Assignee: tianhang tang
> Priority: Major
> Fix For: 2.6.0, 3.0.0-alpha-4, 2.4.17, 2.5.4
>
>
> 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)