Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0054223
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2023-12-27 12:542023-12-27 13:03
ReporterablascoView Statuspublic 
Assigned ToTriage Platform Base 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version21
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0054223: Enable Dynamic Loading Agents in compiler due to changes JDK Enhancement Proposal in Java 21

DescriptionIn 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 ReproduceIf we run any of the mockito tests in Java 21, the warning will appear.

ant run.test -Dtest=org.openbravo.synchronization.event.SynchronizationEventTest
TagsNo 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
Powered by Mantis Bugtracker