RFR: 8164714: Constructor.newInstance creates instance of inner class with null outer class [v2]
Chen Liang
liach at openjdk.org
Tue Mar 11 19:39:03 UTC 2025
On Tue, 11 Mar 2025 19:25:19 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
>> I noted https://bugs.openjdk.org/browse/JDK-8292275 also changed many tests that this patch has changed but did not add the bug id. Is the bug id only to indicate which bug's regression is a test testing against?
>
> Jtreg supports the -bug:<bugid> option to run matching tests.
>
> Adding the bugid is an aid in verifying bugs. If it was missed being added earlier it can be added now. But it is unlikely it will be missed by anyone.
I don't think this test is associated to the inner class feature - it is just that the outputs this test is testing against is too closely tied to irrelevant implementation details.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23875#discussion_r1990006389
More information about the compiler-dev
mailing list