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

Cleanup unnecessary calls to Throwable.initCause() in jdk.compiler

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P5 P5
    • 19
    • None
    • tools
    • None
    • b15

      In JDK code sometimes old-style initialization Throwable.cause is used - via Throwable.initCause call.
      Instead of initCause, cause exception could be passed via constructor parameter.
      It makes code shorter and easier to read.

            aturbanov Andrey Turbanov
            aturbanov Andrey Turbanov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: