On Tue, 23 Sep 2025 16:34:05 GMT, Chen Liang <[email protected]> wrote:
> java.lang.invoke.ConstantBootstraps has a class-level comment that unused > arguments may be null. Do you think we should use a similar comment? We only have two methods in this class right now, so having the description in the method's documentation is not that big burden, and having the rules in the method description seems nicer when reading the method. OTOH, if you strongly prefer that we move the NPE rule to the class description, we can. ------------- PR Comment: https://git.openjdk.org/jdk/pull/27422#issuecomment-3333131839
