On Sun, 19 Feb 2023 16:12:39 GMT, liach <d...@openjdk.org> wrote: >> Added specific class loader object to proxy IllegalArgumentException from >> which the class was not visible >> >> The bug report for the same: https://bugs.openjdk.org/browse/JDK-8302791 > > src/java.base/share/classes/java/lang/reflect/Proxy.java line 881: > >> 879: if (type != c) { >> 880: throw new IllegalArgumentException(c.getName() + >> 881: " referenced from a method is not visible from >> class loader: " + ld.toString()); > > Isn't the `.toString()` call redundant in string concatenation?
Thanks @liach for reviewing, Fixed this. ------------- PR: https://git.openjdk.org/jdk/pull/12641