Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-4638

Fix exception message for MemorySegment

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.1.2, 1.1.3, 2.0.0
    • 1.2.0
    • None
    • None

    Description

      Please see the code snip below:

      MemorySegment.java
      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));
      }
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              proflin Liwei Lin(Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: