Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0051110 | Openbravo ERP | A. Platform | public | 2022-12-12 18:32 | 2023-02-23 17:53 |
|
Reporter | shuehner | |
Assigned To | Triage Platform Conn | |
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 | 0051110: JDK20 java.net.URL constructors (JDK-8294241) - platform-conn |
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 platform-conn modules
1 org.openbravo.authorize.net
1 org.openbravo.base.cxf
1 org.openbravo.externaldata.integration
2 org.openbravo.service.integration.magento.core
|
Proposed Solution | - |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2022-12-12 18:32 | shuehner | New Issue | |
2022-12-12 18:32 | shuehner | Assigned To | => Triage Platform Conn |
2022-12-12 18:32 | shuehner | Modules | => Core |
2022-12-12 18:32 | shuehner | Triggers an Emergency Pack | => No |
2022-12-12 18:32 | shuehner | Issue generated from | 0051108 |
2022-12-12 18:32 | shuehner | Relationship added | related to 0051108 |
2022-12-12 18:37 | shuehner | Relationship added | blocks 0051107 |
2022-12-12 18:40 | shuehner | Note Added: 0144555 | |
2022-12-14 17:25 | AugustoMauch | Status | new => acknowledged |
2023-02-23 12:34 | hgbot | Note Added: 0146913 | |
2023-02-23 13:29 | hgbot | Note Added: 0146915 | |
2023-02-23 13:35 | hgbot | Note Added: 0146916 | |
2023-02-23 13:38 | hgbot | Note Added: 0146917 | |
2023-02-23 17:50 | hgbot | Note Added: 0146928 | |
2023-02-23 17:50 | hgbot | Resolution | open => fixed |
2023-02-23 17:50 | hgbot | Status | acknowledged => closed |
2023-02-23 17:50 | hgbot | Note Added: 0146929 | |
2023-02-23 17:50 | hgbot | Note Added: 0146930 | |
2023-02-23 17:51 | hgbot | Note Added: 0146931 | |
2023-02-23 17:51 | hgbot | Note Added: 0146932 | |
2023-02-23 17:52 | hgbot | Note Added: 0146933 | |
2023-02-23 17:52 | hgbot | Note Added: 0146934 | |
2023-02-23 17:53 | hgbot | Note Added: 0146935 | |
2023-02-23 17:53 | hgbot | Note Added: 0146936 | |
Notes |
|
|
The constructor URL(String) is deprecated since version 20
1. WARNING in /srv/ci/workspace/mod-simple-ci50.52002/modules/org.openbravo.authorize.net/src/org/openbravo/authorize/net/api/utils/SoapAPIAccess.java (at line 142)
wsdl_url = new URL(url);
^^^^^^^^
----------
2. WARNING in /srv/ci/workspace/mod-simple-ci50.52002/modules/org.openbravo.base.cxf/src/org/openbravo/base/cxf/client/SOAPClient.java (at line 66)
this.wsdl = new URL(wsdl);
^^^^^^^^^
----------
4. WARNING in /srv/ci/workspace/mod-simple-ci50.52002/modules/org.openbravo.externaldata.integration/src/org/openbravo/externaldata/integration/process/OutputWSRestProcessor.java (at line 61)
URL url = new URL(wsPath);
^^^^^^^^^^^
----------
11. WARNING in /srv/ci/workspace/mod-simple-ci50.52002/modules/org.openbravo.service.integration.magento.core/src/org/openbravo/service/integration/magento/core/MagentoRequestHelper.java (at line 84)
URL obj = new URL(url);
^^^^^^^^
----------
12. WARNING in /srv/ci/workspace/mod-simple-ci50.52002/modules/org.openbravo.service.integration.magento.core/src/org/openbravo/service/integration/magento/core/MagentoRequestHelper.java (at line 115)
URL obj = new URL(url);
^^^^^^^^ |
|
|
(0146913)
|
hgbot
|
2023-02-23 12:34
|
|
|
|
(0146915)
|
hgbot
|
2023-02-23 13:29
|
|
|
|
(0146916)
|
hgbot
|
2023-02-23 13:35
|
|
|
|
(0146917)
|
hgbot
|
2023-02-23 13:38
|
|
|
|
(0146928)
|
hgbot
|
2023-02-23 17:50
|
|
|
|
(0146929)
|
hgbot
|
2023-02-23 17:50
|
|
|
|
(0146930)
|
hgbot
|
2023-02-23 17:50
|
|
|
|
(0146931)
|
hgbot
|
2023-02-23 17:51
|
|
|
|
(0146932)
|
hgbot
|
2023-02-23 17:51
|
|
|
|
(0146933)
|
hgbot
|
2023-02-23 17:52
|
|
|
|
(0146934)
|
hgbot
|
2023-02-23 17:52
|
|
|
|
(0146935)
|
hgbot
|
2023-02-23 17:53
|
|
|
|
(0146936)
|
hgbot
|
2023-02-23 17:53
|
|
|