[
https://issues.apache.org/jira/browse/IGNITE-6740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16286347#comment-16286347
]
ASF GitHub Bot commented on IGNITE-6740:
----------------------------------------
GitHub user andrey-kuznetsov opened a pull request:
https://github.com/apache/ignite/pull/3199
IGNITE-6740: Replaced direct sun.nio.ch.DirectBuffer.address() call with
reflective one
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/andrey-kuznetsov/ignite ignite-6740
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/3199.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3199
----
commit 14f5e8ed3ada76464740e5a7d9def469a60e04db
Author: Andrey Kuznetsov <[email protected]>
Date: 2017-12-11T17:47:50Z
IGNITE-6740: Replaced direct sun.nio.ch.DirectBuffer.address() call with
reflective one.
----
> 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)