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

Reader.read(CharBuffer) advances Reader position for read-only Charbuffers

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 17
    • 15, 16, 17
    • core-libs
    • None
    • b21
    • generic
    • generic

    Description

      If the parameter CharBuffer is read-only, then that should be detected prior to attempting to read from the Reader. A reproducer is attached.

      Attachments

        Issue Links

          Activity

            People

              bpb Brian Burkhalter
              bpb Brian Burkhalter
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: