[
https://issues.apache.org/jira/browse/IGNITE-6740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16301301#comment-16301301
]
Andrey Gura commented on IGNITE-6740:
-------------------------------------
I've added new comments to upsource. I should also stress that the problem not
with {{address}} method (it's public for {{DirectBuffer}} and
{{DirectByteBuffer}}). Actually {{DirectBuffer}} interface and
{{DirectByteBuffer}} class are not accessible in Java 9. We should remove all
castings, instance type checking, etc.
> Java 9: rework DirectBuffer.address() usages
> --------------------------------------------
>
> Key: IGNITE-6740
> URL: https://issues.apache.org/jira/browse/IGNITE-6740
> Project: Ignite
> Issue Type: Task
> Components: general
> Reporter: Vladimir Ozerov
> Assignee: Andrey Kuznetsov
> Fix For: 2.4
>
>
> We have two usages of {{DirectBuffer.address()}} method which is no longer
> accessible in Java 9:
> 1) {{DirectByteBufferStreamImplV1}}
> 2) {{DirectByteBufferStreamImplV2}}
> Need to rework this code using reflection and/or {{Unsafe}}, so that it
> compiles and work on all Java versions.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)