Closed
Description
Recently we have upgraded our build tool chain to Java 24
.
Even if we still target for Java 17
, we need the latest Java for a proper nullability support.
As a side effect we got a lot of compilation warnings.
One of them is:
warning: [deprecation] Locale(String,String) in Locale has been deprecated
The goal of this issue is to mitigate such a warning this or other way.
In most cases I anticipate it can only be resolved with @SuppressWarnings("this-escape")
.