You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Greg Hogan (JIRA)" <ji...@apache.org> on 2016/09/20 14:17:20 UTC

[jira] [Updated] (FLINK-4638) Fix exception message for MemorySegment

     [ https://issues.apache.org/jira/browse/FLINK-4638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Greg Hogan updated FLINK-4638:
------------------------------
    Fix Version/s: 1.2.0

> Fix exception message for MemorySegment
> ---------------------------------------
>
>                 Key: FLINK-4638
>                 URL: https://issues.apache.org/jira/browse/FLINK-4638
>             Project: Flink
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 2.0.0, 1.1.2, 1.1.3
>            Reporter: Liwei Lin
>            Priority: Trivial
>             Fix For: 1.2.0
>
>
> Please see the code snip below:
> {code:title=MemorySegment.java|borderStyle=solid}
> if (offHeapAddress >= Long.MAX_VALUE - Integer.MAX_VALUE) {
>   throw new IllegalArgumentException("Segment initialized with too large address: " + address // here address has not been initialized yet; should really be offHeapAddress 
>       + " ; Max allowed address is " + (Long.MAX_VALUE - Integer.MAX_VALUE - 1));
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)