RFR: 8299333: Unify exceptions used by all variants of ICC_Profile.getInstance(null) [v2]
Sergey Bylokhov
serb at openjdk.org
Sat Jan 21 04:21:04 UTC 2023
On Sat, 21 Jan 2023 02:03:57 GMT, Phil Race <prr at openjdk.org> wrote:
> So there are 3 TCK tests for the behaviour of getInstance(InputStream) which expect the specified IOException or an IAE in the event the arg is null. It will fail if we throw NPE (ie these 3 tests fail on all platforms with your change) Interestingly at one point at least one of these expected NPE which probably got fixed because it wasn't the specified behaviour. I expect it'll make JCK very happy to be validated that NPE was better :-)
Yes, I remember that test that expected the unspecified NPE and then we changed that to the IOException
-------------
PR: https://git.openjdk.org/jdk/pull/11784
More information about the client-libs-dev
mailing list