RFR: 8274735: javax.imageio.IIOException: Unsupported Image Type while processing a valid JPEG image [v2]
Phil Race
prr at openjdk.java.net
Fri Mar 18 18:21:10 UTC 2022
On Fri, 18 Mar 2022 15:33:05 GMT, ExE Boss <duke at openjdk.java.net> wrote:
>> Phil Race has updated the pull request incrementally with one additional commit since the last revision:
>>
>> 8274735: javax.imageio.IIOException: Unsupported Image Type while processing a valid JPEG image
>
> src/java.desktop/share/classes/com/sun/imageio/plugins/common/SimpleCMYKColorSpace.java line 66:
>
>> 64:
>> 65: public int hashCode() {
>> 66: return getClass().hashCode()+7;
>
> Alternatively, you could do:
> Suggestion:
>
> return System.identityHashCode(theInstance);
>
> which seems to have been the original intent.
I can do that.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7849
More information about the client-libs-dev
mailing list