Ivan Pavlukhin created IGNITE-12787:
---------------------------------------

             Summary: 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
             Fix For: 2.9


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)

Reply via email to