JavaMoney / jsr354-ri

JSR 354 - Moneta: Reference Implementation
Other
344 stars 101 forks source link

Indian Formatting fails from JDK 14 #343

Closed keilw closed 1 year ago

keilw commented 4 years ago

While the Indian Rupee formatting tests work below Java 14, they fail from JDK 14 on.

keilw commented 2 years ago

Retest with 17+

keilw commented 2 years ago

There seems to have been a change in JDK's own formatters because until Java 13 the Indian formatting passes against "INR 6,78,90,00,00,00,000.00" while the blank is missing (making it consistent with e.g. Chinese formatting) from Java 14 onward: "INR6,78,90,00,00,00,000.00". This is mainly a test problem and for affected tests a JDK version check is introduced.