Java 9 now uses Locale strings from the Unicode consortium by default. This has cause several of the Validator unit tests to fail. For example:
validator.validate("31/Dez/05 21-05", "dd/MMM/yy HH-mm", Locale.GERMAN); no longer parses OK, because the short version of December is now "Dez." (with trailing fullstop) I have temporarily suppressed the errors by defining the following for Java9+ java.locale.providers=COMPAT,CLDR However this is not ideal. Whilst the tests could be updated to use the new formats, e.g. by generating the test data at run time, it is not clear that this is the correct approach, as it would hide changes in behaviour. Ideally the code would continue to accept old style dates, but it's not at all clear how to do this. Anyone have any bright ideas? --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org