Openbravo Issue Tracking System - Localization Pack: Spain
View Issue Details
0049434Localization Pack: SpainSPLP 3.0public2022-05-30 08:052022-08-04 11:21
alostale 
igor_trebol 
normalminorhave not tried
closedfixed 
5
 
 
0049434: JDK19 deprecates Locale(String, String) constructor - splp
See https://jdk.java.net/19/release-notes [^]

Deprecation of Locale class constructors (JDK-8282819)
core-libs/java.util:i18n

New Locale.of() factory methods replace deprecated Locale constructors. The factory methods are efficient and reuse existing Locale instances. Locales are also provided by Locale.forLanguageTag() and Locale.Builder.

Compile using JDK19 (tested with ea24):

- 3 splp modules
  - 1* org.openbravo.module.aeat303.es
  - 1* org.openbravo.module.aeat347apr.es
  - 2* org.openbravo.module.aeat390.es
Use locale builder [1] which is available since JDK7

[1] https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Locale.Builder.html [^]
No tags attached.
related to defect 0049433PR22Q4 closed Triage Platform Base Openbravo ERP JDK19 deprecates Locale(String, String) constructor - core 
related to defect 0051679 closed shuehner Localization Pack: Spain JDK19 deprecates Locale(String, String) constructor - splp 
blocks feature request 0049432 new Triage Platform Base Openbravo ERP Support JDK19 
Issue History
2022-05-30 08:05alostaleNew Issue
2022-05-30 08:05alostaleAssigned To => Triage Platform Base
2022-05-30 08:05alostaleModules => Core
2022-05-30 08:05alostaleTriggers an Emergency Pack => No
2022-05-30 08:05alostaleIssue generated from0049433
2022-05-30 08:05alostaleSummaryJDK19 deprecates Locale(String, String) constructor => JDK19 deprecates Locale(String, String) constructor - splp
2022-05-30 08:06alostaleProjectOpenbravo ERP => Localization Pack: Spain
2022-05-30 08:07alostaleAssigned ToTriage Platform Base => Triage Omni OMS
2022-05-30 08:07alostaleCategoryA. Platform => AEAT 347
2022-05-30 08:07alostaleRelationship addedblocks 0049432
2022-05-30 08:07alostaleRelationship addedrelated to 0049433
2022-05-30 13:22vmromanosCategoryAEAT 347 => SPLP 3.0
2022-05-30 13:40aferrazAssigned ToTriage Omni OMS => igor_trebol
2022-08-03 08:33hgbotNote Added: 0139817
2022-08-03 08:46hgbotNote Added: 0139819
2022-08-03 08:48hgbotNote Added: 0139821
2022-08-04 11:17hgbotResolutionopen => fixed
2022-08-04 11:17hgbotStatusnew => resolved
2022-08-04 11:17hgbotNote Added: 0139883
2022-08-04 11:20hgbotNote Added: 0139884
2022-08-04 11:20hgbotStatusresolved => closed
2022-08-04 11:20hgbotNote Added: 0139885
2022-08-04 11:20hgbotNote Added: 0139886
2022-08-04 11:21hgbotNote Added: 0139887
2022-08-04 11:21hgbotNote Added: 0139888
2023-02-23 10:23shuehnerRelationship addedrelated to 0051679

Notes
(0139817)
hgbot   
2022-08-03 08:33   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.aeat303.es/-/merge_requests/20 [^]
(0139819)
hgbot   
2022-08-03 08:46   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.aeat347apr.es/-/merge_requests/3 [^]
(0139821)
hgbot   
2022-08-03 08:48   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.aeat390.es/-/merge_requests/8 [^]
(0139883)
hgbot   
2022-08-04 11:17   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.aeat390.es [^]
Changeset: c830727f4908ded04b8d7cc3e5c150d40195f396
Author: Igor Trebol <igor.trebol@openbravo.com>
Date: 04-08-2022 09:17:25
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.aeat390.es/-/commit/c830727f4908ded04b8d7cc3e5c150d40195f396 [^]

Fixes ISSUE-49434: Changed deprecated locale class constructor

---
M src/org/openbravo/module/aeat390/es/api/AEAT390Report.java
M src/org/openbravo/module/aeat390/es/csv/AEAT390CSV.java
---
(0139884)
hgbot   
2022-08-04 11:20   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.aeat390.es/-/merge_requests/8 [^]
(0139885)
hgbot   
2022-08-04 11:20   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.aeat347apr.es [^]
Changeset: ea525e68bf810106161fdeabb013aca2a78d5a50
Author: Igor Trebol <igor.trebol@openbravo.com>
Date: 02-08-2022 14:27:45
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.aeat347apr.es/-/commit/ea525e68bf810106161fdeabb013aca2a78d5a50 [^]

Fixes ISSUE-49434: Changed deprecated locale class constructor

---
M src/org/openbravo/module/aeat347apr/es/csv/AEAT347CSV.java
---
(0139886)
hgbot   
2022-08-04 11:20   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.aeat347apr.es/-/merge_requests/3 [^]
(0139887)
hgbot   
2022-08-04 11:21   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.aeat303.es [^]
Changeset: ecc5e3eb9a75f09e849e0af80669f9be31f7f85a
Author: Igor Trebol <igor.trebol@openbravo.com>
Date: 04-08-2022 09:21:18
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.aeat303.es/-/commit/ecc5e3eb9a75f09e849e0af80669f9be31f7f85a [^]

Fixes ISSUE-49434: Changed deprecated locale class constructor

---
M src/org/openbravo/module/aeat303/es/AEAT303Report.java
---
(0139888)
hgbot   
2022-08-04 11:21   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.aeat303.es/-/merge_requests/20 [^]