[
https://issues.apache.org/jira/browse/IGNITE-6743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16301279#comment-16301279
]
Vladimir Ozerov commented on IGNITE-6743:
-----------------------------------------
[~andrey-kuznetsov], [~ezhuravl], I support Evgenii here that closures (and
possible lambdas in Java 8 +) is overengineering. All we need is to get three
fields/methods, and call them ocnditionally based on Java version. No need for
any abstractions here, this is just small and simple utility method.
> Java 9: rework DirectBuffer.cleaner().clean() usage in GridNioServer
> --------------------------------------------------------------------
>
> Key: IGNITE-6743
> URL: https://issues.apache.org/jira/browse/IGNITE-6743
> Project: Ignite
> Issue Type: Task
> Components: general
> Reporter: Vladimir Ozerov
> Assignee: Andrey Kuznetsov
> Fix For: 2.4
>
>
> When session is closed we clean allocated {{DirectByteBuffer}}-s using
> {{sun.misc.Cleaner}}. Need to rework this piece to reflection-based approach
> which will work for supported Java versions.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)