We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91c41e1 commit 45a6075Copy full SHA for 45a6075
src/java.desktop/share/classes/java/awt/color/ICC_Profile.java
@@ -1561,7 +1561,7 @@ private void readObject(ObjectInputStream s)
1561
case "CS_LINEAR_RGB" -> getInstance(ColorSpace.CS_LINEAR_RGB);
1562
case null, default -> getInstance(data);
1563
};
1564
- } catch (IllegalArgumentException | ClassCastException e) {
+ } catch (ClassCastException | IllegalArgumentException e) {
1565
throw new InvalidObjectException("Invalid ICC Profile Data", e);
1566
}
1567
0 commit comments