[ https://issues.apache.org/jira/browse/FLINK-6901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16080548#comment-16080548 ]
ASF GitHub Bot commented on FLINK-6901: --------------------------------------- Github user uce commented on a diff in the pull request: https://github.com/apache/flink/pull/4112#discussion_r126464199 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/io/network/netty/NettyBufferPool.java --- @@ -61,7 +60,9 @@ public NettyBufferPool(int numberOfArenas) { checkArgument(numberOfArenas >= 1, "Number of arenas"); this.numberOfArenas = numberOfArenas; - if (!PlatformDependent.hasUnsafe()) { + try { + Class.forName("sun.misc.Unsafe"); + } catch (ClassNotFoundException e) { --- End diff -- Is ok with me to remove this check > Flip checkstyle configuration files > ----------------------------------- > > Key: FLINK-6901 > URL: https://issues.apache.org/jira/browse/FLINK-6901 > Project: Flink > Issue Type: Improvement > Components: Checkstyle > Affects Versions: 1.4.0 > Reporter: Chesnay Schepler > Assignee: Chesnay Schepler > > We currently have 2 checkstyle files, {{checkstyle.xml}} as the basic > version, and {{strict-checkstyle.xml}} as a heavily expanded version that is > applied to most existing modules (see FLINK-6698). > [~greghogan] suggested to flip the checkstyle while reviewing this PR > https://github.com/apache/flink/pull/4086, given that the strict checkstyle > is supposed to subsume the existing checkstyle in the long-term. -- This message was sent by Atlassian JIRA (v6.4.14#64029)