RFR: JDK-8283668: Update IllegalFormatException to use sealed classes

Bernd Eckenfels ecki at zusammenkunft.net
Fri Mar 25 09:37:34 UTC 2022


I wonder should the CSR not describe what’s the advantage of this change is and what the compatibility problems are and why they don’t apply here? Especially given the fact that the specific sub exceptions are not sealed I wonder if the risk of breaking existing code is worth it? (But I do see the beauty of such a construct for new code!)

Gruss
Bernd


--
http://bernd.eckenfels.net
________________________________
Von: core-libs-dev <core-libs-dev-retn at openjdk.java.net> im Auftrag von Jaikiran Pai <jpai at openjdk.java.net>
Gesendet: Friday, March 25, 2022 10:27:40 AM
An: core-libs-dev at openjdk.java.net <core-libs-dev at openjdk.java.net>
Betreff: Re: RFR: JDK-8283668: Update IllegalFormatException to use sealed classes

On Fri, 25 Mar 2022 04:17:57 GMT, Joe Darcy <darcy at openjdk.org> wrote:

> Working down the list of candidates to be sealed, this time IllegalFormatException.
>
> Please also review the companion CSR: https://bugs.openjdk.java.net/browse/JDK-8283669

Marked as reviewed by jpai (Committer).

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

PR: https://git.openjdk.java.net/jdk/pull/7950


More information about the core-libs-dev mailing list