RFR: 8287908: Use non-cloning reflection methods where acceptable [v2]

Roger Riggs rriggs at openjdk.org
Thu Sep 8 14:25:05 UTC 2022


On Thu, 8 Sep 2022 06:54:45 GMT, Сергей Цыпанов <duke at openjdk.org> wrote:

>> To ensure the shared types are not too easily exposed, move 317: to inside the `if (realParamData)`.
>> That's also the only scope in which it is used.
>
> But `nonGenericParamTypes` is used in `else` block as well, so should I call `getSharedParameterTypes()` twice?

My mistake, its ok as is.  tnx.

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

PR: https://git.openjdk.org/jdk/pull/9064


More information about the core-libs-dev mailing list