(fc) FileChannel.map does not throw NPE if MapMode specified as null

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 8
    • Affects Version/s: None
    • Component/s: core-libs
    • None
    • b65
    • Verified

      This issue was brought up here:

      http://mail.openjdk.java.net/pipermail/nio-dev/2012-November/001969.html

      Basically FileChannel.map does not check if the MapMode is null causing it use a default and throwing an assertion (if asserts are enabled).

            Assignee:
            Alan Bateman
            Reporter:
            Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: