Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0051108 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | have not tried | 2022-12-12 16:17 | 2022-12-14 10:43 | |||
Reporter | shuehner | View Status | public | |||||
Assigned To | Triage Platform Base | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | PR23Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0051108: JDK20 java.net.URL constructors (JDK-8294241) - core | |||||||
Description | See https://jdk.java.net/20/ [^] (to download) https://jdk.java.net/20/release-notes [^] https://bugs.openjdk.org/browse/JDK-8294241 [^] java.net.URL constructors are deprecated (JDK-8294241) Java 20 deprecates some URL constructors and suggest to go via the URI classes (available since Java 1.4) and convert to URL from there: https://download.java.net/java/early_access/jdk20/docs/api/java.base/java/net/URL.html#constructor-deprecation [^] Example: - final URL connUrl = new URL(completeUrl); + final URL connUrl = new URI(completeUrl).toURL(); | |||||||
Steps To Reproduce | Compile with jdk20 (ea build 23 or higher) | |||||||
Proposed Solution | - | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||||||||||||||||||||
|
Notes | |
(0144543) hgbot (developer) 2022-12-12 16:22 |
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/784 [^] |
(0144665) hgbot (developer) 2022-12-14 10:43 |
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/784 [^] |
(0144666) hgbot (developer) 2022-12-14 10:43 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/openbravo [^] Changeset: b96661917b7de35fc1df0441b4a5d86c23a15ed4 Author: Stefan Huehner <stefan.huehner@openbravo.com> Date: 14-12-2022 09:39:44 URL: https://gitlab.com/openbravo/product/openbravo/-/commit/b96661917b7de35fc1df0441b4a5d86c23a15ed4 [^] Fixes ISSUE-51108: Fix JDK20 deprecation warnings related to new URL JDK20 deprecates using the new URL constructor. Suggested replacement is to go via new URI(...).toURL() instead. The URI class is already present since Java 1.4 --- M modules/org.openbravo.service.json/src-test/org/openbravo/service/json/test/JsonRestTest.java M src-test/src/org/openbravo/test/datasource/DatasourceTestUtil.java M src-test/src/org/openbravo/test/doc/GenerateEntityModelWiki.java M src-test/src/org/openbravo/test/webservice/BaseWSTest.java M src-test/src/org/openbravo/test/webservice/PerformanceTest.java M src/org/openbravo/erpCommon/ad_forms/ModuleManagement.java M src/org/openbravo/erpCommon/ad_process/HeartbeatProcess.java M src/org/openbravo/erpCommon/modules/ImportModule.java M src/org/openbravo/erpCommon/obps/ActivationKey.java M src/org/openbravo/erpCommon/obps/ActiveInstanceProcess.java M src/org/openbravo/erpCommon/utility/HttpsUtils.java --- |
Issue History | |||
Date Modified | Username | Field | Change |
2022-12-12 16:17 | shuehner | New Issue | |
2022-12-12 16:17 | shuehner | Assigned To | => Triage Platform Base |
2022-12-12 16:17 | shuehner | Modules | => Core |
2022-12-12 16:17 | shuehner | Triggers an Emergency Pack | => No |
2022-12-12 16:17 | shuehner | Relationship added | blocks 0051107 |
2022-12-12 16:22 | hgbot | Note Added: 0144543 | |
2022-12-12 18:31 | shuehner | Summary | JDK20 java.net.URL constructors (JDK-8294241) => JDK20 java.net.URL constructors (JDK-8294241) - core |
2022-12-12 18:32 | shuehner | Issue cloned | 0051110 |
2022-12-12 18:32 | shuehner | Relationship added | related to 0051110 |
2022-12-12 18:33 | shuehner | Issue cloned | 0051111 |
2022-12-12 18:33 | shuehner | Relationship added | related to 0051111 |
2022-12-12 18:35 | shuehner | Issue cloned | 0051112 |
2022-12-12 18:35 | shuehner | Relationship added | related to 0051112 |
2022-12-12 19:02 | shuehner | Description Updated | View Revisions |
2022-12-14 10:43 | hgbot | Resolution | open => fixed |
2022-12-14 10:43 | hgbot | Status | new => closed |
2022-12-14 10:43 | hgbot | Note Added: 0144665 | |
2022-12-14 10:43 | hgbot | Fixed in Version | => PR23Q1 |
2022-12-14 10:43 | hgbot | Note Added: 0144666 |
Copyright © 2000 - 2009 MantisBT Group |