On Sat, 11 Jul 2026 23:12:02 GMT, Nir Lisker <[email protected]> wrote:
> > The other converters have the same problem. This must be addressed, > > probably by restoring the specialized methods and calling the superclass > > implementation. > > Since they are only needed for the transition between versions before and > after this PR, can I reintroduce them as deprecated for-removal like this PR > does with the leaked implementation access? 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. ------------- PR Comment: https://git.openjdk.org/jfx/pull/1880#issuecomment-4963853451
