On Mon, 13 Jul 2026 23:33:50 GMT, Kevin Rushforth <[email protected]> wrote:

> I don't think so. Once you restore the method, javac will generate the same 
> code with the updated PR as it does today with master. Any attempt to remove 
> the specialized version of the methods in the future will run into the same 
> problem.
> 
> This is a general issue with Java generics: once you surface API with a 
> more-specific parameterized type override, you are stuck with it. Same thing 
> for an override with a covariant return type.

I'm not sure how this is different than any other deprecation that causes a 
source or binary incompatibility. Perhaps you're saying that the breakage here 
is too large to justify the deprecation?

-------------

PR Comment: https://git.openjdk.org/jfx/pull/1880#issuecomment-5103621684

Reply via email to