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

Bradford Wetmore wetmore at openjdk.java.net
Wed Apr 13 06:23:20 UTC 2022


On Tue, 12 Apr 2022 21:59:09 GMT, Mark Powers <duke at 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



More information about the security-dev mailing list