<Swing Dev> [jdk17] RFR: 8269269: [macos11] SystemIconTest fails with ClassCastException
Alexander Zuev
kizune at openjdk.java.net
Wed Jun 30 04:20:02 UTC 2021
On Wed, 30 Jun 2021 02:54:21 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
> But you cannot change the return type later, so all these instanceof+casts will be there forever.
Well, if there is a reason the API can be amended in the future version of Java. It is not cast in stone. Yes, it will require some justification, but if justification is provided then API can be changed.
-------------
PR: https://git.openjdk.java.net/jdk17/pull/178
More information about the swing-dev
mailing list