[
https://issues.apache.org/jira/browse/FLINK-4176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15367414#comment-15367414
]
ASF GitHub Bot commented on FLINK-4176:
---------------------------------------
GitHub user tzulitai opened a pull request:
https://github.com/apache/flink/pull/2215
[FLINK-4176][kinesis-connector] Remove Java8-specific 'Long.hashCode()'
method from Kinesis connector
Causing the Travis builds with JDK: openjdk7 to fail. Changed to non Java8
specific usage.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tzulitai/flink FLINK-4176
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/2215.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2215
----
commit 28782dac33da96801a97095b6dc75d1dc87b7547
Author: Gordon Tai <[email protected]>
Date: 2016-07-08T08:52:28Z
[FLINK-4176][kinesis-connector] Remove Java8-specific `Long.hashCode()`
method from Kinesis connector
----
> Travis build fails at flink-connector-kinesis for JDK: openjdk7
> ---------------------------------------------------------------
>
> Key: FLINK-4176
> URL: https://issues.apache.org/jira/browse/FLINK-4176
> Project: Flink
> Issue Type: Bug
> Reporter: Tzu-Li (Gordon) Tai
> Assignee: Tzu-Li (Gordon) Tai
> Priority: Critical
> Fix For: 1.1.0
>
>
> Kinesis consumer code is using the static `Long.hashCode()` method, which is
> supported only since Java 1.8. Changing to use
> `Long.valueOf(long).hashCode()` should fix this.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)