On Tue, 14 Feb 2023 13:10:41 GMT, Daniel Fuchs <dfu...@openjdk.org> wrote:
>> Roger has updated this but it's still a comment on a non-public class. I >> think the main question here is whether there should be a note in the >> System.exit and Runtime.exit to document that these methods log? If not, >> will it be documented anywhere, maybe a troubleshooting guide to help track >> down what/who is calling System.exit? > > Another way to document that could be to add the commented logger name, and > a comment, to > https://github.com/openjdk/jdk/blob/master/src/java.logging/share/conf/logging.properties > > A new section at the end with some explanation on what this logger prints and > how to enable it - with the appropriate wording to make it clear that it's > JDK-implementation specific and not part of the spec. I opted to add an @implNote in java.lang.Runtime.exit(). And create the corresponding CSR. ------------- PR: https://git.openjdk.org/jdk/pull/12517