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 18:25:16 UTC 2022


On Tue, 25 Jan 2022 17:10:33 GMT, Mandy Chung <mchung at openjdk.org> wrote:

> There is another `newIllegalAccessException(Class<?> memberClass, int modifiers)` method that also needs to be updated.

Updated accordingly and refactored slightly to pull out the string suffix construction into a new method.

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

PR: https://git.openjdk.java.net/jdk/pull/7208


More information about the core-libs-dev mailing list