On Tue, 12 Apr 2022 21:59:09 GMT, Mark Powers <d...@openjdk.java.net> wrote:

> JDK-8284112 Minor cleanup could be done in javax.crypto

src/java.base/share/classes/javax/crypto/SealedObject.java line 449:

> 447: final class extObjectInputStream extends ObjectInputStream {
> 448:     extObjectInputStream(InputStream in)
> 449:         throws IOException {

This is another "I probably wouldn't do that..."  

It's nice to know what kind of IOExceptions you might get, so leaving 
StreamCorruptedException is ok.

-------------

PR: https://git.openjdk.java.net/jdk/pull/8214

Reply via email to