On Tue, 31 Mar 2026 11:28:16 GMT, Alan Bateman <[email protected]> wrote:
>> Chen Liang has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Make resolution error reporting more concise > > src/java.base/share/classes/java/lang/Class.java line 1473: > >> 1471: } >> 1472: >> 1473: throw new NoSuchMethodError(enclosingCandidate.getName() + >> "." + enclosingInfo.getName() + enclosingInfo.getDescriptor()); > > I think NoSuchMethodError makes sense here. Maybe split the line to avoid the > really long line. Made this an instance method in EnclosingMethodInfo, things should look cleaner that way. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/30506#discussion_r3016516743
