Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0051112 | Openbravo ERP | A. Platform | public | 2022-12-12 18:35 | 2023-02-23 16:16 |
|
Reporter | shuehner | |
Assigned To | mqueralt | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0051112: JDK20 java.net.URL constructors (JDK-8294241) - omni-wms |
Description | See
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)
in omni-wms modules
1 org.openbravo.warehouse.advancedwarehouseoperations.printing.bartender
|
Proposed Solution | - |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2022-12-12 18:35 | shuehner | New Issue | |
2022-12-12 18:35 | shuehner | Assigned To | => Triage Platform Base |
2022-12-12 18:35 | shuehner | Modules | => Core |
2022-12-12 18:35 | shuehner | Triggers an Emergency Pack | => No |
2022-12-12 18:35 | shuehner | Issue generated from | 0051108 |
2022-12-12 18:35 | shuehner | Relationship added | related to 0051108 |
2022-12-12 18:37 | shuehner | Relationship added | blocks 0051107 |
2022-12-12 18:38 | shuehner | Note Added: 0144553 | |
2022-12-12 18:40 | shuehner | Assigned To | Triage Platform Base => Triage Omni WMS |
2022-12-13 21:41 | mtaal | Assigned To | Triage Omni WMS => mqueralt |
2023-01-09 14:10 | mtaal | Note Added: 0145208 | |
2023-02-23 12:18 | hgbot | Note Added: 0146911 | |
2023-02-23 16:16 | hgbot | Resolution | open => fixed |
2023-02-23 16:16 | hgbot | Status | new => closed |
2023-02-23 16:16 | hgbot | Note Added: 0146920 | |
2023-02-23 16:16 | hgbot | Note Added: 0146921 | |