Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
| View Issue Details | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
| 0054486 | Openbravo ERP | A. Platform | public | 2024-01-24 13:37 | 2024-03-04 14:32 | |||||||
| 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 | PR24Q1.1 | Fixed in Version | PR24Q1.1 | |||||||||
| Merge Request Status | approved | |||||||||||
| Review Assigned To | ||||||||||||
| OBNetwork customer | No | |||||||||||
| Web browser | ||||||||||||
| Modules | Core | |||||||||||
| Support ticket | ||||||||||||
| Regression level | ||||||||||||
| Regression date | ||||||||||||
| Regression introduced in release | ||||||||||||
| Regression introduced by commit | ||||||||||||
| Triggers an Emergency Pack | No | |||||||||||
| Summary | 0054486: Avoid compiler warning about implicit annotation processing by disabling it using -proc:none | |||||||||||
| Description | Until Java<21 the java compiler implicitely looked for and ran any annotation processor found on the classpath. Since Java21 the following warning is shown to inform users about upcoming change. [javac] Note: Annotation processing is enabled because one or more processors were found [javac] on the class path. A future release of javac may disable annotation processing [javac] unless at least one processor is specified by name (-processor), or a search [javac] path is specified (--processor-path, --processor-module-path), or annotation [javac] processing is enabled explicitly (-proc:only, -proc:full). [javac] Use -Xlint:-options to suppress this message. [javac] Use -proc:none to disable annotation processing. Upstream intention/recommendation instead is to explicitely specify/configure annotation processing by the build tool. However a "compatibility option" -proc:full was added to keep using the "old default policy" | |||||||||||
| Steps To Reproduce | Running compile with jdk-21 | |||||||||||
| Proposed Solution | Not knowingly needing any annotation processing idea is to explicitely disable it using -proc:none If usage should show up later it is better to explicitely notice this (i.e. in CI) and then work on properly supporting that. | |||||||||||
| Additional Information | ||||||||||||
| Tags | No tags attached. | |||||||||||
| Relationships |
| |||||||||||
| Attached Files | ||||||||||||
| Issue History | ||||||||||||
| Date Modified | Username | Field | Change | |||||||||
| 2024-01-29 10:52 | shuehner | Type | feature request => backport | |||||||||
| 2024-01-29 10:52 | shuehner | Target Version | => PR24Q1 | |||||||||
| 2024-02-05 15:10 | hgbot | Note Added: 0160262 | ||||||||||
| 2024-02-13 13:50 | AugustoMauch | Target Version | PR24Q1 => PR24Q1.1 | |||||||||
| 2024-03-04 14:32 | hgbot | Merge Request Status | open => approved | |||||||||
| 2024-03-04 14:32 | hgbot | Resolution | open => fixed | |||||||||
| 2024-03-04 14:32 | hgbot | Status | scheduled => closed | |||||||||
| 2024-03-04 14:32 | hgbot | Fixed in Version | => PR24Q1.1 | |||||||||
| 2024-03-04 14:32 | hgbot | Note Added: 0161623 | ||||||||||
| 2024-03-04 14:32 | hgbot | Note Added: 0161624 | ||||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||