mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8274079: Cleanup unnecessary calls to Throwable.initCause() in java.base module
Reviewed-by: weijun
This commit is contained in:
parent
8609ea55ac
commit
1459180f35
22 changed files with 55 additions and 132 deletions
|
@ -371,7 +371,7 @@ public class X509CRLSelector implements CRLSelector {
|
|||
try {
|
||||
x500Principals.add(new X500Principal((byte[])nameObject));
|
||||
} catch (IllegalArgumentException e) {
|
||||
throw (IOException)new IOException("Invalid name").initCause(e);
|
||||
throw new IOException("Invalid name", e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue