RFR: JDK-8279242: Reflection newInstance() error message when constructor has no access modifiers could use improvement [v2]
Joe Darcy
darcy at openjdk.java.net
Tue Jan 25 05:42:30 UTC 2022
On Tue, 25 Jan 2022 03:51:43 GMT, David Holmes <dholmes at openjdk.org> wrote:
>> Joe Darcy has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Respond to review feedback.
>
> src/java.base/share/classes/jdk/internal/reflect/Reflection.java line 387:
>
>> 385: msg += "a member of " + memberClass + memberSuffix +
>> 386: (packageAccess ?
>> 387: " package access" :
>
> Suggestion: "with package access".
Updated as suggested.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7208
More information about the core-libs-dev
mailing list