JDK-8205613 : (cs) MalformedInputException and UnmappableCharacterException need offset value
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.nio.charsets
  • Priority: P4
  • Status: New
  • Resolution: Unresolved
  • Submitted: 2018-06-25
  • Updated: 2018-06-29
Related Reports
Relates :  
Description
Consider improving the error message with an additional parameter to capture the information about where the error happens, e.g.:

MalformedInputException(int inputLength, int offset) 
UnmappableCharacterException(int inputLength, int offset)