[
https://issues.apache.org/jira/browse/IGNITE-12787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17061212#comment-17061212
]
Ignite TC Bot commented on IGNITE-12787:
----------------------------------------
{panel:title=Branch: [pull/7535/head] Base: [master] : No blockers
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
[TeamCity *--> Run :: All*
Results|https://ci.ignite.apache.org/viewLog.html?buildId=5130249&buildTypeId=IgniteTests24Java8_RunAll]
> 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)