[ 
https://issues.apache.org/jira/browse/IGNITE-6740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrey Kuznetsov updated IGNITE-6740:
-------------------------------------
    Comment: was deleted

(was: [~vozerov], when one tries to set {{Buffer.address}} field accessible 
JRE9 fires warnings like

{noformat}
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by ... to field java.nio.Buffer.address
WARNING: Please consider reporting this to the maintainers of ...
WARNING: Use --illegal-access=warn to enable warnings of further illegal 
reflective access operations
WARNING: All illegal access operations will be denied in a future release
{noformat}

Why can't we always fall back to offset?)

> 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)

Reply via email to