[
https://issues.apache.org/jira/browse/HBASE-12081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16036746#comment-16036746
]
ramkrishna.s.vasudevan commented on HBASE-12081:
------------------------------------------------
Considering the fact that we are accessing the private members of sun.nio,
java.lang.reflect etc. All those will fail. Any code using setAccessible(true)
will fail to work. Java 9 suggests some alternate for this (not sure whether we
will have a better work around when the actual release happens).
Alternate includes adding these extns to JVM
(for eg)
{code}
--add-exports=java.base/sun.nio.ch=ALL-UNNAMED
--add-opens=java.base/java.lang.reflect=ALL-UNNAMED
{code}
Just adding it here as I could see this JIRA as the umbrella JIRA.
> Considering Java 9
> ------------------
>
> Key: HBASE-12081
> URL: https://issues.apache.org/jira/browse/HBASE-12081
> Project: HBase
> Issue Type: Umbrella
> Reporter: Andrew Purtell
>
> Java 9 will ship in 2016. This will be the first Java release that makes a
> significant compatibility departure from earlier runtimes.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)