RFR: 8255557: Decouple GCM from CipherCore [v2]

Anthony Scarpino ascarpino at openjdk.java.net
Mon May 24 21:53:50 UTC 2021


On Mon, 24 May 2021 18:15:17 GMT, Valerie Peng <valeriep at openjdk.org> wrote:

>> src.array() throws an exception if it's read only
>
> Other files seem to use src.hasArray() call which also checked for read only. Maybe that's what you meant to use?

Yes, I could use hasArray().  I hadn't started using that until later in development and never went back and changed lines like these

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

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



More information about the security-dev mailing list