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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0056729
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2024-10-10 11:422024-10-10 11:44
ReportershuehnerView Statuspublic 
Assigned ToTriage Platform Base 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
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

0056729: export.config.script produces wrong data when run with jdk21 (that causes later update.database to fail)

DescriptionRunning ant export.config.script with java21 produces two extra tags in the configScript.xml which did not happen when running it before (i.e. with java11 or java17).

Those two tags are:
- <first>
- <last>

and are added at the beginning of the <vector> element.
They 'duplicate' the first + last normal elements of the <vector>.

Apart from being a formal change those tags existing makes later update.database call to fail as it cannot parse those extra tags.

Steps To ReproduceUsing java_home pointing to jdk21
in workspace with backoffice (no extra modules needed)
ant install.source
set template module in development:
- update ad_module set isindevelopment = 'Y' where type = 'T';
ant export.config.script
git diff
# review the output for the configScript.xml in org.openbravo.v3 module
ant update.database
# It fails parsing the configScript.xml
Proposed SolutionEnsure the extra tags are not getting emitted
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0054490 closedTriage Platform Base update.database fails with jdk21 
blocks feature request 0054449 newTriage Platform Base Support JDK21 (LTS) 

-  Notes
(0170257)
shuehner (administrator)
2024-10-10 11:44

Problem might be side-effect of this change in Jdk21 affecting the Java Collections api: https://openjdk.org/jeps/431 [^]
It seems that commons-betwixt library is picking up extra first/last methods/members of java.util.Vector and the mis-behaving.

- Issue History
Date Modified Username Field Change
2024-10-10 11:42 shuehner New Issue
2024-10-10 11:42 shuehner Assigned To => Triage Platform Base
2024-10-10 11:42 shuehner Modules => Core
2024-10-10 11:42 shuehner Triggers an Emergency Pack => No
2024-10-10 11:42 shuehner Relationship added related to 0054490
2024-10-10 11:42 shuehner Relationship added blocks 0054449
2024-10-10 11:44 shuehner Note Added: 0170257


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker