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

Xpathexception does not honor initcause()

XMLWordPrintable

    • Icon: Backport Backport
    • Resolution: Fixed
    • Icon: P2 P2
    • 8
    • None
    • xml
    • None
    • b96
    • Verified

      There is an erroneous behavior in 'initCause' method of XPathException class:
      If XPathException is created with 'XPathException(String )' constructor and then the cause is initialized with 'initCause' method. And after this a cause is retrieved by 'getCause()' method: this call returns incorrect cause = 'null', but It should return the same cause as was used in 'initCause'.

            aefimov Aleksej Efimov
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: