Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0053488Openbravo ERPA. Platformpublic2023-09-19 11:012023-09-20 16:01
caristu 
Triage Platform Base 
highminorhave not tried
newopen 
5
 
 
Core
No
0053488: Remove "net.bytebuddy.experimental" flag usage
With the fix for 0053411 the usage of the "net.bytebuddy.experimental" flag was added to the ant tasks that execute junit tests as a temporary workaround in order to avoid failures in the mockito tests when using JDK 22.

It looks like this is can be fixed by upgrading bytebuddy library version. See[1].

[1] https://github.com/raphw/byte-buddy/issues/1396 [^]

From that issue looks like minimum version needed to include the fix is 1.14.3

https://github.com/raphw/byte-buddy/releases/tag/byte-buddy-1.14.3 [^]

Connection is not obvious but via:
- March 28 in issue said releasing fix
- Issue having "Need more recent asm"
- that 1.14.3 release came out same day including "Update ASM"

Note:
That this version is recent enough is inferred from above.
But not tested.
.
1) Upgrade byte-buddy library
2) Remove the usage of "net.bytebuddy.experimental" from src-test/build.xml
No tags attached.
related to defect 0053411 closed Triage Platform Base Some test cases using mockito fails with JDK22 
Issue History
2023-09-19 11:01caristuNew Issue
2023-09-19 11:01caristuAssigned To => Triage Platform Base
2023-09-19 11:01caristuModules => Core
2023-09-19 11:01caristuTriggers an Emergency Pack => No
2023-09-19 11:01caristuIssue generated from0053411
2023-09-19 11:01caristuRelationship addedrelated to 0053411
2023-09-19 11:02caristuDescription Updatedbug_revision_view_page.php?rev_id=26847#r26847
2023-09-20 15:59shuehnerDescription Updatedbug_revision_view_page.php?rev_id=26862#r26862
2023-09-20 16:01shuehnerIssue Monitored: shuehner

There are no notes attached to this issue.