On 08/31/2017 01:10 PM, Ivan Gerasimov wrote:
Hello!
Currently, when reading the pkcs11 config file, the default encoding is
assumed.
This causes errors when the encoding is set to UTF-16.
Would you please help review the trivial fix?
Bug: https://bugs.openjdk.java.net/browse/JDK-8187023
Webrev: http://cr.openjdk.java.net/~igerasim/8187023/00/webrev/
I thought config files were only ASCII only? If someone puts a UTF-16
character into the configuration file, are we sure it won't cause
problems with the native library too? PKCS11 itself only supports UTF-8.
Tony