|
options.setExperimentalOption("prefs", Map.of("intl.accept_languages", locale)); |
Map.of() was introduced in JDK 9. The test cases seem to use that. If we maintain strict JDK8 compatibility, this might be wrong. This is rather a question than a bug. And yes, I am fine with going to JDK 11 :)