[
https://issues.apache.org/jira/browse/IGNITE-12787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17061610#comment-17061610
]
Andrey Mashenkov commented on IGNITE-12787:
-------------------------------------------
[~Pavlukhin],
There was a link to Oracle JDK ticket which looks outdated and broken.
Is there any proof that the fix is a part of all 1.8_x JDK versions?
I mean here not only OracleJDK, but OpenJDK and other vendors.
> Remove obsolete Selector.open workaround code from GridNioServer
> ----------------------------------------------------------------
>
> Key: IGNITE-12787
> URL: https://issues.apache.org/jira/browse/IGNITE-12787
> Project: Ignite
> Issue Type: Task
> Components: general
> Reporter: Ivan Pavlukhin
> Assignee: Ivan Pavlukhin
> Priority: Major
> Fix For: 2.9
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> There is a code in {{GridNioServer}} aimed to workaround an old bug in JDK
> 1.5 which was fixed in 1.7.
> {code}
> static {
> // This is a workaround for JDK bug (NPE in Selector.open()).
> // http://bugs.sun.com/view_bug.do?bug_id=6427854
> try {
> Selector.open().close();
> }
> catch (IOException ignored) {
> // No-op.
> }
> }
> {code}
> Currently Java 8 is a minimal supported version. So, the workaround code can
> be removed.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)