Is MessageFormat.toPattern() supposed to be reversible?

Archie Cobbs archie.cobbs at gmail.com
Sun Jan 14 19:02:41 UTC 2024


Nevermind, I believe now it is and have filed JDK-8323699. Thanks.

On Sat, Jan 13, 2024 at 12:45 PM Archie Cobbs <archie.cobbs at gmail.com>
wrote:

> Clarification question regarding MessageFormat.toPattern() before I file a
> bug...
>
> Is it supposed to be the case that given a MessageFormat object fmt, new
> MessageFormat(fmt.toPattern()) is equivalent to the original fmt object?
>
> Thanks,
> -Archie
>
> --
> Archie L. Cobbs
>


-- 
Archie L. Cobbs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/core-libs-dev/attachments/20240114/d89c7db4/attachment.htm>


More information about the core-libs-dev mailing list