Cleanup unnecessary calls to Throwable.initCause() in java.desktop

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P5
    • 18
    • Affects Version/s: 17
    • Component/s: client-libs
    • None
    • b19

      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. In some cases it allows to avoid ugly casts.

            Assignee:
            Andrey Turbanov
            Reporter:
            Andrey Turbanov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: