Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0054458Openbravo ERPA. Platformpublic2024-01-24 16:592024-02-10 10:47
shuehner 
Triage Platform Base 
normalminorhave not tried
closedout of date 
5
 
 
Core
No
0054458: Update ecj compile jar in eclipse-warnings to be able to check up to jdk21
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).

We should update the ecj compiler in there to be able to check up to the latest jdk 21 (LTS)

Updating to ecj>4.27 requires to run the tool with java17 itself.
As we reuse java version of ant to run ecj also to auto-detect 'target compliance' we can't easily uptodate to 4.30 yet
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.30 release (also known as eclipse 2023-12)
Update compliance.max setting to 21 (highest supporting by ecj version 4.30
No tags attached.
related to feature request 0054459 closed Triage Platform Base Update ecj compile jar in eclipse-warnings to be able to check up to jdk19 
blocks feature request 0054449 new Triage Platform Base Support JDK21 (LTS) 
Issue History
2024-01-24 16:59shuehnerNew Issue
2024-01-24 16:59shuehnerAssigned To => Triage Platform Base
2024-01-24 16:59shuehnerModules => Core
2024-01-24 16:59shuehnerTriggers an Emergency Pack => No
2024-01-24 17:00shuehnerRelationship addedblocks 0054449
2024-01-24 17:22shuehnerIssue cloned0054459
2024-01-24 17:22shuehnerRelationship addedrelated to 0054459
2024-01-24 17:23shuehnerDescription Updatedbug_revision_view_page.php?rev_id=27389#r27389
2024-01-24 17:37hgbotNote Added: 0159723
2024-02-06 15:16shuehnerIssue cloned0054588
2024-02-10 10:44hgbotNote Added: 0160593
2024-02-10 10:47shuehnerNote Added: 0160595
2024-02-10 10:47shuehnerStatusnew => closed
2024-02-10 10:47shuehnerResolutionopen => out of date

Notes
(0159723)
hgbot   
2024-01-24 17:37   
Merge Request created: https://gitlab.com/openbravo/tools/ci/eclipse-warnings/-/merge_requests/5 [^]
(0160593)
hgbot   
2024-02-10 10:44   
Merge request closed: https://gitlab.com/openbravo/tools/ci/eclipse-warnings/-/merge_requests/5 [^]
(0160595)
shuehner   
2024-02-10 10:47   
Got replaced by 54558