Re: RFR: 8299333: Unify exceptions used by all variants of ICC_Profile.getInstance(null) [v2]

2023-02-23 Thread Phil Race
On Fri, 20 Jan 2023 20:20:32 GMT, Sergey Bylokhov wrote: >> I tried to clean up the documentation in the `java.awt.color` package and >> specify how the `null` parameters are handled here and there. But it looks >> like the `ICC_profile` class is too specific so I would like to discuss it >>

Re: RFR: 8299333: Unify exceptions used by all variants of ICC_Profile.getInstance(null) [v2]

2023-01-20 Thread Sergey Bylokhov
On Sat, 21 Jan 2023 02:03:57 GMT, Phil Race 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 >

Re: RFR: 8299333: Unify exceptions used by all variants of ICC_Profile.getInstance(null) [v2]

2023-01-20 Thread Phil Race
On Fri, 20 Jan 2023 20:20:32 GMT, Sergey Bylokhov wrote: >> I tried to clean up the documentation in the `java.awt.color` package and >> specify how the `null` parameters are handled here and there. But it looks >> like the `ICC_profile` class is too specific so I would like to discuss it >>

Re: RFR: 8299333: Unify exceptions used by all variants of ICC_Profile.getInstance(null) [v2]

2023-01-20 Thread Sergey Bylokhov
> I tried to clean up the documentation in the `java.awt.color` package and > specify how the `null` parameters are handled here and there. But it looks > like the `ICC_profile` class is too specific so I would like to discuss it > separately. > > The ICC_Profile has these methods: > *