The `java`' man page does not speak about the new forms of main method, this PR updates it to include these new forms, and also generally updates the text. This was noted and written by abuckley.
I am attaching images how the rendered man page looks in HTML and in a terminal: <img width="2731" height="417" alt="html" src="https://github.com/user-attachments/assets/6ebc5ff7-93cd-497a-bd52-a9045f520b68" /> <img width="3142" height="417" alt="man" src="https://github.com/user-attachments/assets/bd09ac3a-95b3-46c5-87f9-4aae0fddb2bf" /> --------- - [X] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - 8387977: The java manpage should describe the new main method variants. Changes: https://git.openjdk.org/jdk/pull/31841/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=31841&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8387977 Stats: 30 lines in 1 file changed: 6 ins; 0 del; 24 mod Patch: https://git.openjdk.org/jdk/pull/31841.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/31841/head:pull/31841 PR: https://git.openjdk.org/jdk/pull/31841
