RFR: JDK-8285932 Implementation of JEP 430 String Templates (Preview) [v13]
Jim Laskey
jlaskey at openjdk.org
Fri Nov 18 13:19:07 UTC 2022
On Wed, 9 Nov 2022 22:43:40 GMT, Jim Laskey <jlaskey at openjdk.org> wrote:
>> src/java.base/share/classes/java/util/FormatItem.java line 75:
>>
>>> 73: try {
>>> 74: return (long)CHAR_MIX.invokeExact(lengthCoder, value);
>>> 75: } catch (RuntimeException ex) {
>>
>> This should also rethrow `Error` instances:
>> Suggestion:
>>
>> } catch (Error | RuntimeException ex) {
>
> Changing
Changing.
-------------
PR: https://git.openjdk.org/jdk/pull/10889
More information about the compiler-dev
mailing list