mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8215443: The use of TransportContext.fatal() leads to bad coding style
Reviewed-by: ascarpino
This commit is contained in:
parent
5a6385b363
commit
84105b36fd
48 changed files with 454 additions and 585 deletions
|
@ -50,7 +50,7 @@ final class ServerHelloDone {
|
|||
ByteBuffer m) throws IOException {
|
||||
super(handshakeContext);
|
||||
if (m.hasRemaining()) {
|
||||
handshakeContext.conContext.fatal(Alert.ILLEGAL_PARAMETER,
|
||||
throw handshakeContext.conContext.fatal(Alert.ILLEGAL_PARAMETER,
|
||||
"Error parsing ServerHelloDone message: not empty");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue