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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0049433
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2022-05-30 07:562022-06-23 13:15
ReporteralostaleView Statuspublic 
Assigned ToTriage Platform Base 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget VersionPR22Q4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0049433: JDK19 deprecates Locale(String, String) constructor - core

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):

The constructor Locale(String, String) is deprecated since version 19 HttpSecureAppServlet.java /openbravo/src/org/openbravo/base/secureApp line 1209 Java Problem
The constructor Locale(String, String) is deprecated since version 19 JasperProcess.java /openbravo/src/org/openbravo/erpCommon/ad_process line 80 Java Problem
The constructor Locale(String, String) is deprecated since version 19 ReportManager.java /openbravo/src/org/openbravo/erpCommon/utility/reporting line 229 Java Problem
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 0049434 newigor_trebol Localization Pack: Spain JDK19 deprecates Locale(String, String) constructor - splp 
blocks feature request 0049432 newTriage Platform Base Openbravo ERP Support JDK19 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2022-05-30 07:56 alostale New Issue
2022-05-30 07:56 alostale Assigned To => Triage Platform Base
2022-05-30 07:56 alostale Modules => Core
2022-05-30 07:56 alostale Triggers an Emergency Pack => No
2022-05-30 07:59 alostale Proposed Solution updated
2022-05-30 08:03 alostale Relationship added blocks 0049432
2022-05-30 08:05 alostale Issue cloned 0049434
2022-05-30 08:07 alostale Relationship added related to 0049434
2022-05-30 08:08 alostale Summary JDK19 deprecates Locale(String, String) constructor => JDK19 deprecates Locale(String, String) constructor - core
2022-06-23 13:15 alostale Target Version => PR22Q4


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker