On Tue, 15 Jul 2025 16:26:13 GMT, Naoto Sato <na...@openjdk.org> wrote:
>> we do have wordings like " If the virtual machine is started from an >> interactive command line without redirecting the standard input AND output >> streams then its console will exist ..." and "If no console device is >> available then an invocation of that method will return <tt>null</tt>" from >> the very beginning. not very "straightforward" but i think it's clear enough? > > I think adding `@see` tag would be more helpful. > > As to the spec wording wrt stdin/out, there is another issue filed to make it > clearer: JDK-8361972. This PR addresses the implementation part only so that > it can be backported to prior LTSes without spec change. It already links to Console so I don't think think the additional `@see` is needed. Look at the generated javadoc and see what you think. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/26273#discussion_r2289917231