Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0049434
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Localization Pack: Spain] SPLP 3.0minorhave not tried2022-05-30 08:052022-08-04 11:21
ReporteralostaleView Statuspublic 
Assigned Toigor_trebol 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned To
Regression introduced in release
Summary

0049434: JDK19 deprecates Locale(String, String) constructor - splp

DescriptionSee 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.

Steps To ReproduceCompile 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
Proposed SolutionUse 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 [^]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0049433PR22Q4 closedTriage Platform Base Openbravo ERP JDK19 deprecates Locale(String, String) constructor - core 
related to defect 0051679 closedshuehner Localization Pack: Spain JDK19 deprecates Locale(String, String) constructor - splp 
blocks feature request 0049432 newTriage Platform Base Openbravo ERP Support JDK19 

-  Notes
(0139817)
hgbot (developer)
2022-08-03 08:33

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.aeat303.es/-/merge_requests/20 [^]
(0139819)
hgbot (developer)
2022-08-03 08:46

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.aeat347apr.es/-/merge_requests/3 [^]
(0139821)
hgbot (developer)
2022-08-03 08:48

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.aeat390.es/-/merge_requests/8 [^]
(0139883)
hgbot (developer)
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 (developer)
2022-08-04 11:20

Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.aeat390.es/-/merge_requests/8 [^]
(0139885)
hgbot (developer)
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 (developer)
2022-08-04 11:20

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.aeat347apr.es/-/merge_requests/3 [^]
(0139887)
hgbot (developer)
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 (developer)
2022-08-04 11:21

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.module.aeat303.es/-/merge_requests/20 [^]

- Issue History
Date Modified Username Field Change
2022-05-30 08:05 alostale New Issue
2022-05-30 08:05 alostale Assigned To => Triage Platform Base
2022-05-30 08:05 alostale Modules => Core
2022-05-30 08:05 alostale Triggers an Emergency Pack => No
2022-05-30 08:05 alostale Issue generated from 0049433
2022-05-30 08:05 alostale Summary JDK19 deprecates Locale(String, String) constructor => JDK19 deprecates Locale(String, String) constructor - splp
2022-05-30 08:06 alostale Project Openbravo ERP => Localization Pack: Spain
2022-05-30 08:07 alostale Assigned To Triage Platform Base => Triage Omni OMS
2022-05-30 08:07 alostale Category A. Platform => AEAT 347
2022-05-30 08:07 alostale Relationship added blocks 0049432
2022-05-30 08:07 alostale Relationship added related to 0049433
2022-05-30 13:22 vmromanos Category AEAT 347 => SPLP 3.0
2022-05-30 13:40 aferraz Assigned To Triage Omni OMS => igor_trebol
2022-08-03 08:33 hgbot Note Added: 0139817
2022-08-03 08:46 hgbot Note Added: 0139819
2022-08-03 08:48 hgbot Note Added: 0139821
2022-08-04 11:17 hgbot Resolution open => fixed
2022-08-04 11:17 hgbot Status new => resolved
2022-08-04 11:17 hgbot Note Added: 0139883
2022-08-04 11:20 hgbot Note Added: 0139884
2022-08-04 11:20 hgbot Status resolved => closed
2022-08-04 11:20 hgbot Note Added: 0139885
2022-08-04 11:20 hgbot Note Added: 0139886
2022-08-04 11:21 hgbot Note Added: 0139887
2022-08-04 11:21 hgbot Note Added: 0139888
2023-02-23 10:23 shuehner Relationship added related to 0051679


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker