-
Bug
-
Resolution: Fixed
-
P4
-
5.0
-
b59
-
generic
-
generic
The spec for java.nio.charset.Charset says: "A charset name must begin with either a letter or a digit."
The specs for the java.nio.charset.Charset constructor and many methods of the class say: "Throws: IllegalCharsetNameException - If the canonical name or any of the aliases are illegal"
But the constructor and the methods accept, for example, the following invalid charset names: "-", "_", ":", "."
The specs for the java.nio.charset.Charset constructor and many methods of the class say: "Throws: IllegalCharsetNameException - If the canonical name or any of the aliases are illegal"
But the constructor and the methods accept, for example, the following invalid charset names: "-", "_", ":", "."