Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0054588 | Openbravo ERP | A. Platform | public | 2024-02-06 15:16 | 2024-02-08 15:22 |
Reporter | shuehner | ||||
Assigned To | Triage Platform Base | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | |||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0054588: Update ecj compile jar in eclipse-warnings to be able to check up to jdk21, keep older ecj for use with 11 | ||||
Description | 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. Always using ecj-4.30.jar (running with java17) causes warnings/errors when being used for old backoffice versions which do not support 17 cleanly or at all (i.e. jdk15 nashorn removal). | ||||
Steps To Reproduce | Check CI output for i.e. mod-merged-jdk21-pg15 job and notice output for eclipse-warnings artifact showing: [echo] Compiling. Compliance level 13... | ||||
Proposed Solution | Change logic to auto-detect java version used to run eclipse-warnings check. When running java11 keep using existing older ecj-4.15.jar otherwise use newer ecj-4.30.jar As we only test/support java 11,17,21, (higher) this 11 or not check satifies ecj-4.30.jar being used with >=Java17 Also update compliance.max setting depending on the ecj version selected (13 vs 21) | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2024-02-06 15:16 | shuehner | New Issue | |||
2024-02-06 15:16 | shuehner | Assigned To | => Triage Platform Base | ||
2024-02-06 15:16 | shuehner | Modules | => Core | ||
2024-02-06 15:16 | shuehner | Triggers an Emergency Pack | => No | ||
2024-02-06 15:16 | shuehner | Issue generated from | 0054458 | ||
2024-02-06 15:17 | shuehner | Description Updated | bug_revision_view_page.php?rev_id=27467#r27467 | ||
2024-02-06 15:34 | hgbot | Note Added: 0160303 | |||
2024-02-08 15:22 | hgbot | Resolution | open => fixed | ||
2024-02-08 15:22 | hgbot | Status | new => closed | ||
2024-02-08 15:22 | hgbot | Note Added: 0160487 | |||
2024-02-08 15:22 | hgbot | Note Added: 0160488 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|