On Thu, 18 Mar 2021 22:56:53 GMT, Claes Redestad <redes...@openjdk.org> wrote:
>> I don't object this dead code elimination. I don't know the design/thought >> when these unused canonicalization codes were defined. > > This code appear to have been initially introduced with the JDK 7 > implementation of JSR 292, which implemented different ways of adapting to > and from generic types than the current code: > https://bugs.openjdk.java.net/browse/JDK-6839872 > > Many uses (possibly all) were removed in > https://bugs.openjdk.java.net/browse/JDK-6983728 (8-b01) where adapters were > reworked. This was backported to 7, so the code I'm removing here is probably > dead in all active releases. Thanks for the history. ------------- PR: https://git.openjdk.java.net/jdk/pull/3075