If the parameter CharBuffer is read-only, then that should be detected prior to attempting to read from the Reader. A reproducer is attached.
            
- relates to
- 
                    JDK-8222329 Readable read(CharBuffer) does not specify that 0 is returned when there is no remaining space in buffer -           
- Resolved
 
-         
 P4
  P4                      
        