Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0054459Openbravo ERPA. Platformpublic2024-01-24 17:222024-02-10 10:47
shuehner 
Triage Platform Base 
normalminorhave not tried
closedout of date 
5
 
 
Core
No
0054459: Update ecj compile jar in eclipse-warnings to be able to check up to jdk19
Currently the eclipse-warnings repo
https://gitlab.com/openbravo/tools/ci/eclipse-warnings [^]

Is restricting the 'compliance' to java version parameter to a max 13 (so checking against jdk13).

JDK19 as max target is not the ideal value but comes from:
- ecj-4.27.jar being the last version compiled against java11
  - and it support compliance up to jdk19
- 4.28 and higher require java17 to run the ecj itself
  - While we have that in CI using it unconditionally trigger unwanted side-effect
  - As we get the 'intented' java compliance level from the 'java used to run that tool'

=> So intermediate work in this issue to catch up from jdk13 -> 19
and update to i.e. jdk21 comes only later (in 54458)
Check CI output for i.e. mod-merged-jdk21-pg15 job and notice output for eclipse-warnings artifact showing:

     [echo] Compiling. Compliance level 13...
Update ecj jar to latest 4.27 release
Update compliance.max setting to 19 (highest supporting by ecj version 4.27
No tags attached.
related to feature request 0054458 closed Triage Platform Base Update ecj compile jar in eclipse-warnings to be able to check up to jdk21 
blocks feature request 0054449 new Triage Platform Base Support JDK21 (LTS) 
Issue History
2024-01-24 17:22shuehnerNew Issue
2024-01-24 17:22shuehnerAssigned To => Triage Platform Base
2024-01-24 17:22shuehnerModules => Core
2024-01-24 17:22shuehnerTriggers an Emergency Pack => No
2024-01-24 17:22shuehnerIssue generated from0054458
2024-01-24 17:22shuehnerRelationship addedrelated to 0054458
2024-01-24 17:22shuehnerRelationship addedblocks 0054449
2024-01-24 17:29hgbotNote Added: 0159720
2024-02-10 10:43hgbotNote Added: 0160592
2024-02-10 10:47shuehnerNote Added: 0160594
2024-02-10 10:47shuehnerStatusnew => closed
2024-02-10 10:47shuehnerResolutionopen => out of date

Notes
(0159720)
hgbot   
2024-01-24 17:29   
Merge Request created: https://gitlab.com/openbravo/tools/ci/eclipse-warnings/-/merge_requests/4 [^]
(0160592)
hgbot   
2024-02-10 10:43   
Merge request closed: https://gitlab.com/openbravo/tools/ci/eclipse-warnings/-/merge_requests/4 [^]
(0160594)
shuehner   
2024-02-10 10:47   
Got replaced by 54558