[
https://issues.apache.org/jira/browse/IGNITE-6740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16289465#comment-16289465
]
Andrey Kuznetsov commented on IGNITE-6740:
------------------------------------------
[~ezhuravl], I think it's a good idea. And also we can get {{address}} field
offset only once per JVM lifetime, right?
> 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)