Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0054223 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [Openbravo ERP] A. Platform | minor | have not tried | 2023-12-27 12:54 | 2023-12-27 13:03 | |||||||
Reporter | ablasco | View Status | public | |||||||||
Assigned To | Triage Platform Base | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | new | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | Any | Java version | 21 | |||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | SCM revision | |||||||||||
Review Assigned To | ||||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
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 | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0158647) hgbot (developer) 2023-12-27 13:03 |
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1087 [^] |
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 | Modules | => Core |
2023-12-27 12:54 | ablasco | Triggers an Emergency Pack | => No |
2023-12-27 13:03 | hgbot | Note Added: 0158647 |
Copyright © 2000 - 2009 MantisBT Group |