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

ExceptionInInitializerError can have a default detail message if the cause is given

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Won't Fix
    • P3
    • None
    • None
    • core-libs
    • None

    Description

      Throwable(Throwable cause) constructs a new throwable with a default message cause==null ? null : cause.toString().

      ExceptionInInitializerError(Throwable cause) sets the detail message to null. It'd be helpful to include a detail message rather than null for example cause.toString().

      Attachments

        Issue Links

          Activity

            People

              mchung Mandy Chung
              mchung Mandy Chung
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: