Skip to content

Conversation

@baptistegrimaud
Copy link
Contributor

@baptistegrimaud baptistegrimaud commented Dec 18, 2025

Description

The packages that used to be exported by Jahia (see https://github.com/Jahia/jahia-private/pull/4566/changes#diff-11ea8453e7a920e0559a8fa75a0bdf5909512e1b97939812e42a369f2931aa34) were not exported by the JavaScript Modules engine (changes in #601) as the property name was incorrect.

The plan is to review the list of GraalVM exported classes for the next major release of Jahia (8.3.0.0): https://github.com/Jahia/jahia-private/issues/4576.

Tip

Documentation to guide the reviews: How to do a code review

@baptistegrimaud baptistegrimaud force-pushed the missing-export-packages-graalvm branch from 6de8365 to 3de172e Compare December 18, 2025 09:58
@baptistegrimaud baptistegrimaud force-pushed the missing-export-packages-graalvm branch from 3de172e to d5c73ab Compare December 18, 2025 09:58
@baptistegrimaud baptistegrimaud marked this pull request as ready for review December 18, 2025 10:00
@baptistegrimaud baptistegrimaud requested a review from a team as a code owner December 18, 2025 10:00
Copilot AI review requested due to automatic review settings December 18, 2025 10:00
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR corrects the Export-Package configuration for GraalVM classes in the javascript-modules-engine to restore backward compatibility. Previously, the export packages used wildcards (org.graalvm.*, com.oracle.truffle.*, com.oracle.js.*) which were replaced with an incomplete explicit list. This change restores the full list of 139 specific packages that were originally exported by Jahia.

Key changes:

  • Replaced wildcard exports with explicit package declarations for GraalVM, Oracle Truffle, and Oracle JS packages
  • Restored all previously exported packages to maintain backward compatibility

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@baptistegrimaud baptistegrimaud self-assigned this Dec 18, 2025
@baptistegrimaud baptistegrimaud enabled auto-merge (squash) December 18, 2025 10:31
@baptistegrimaud baptistegrimaud enabled auto-merge (squash) December 18, 2025 10:48
@baptistegrimaud baptistegrimaud merged commit c59adb2 into main Dec 18, 2025
12 checks passed
@baptistegrimaud baptistegrimaud deleted the missing-export-packages-graalvm branch December 18, 2025 11:02
@x0h01
Copy link
Contributor

x0h01 commented Dec 18, 2025

With:

  • Jahia 8.2.3.0 [Kimchi] - Build: 0e47150
  • dx:org.jahia.modules/javascript-modules-engine/1.1.0.SNAPSHOT (Bnd-LastModified: 1766057747664)

@x0h01 x0h01 self-assigned this Dec 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants