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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0055723
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Openbravo ERP] A. Platformmajorhave not tried2024-06-10 11:382024-10-21 08:59
ReporterAugustoMauchView Statuspublic 
Assigned ToAugustoMauch 
PrioritynormalResolutionopenFixed in Version
StatusacknowledgedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
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

0055723: Current Graal version does not work with Java 22+

Description

See https://openbravo.atlassian.net/browse/RM-9765. [^]

Steps to be done:
- Download Graal for Java 22: https://www.graalvm.org/downloads/ [^]
- Replace the current Graal version with the new one here: https://gitlab.com/openbravo/product/pmods/org.openbravo.service.jsexecutor/-/blob/master/lib/runtime/graal-sdk-22.3.1.jar?ref_type=heads [^]
- Test it in https://builds.openbravo.com/view/modules/job/mod-merged-future-stack/, [^] make sure to remove these lines from the "JUNIT_DISABLED_TESTS" parameter:
    # ignore tests requiring GraalJS on jdk22+ (not working):
    https://openbravo.atlassian.net/browse/RM-9765 [^]
        org.openbravo.retail.discounts.test
        org.openbravo.discounts.combo.test
        org.openbravo.discounts.propertycondition
        org.openbravo.discounts.scaledprice.test
        org.openbravo.taxes.test
- Test it that jar using the minimum JDK version we support, to check backwards-compatibility
Steps To Reproduce-
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0170631)
AugustoMauch (administrator)
2024-10-21 08:59

There is no graal version that supports both Java 17 and Java 21+. Whenever the minimum java version is increased to 21, we could use the new graal version, but not in the meantime.

Still needs to be decided how to deal with this, maybe we will need to support two branches of the module, one to be used in versions <21, the other for 21+.

- Issue History
Date Modified Username Field Change
2024-06-10 11:38 AugustoMauch New Issue
2024-06-10 11:38 AugustoMauch Assigned To => AugustoMauch
2024-06-10 11:38 AugustoMauch Modules => Core
2024-06-10 11:38 AugustoMauch Triggers an Emergency Pack => No
2024-06-21 14:06 AugustoMauch Status new => acknowledged
2024-08-29 11:29 AugustoMauch Summary Review Graal errors when testing Java 22 => Current Graal version does not work with Java 22+
2024-08-29 11:29 AugustoMauch Description Updated View Revisions
2024-08-29 11:49 AugustoMauch Description Updated View Revisions
2024-10-21 08:56 AugustoMauch Type defect => design defect
2024-10-21 08:59 AugustoMauch Note Added: 0170631
2024-10-21 08:59 AugustoMauch Description Updated View Revisions


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker