RFR: 8263821: Remove unused MethodTypeForm canonicalization codes

Mandy Chung mchung at openjdk.java.net
Thu Mar 18 23:04:45 UTC 2021


On Thu, 18 Mar 2021 22:56:53 GMT, Claes Redestad <redestad at 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


More information about the core-libs-dev mailing list