metro-jax-ws icon indicating copy to clipboard operation
metro-jax-ws copied to clipboard

JDK 21

Open mjmk3 opened this issue 1 year ago • 4 comments

Hope you solve the problem with JDK 21 compatibility because it's not working till now has a lot of issues and bugs

mjmk3 avatar Jan 18 '24 00:01 mjmk3

We're mainly seeing warnings because of the deprecation of java.net.URL constructors.

@mjmk3 did you encounter more specific problems?

Venorcis avatar Feb 09 '24 14:02 Venorcis

Hope you solve the problem with JDK 21 compatibility because it's not working till now has a lot of issues and bugs

I have no idea what are you talking about. Do you see anything specific?

lukasj avatar Feb 09 '24 14:02 lukasj

@lukasj is there a plan to refactor out the usage of deprecated URL constructors?

Venorcis avatar Feb 12 '24 10:02 Venorcis

@lukasj is there a plan to refactor out the usage of deprecated URL constructors?

removing deprecated (not-only JDK) APIs is an on-going incremental process (see ie this PR), so it will happen at some point. Given URL constructors are not deprecated for removal it may take some time to get rid of them as removing APIs deprecated for removal are of higher priority (ie Object.finalize, SecurityManager). Feel free to submit a PR should there be a need to have this done sooner. Thanks.

lukasj avatar Feb 12 '24 11:02 lukasj