mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8272805: Avoid looking up standard charsets
Reviewed-by: weijun, naoto, dfuchs, azvegint, erikj
This commit is contained in:
parent
92b05fe0f4
commit
7fff22afe7
53 changed files with 236 additions and 266 deletions
|
@ -41,7 +41,8 @@ import java.security.spec.KeySpec;
|
|||
import java.security.spec.InvalidKeySpecException;
|
||||
import java.security.InvalidAlgorithmParameterException;
|
||||
|
||||
import static java.nio.charset.StandardCharsets.*;
|
||||
import static java.nio.charset.StandardCharsets.ISO_8859_1;
|
||||
import static java.nio.charset.StandardCharsets.UTF_8;
|
||||
|
||||
import javax.crypto.Cipher;
|
||||
import javax.crypto.SecretKey;
|
||||
|
|
|
@ -39,7 +39,8 @@ import java.util.logging.Level;
|
|||
import javax.security.sasl.*;
|
||||
import javax.security.auth.callback.*;
|
||||
|
||||
import static java.nio.charset.StandardCharsets.*;
|
||||
import static java.nio.charset.StandardCharsets.ISO_8859_1;
|
||||
import static java.nio.charset.StandardCharsets.UTF_8;
|
||||
|
||||
/**
|
||||
* An implementation of the DIGEST-MD5 server SASL mechanism.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue