Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8352016

Improve java/lang/RuntimeTests/RuntimeExitLogTest.java

XMLWordPrintable

    • b05

        A lack of sufficient testing exists in the current test program for the logging functionality introduced in JDK-8301627. This functionality logs a message and stack trace when System.exit(status) or Runtime.exit(status) is invoked.

        The current test cases do not sufficiently confirm:
        - Scenarios where logging may not occur due to certain logging levels being configured (e.g., ALL, TRACE, WARNING, etc.).
        - Validation of the stack trace to ensure it includes critical frames related to the invocation of System.exit or Runtime.exit.

              tkiriyama Takuya Kiriyama
              tkiriyama Takuya Kiriyama
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: