Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8002180

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • None
    • 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).

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

              Created:
              Updated:
              Resolved: