[
https://issues.apache.org/jira/browse/SLING-12493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Munteanu resolved SLING-12493.
-------------------------------------
Resolution: Fixed
Fix applied, thanks [~yuansc]! Please open follow-up issues for JUnit 5 and
MOCK_JCR issues and we can tackle those separtely. But the tests are now fixed
so let's mark this complete.
> Apache Sling Scripting JavaScript 3.1.4+ test failed with Java 17 and Java 21
> -----------------------------------------------------------------------------
>
> Key: SLING-12493
> URL: https://issues.apache.org/jira/browse/SLING-12493
> Project: Sling
> Issue Type: Improvement
> Components: Scripting
> Affects Versions: Scripting JavaScript 3.1.4
> Environment: Windows, MacOS, Linux
> Reporter: Scott Yuan
> Assignee: Scott Yuan
> Priority: Minor
> Fix For: Scripting JavaScript 3.1.6
>
> Original Estimate: 15h
> Remaining Estimate: 15h
>
> With the latest Apache Sling Scripting JavaScript 3.1.4+ release, attempts to
> build the code using Java 17 and Java 21 failed due to incompatible unit
> tests.
> The release build observed in [this CI
> job|https://ci-builds.apache.org/job/Sling/job/modules/job/sling-org-apache-sling-scripting-javascript/job/master/]
> confirmed that this issue caused multiple build failures.
> Modernizing the tests would greatly improve the build process, making it
> cleaner and more reliable.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)