RFR: 8164714: Constructor.newInstance creates instance of inner class with null outer class [v3]
Chen Liang
liach at openjdk.org
Wed Mar 5 18:56:00 UTC 2025
On Wed, 5 Mar 2025 18:31:50 GMT, Vicente Romero <vromero at openjdk.org> wrote:
>> Chen Liang has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:
>>
>> - Merge branch 'master' of https://github.com/openjdk/jdk into fix/enclosing-this-null-check
>> - Fix javap test
>> - 8164714: Constructor.newInstance creates instance of inner class with null outer class
>
> test/langtools/tools/javap/classfile/T6887895.java line 60:
>
>> 58: "java/lang/String",
>> 59: "T6887895",
>> 60: "T6887895$Test"
>
> not sure why this test is changed
Now Objects is used for requireNonNull
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23875#discussion_r1982023419
More information about the compiler-dev
mailing list