[
https://issues.apache.org/jira/browse/TEZ-4726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
László Bodor updated TEZ-4726:
------------------------------
Fix Version/s: 1.0.0
> Replace deprecated java.net.URL constructors with URI alternatives
> ------------------------------------------------------------------
>
> Key: TEZ-4726
> URL: https://issues.apache.org/jira/browse/TEZ-4726
> Project: Apache Tez
> Issue Type: Improvement
> Reporter: Mahesh Raju Somalaraju
> Assignee: Mahesh Raju Somalaraju
> Priority: Major
> Fix For: 1.0.0
>
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> The java.net.URL(String), URL(String, String, int, String) and related
> constructors have been deprecated since Java 20 and marked for removal.
> Replace all usages with URI.create(string).toURL() and
> URI.create("scheme://host:port" + path).toURL() equivalents.
> {code:java}
> java.net.URL
> @Deprecated(since = "20")
> public URL(
> @NonNls @NotNull String spec
> ){code}
> We need to scan the Tez code and replace with URI.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)