mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8283426: Fix 'exeption' typo
Reviewed-by: xuelei, iris, dholmes, wetmore, aivanov
This commit is contained in:
parent
f16244509d
commit
dc5a65ab37
17 changed files with 36 additions and 38 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1997, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -1174,7 +1174,7 @@ public class Cipher {
|
|||
}
|
||||
|
||||
// check if opmode is one of the defined constants
|
||||
// throw InvalidParameterExeption if not
|
||||
// throw InvalidParameterException if not
|
||||
private static void checkOpmode(int opmode) {
|
||||
if ((opmode < ENCRYPT_MODE) || (opmode > UNWRAP_MODE)) {
|
||||
throw new InvalidParameterException("Invalid operation mode");
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2020, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -38,7 +38,6 @@ import java.util.Map;
|
|||
import java.util.Objects;
|
||||
import java.util.stream.Stream;
|
||||
|
||||
import jdk.internal.access.JavaLangInvokeAccess;
|
||||
import jdk.internal.access.SharedSecrets;
|
||||
|
||||
public class CDS {
|
||||
|
@ -224,7 +223,7 @@ public class CDS {
|
|||
prt.println(line);
|
||||
}
|
||||
} catch (IOException e) {
|
||||
throw new RuntimeException("IOExeption happens during drain stream to file " +
|
||||
throw new RuntimeException("IOException happens during drain stream to file " +
|
||||
fileName + ": " + e.getMessage());
|
||||
}}).start();
|
||||
return fileName;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue