Skip to content

Mitigate warning: [this-escape] in the project #10069

Closed
@artembilan

Description

@artembilan

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").

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions