-
Bug
-
Resolution: Fixed
-
P3
-
None
The spec of https://download.java.net/java/early_access/jdk16/docs/api/java.base/java/nio/charset/CharsetDecoder.html#decode(java.nio.ByteBuffer,java.nio.CharBuffer,boolean)
"CoderMalfunctionError - If an invocation of the decodeLoop method threw an unexpected exception"
But the actual behavior is , CoderMalfunctionError is not thrown instead the exception thrown by the decodeLoop is just re thrown.
This is something not as per spec : https://download.java.net/java/early_access/jdk16/docs/api/java.base/java/nio/charset/CoderMalfunctionError.html
"CoderMalfunctionError - If an invocation of the decodeLoop method threw an unexpected exception"
But the actual behavior is , CoderMalfunctionError is not thrown instead the exception thrown by the decodeLoop is just re thrown.
This is something not as per spec : https://download.java.net/java/early_access/jdk16/docs/api/java.base/java/nio/charset/CoderMalfunctionError.html