On Fri, 10 Apr 2026 06:41:39 GMT, Jaikiran Pai <[email protected]> wrote:
>> There is discussion about that in a few JBS issues, esp. in the JDK 9 time >> frame and in the context of code using reflective guards to deal with >> optional dependences. I don't think there was a conclusion to change >> Class.getConstructor docs to align with existing behavior. > > Thank you Alan, I'll read through those discussions. Looking more closely > through the test introduced in this PR, I now realize that the LinkageError > comes from a Constructor which isn't the no-arg Constructor being looked up > here. Right, and the issue with reflective ops triggering class loading is a bigger topic as it impacts find/enumerating methods too. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/30405#discussion_r3062658987
