RFR: 4870789: RFE: UIDefaults.getUIError() hides real error

Phil Race prr at openjdk.org
Thu Jul 31 19:33:56 UTC 2025


On Thu, 31 Jul 2025 05:20:46 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> `UIDefaults.getUIError` method is invoked when an exception occurred in UI code but this method hides the underlying exception, this method could be more useful if the original exception is passed as argument and used as the cause of the Error thrown from `getUIError` body

This is an incompatible change. 
All it does is break any code that calls getUIError()
And I notice no JDK code calls this so I am not seeing any point to this change.
I think this RFE should be closed as will-not-fix.

-------------

Changes requested by prr (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/26567#pullrequestreview-3076662716


More information about the client-libs-dev mailing list