Details

      Description

      There is a new option available to provide more helpful `NullPointerException` messages:

           -XX:+ShowCodeDetailsInExceptionMessages

      If set, on encountering a null pointer the JVM will analyze the program to determine which reference was `null` and and provide the details as part of `NullPointerException.getMessage()`; as well as the exception message, the method, filename, and line number will be returned.

      By default, this option is disabled.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                coleenp Coleen Phillimore
                Reporter:
                dholmes David Holmes
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: