8259027: NullPointerException in makeMappedSegment due to NULL Unmapper when length of segment is 0 #83
When the size of the memory map is zero, FileChannelImpl returns a
To fix, I've created an empty mapped segment class which is initialized to sensible defaults, and whose implenentation of force/load etc. do nothing.
We already had a test for this condition - but the test was missing the
The text was updated successfully, but these errors were encountered:
@mcimadamore This change now passes all automated pre-integration checks.
After integration, the commit message for the final commit will be:
At the time when this comment was updated there had been 2 new commits pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the
@mcimadamore Since your change was applied there have been 2 commits pushed to the
Your commit was automatically rebased without conflicts.
Pushed as commit b7940aa.