RFR: 8164714: Constructor.newInstance creates instance of inner class with null outer class [v2]

Vicente Romero vromero at openjdk.org
Wed Mar 5 20:21:02 UTC 2025


On Wed, 5 Mar 2025 18:52:46 GMT, Chen Liang <liach at openjdk.org> wrote:

>> test/langtools/tools/javap/AnnoTest.java line 5:
>> 
>>> 3:  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
>>> 4:  *
>>> 5:  * This code is free software; you can redistribute it and/or modify it
>> 
>> why changing this test?
>
> CP differences when Objects.requireNonNull is emitted

then we should add the bug id to the test

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23875#discussion_r1982130256


More information about the compiler-dev mailing list