hg: jdk/jdk: 8210285: CharsetDecoder/Encoder's constructor does not reject NaN

ivan.gerasimov at oracle.com ivan.gerasimov at oracle.com
Thu Sep 6 19:11:30 UTC 2018


Changeset: a4c50d83af82
Author:    igerasim
Date:      2018-09-06 12:10 -0700
URL:       http://hg.openjdk.java.net/jdk/jdk/rev/a4c50d83af82

8210285: CharsetDecoder/Encoder's constructor does not reject NaN
Reviewed-by: sherman, smarks, alanb, martin, darcy

! src/java.base/share/classes/java/nio/charset/Charset-X-Coder.java.template
+ test/jdk/java/nio/charset/CharsetDecoder/NaNinCtor.java
+ test/jdk/java/nio/charset/CharsetEncoder/NaNinCtor.java



More information about the jdk-all-changes mailing list