Openbravo Issue Tracking System - Openbravo ERP | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0054223 | Openbravo ERP | A. Platform | public | 2023-12-27 12:54 | 2023-12-27 13:03 |
| Reporter | ablasco | ||||
| Assigned To | Triage Platform Base | ||||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | new | Resolution | open | ||
| Platform | OS | 5 | OS Version | ||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Merge Request Status | open | ||||
| 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 | 0054223: Enable Dynamic Loading Agents in compiler due to changes JDK Enhancement Proposal in Java 21 | ||||
| Description | In Java 21, a new JDK Enhancement Proposal adds a Warning message during compilation in order to active a flag to enable Dynamic Loading Agents. https://openjdk.org/jeps/451 [^] Compilation Warning: WARNING: If a serviceability tool is in use, please run with -XX:+EnableDynamicAgentLoading to hide this warning WARNING: If a serviceability tool is not in use, please run with -Djdk.instrument.traceUsage for more information WARNING: Dynamic loading of agents will be disallowed by default in a future release In this case, we are using agents in byte-buddy-agent as a dependency on Mockito Tests. | ||||
| Steps To Reproduce | If we run any of the mockito tests in Java 21, the warning will appear. ant run.test -Dtest=org.openbravo.synchronization.event.SynchronizationEventTest | ||||
| Proposed Solution | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2023-12-27 12:54 | ablasco | New Issue | |||
| 2023-12-27 12:54 | ablasco | Assigned To | => Triage Platform Base | ||
| 2023-12-27 12:54 | ablasco | OBNetwork customer | => No | ||
| 2023-12-27 12:54 | ablasco | Modules | => Core | ||
| 2023-12-27 12:54 | ablasco | Triggers an Emergency Pack | => No | ||
| 2023-12-27 13:03 | hgbot | Merge Request Status | => open | ||
| 2023-12-27 13:03 | hgbot | Note Added: 0158647 | |||
| Notes | |||||
|
|
|||||
|
|
||||