[lworld] RFR: 8366239: Remove 'package_to_module' function from imageFile.cpp

Roger Riggs rriggs at openjdk.org
Wed Aug 27 13:47:51 UTC 2025


On Wed, 27 Aug 2025 12:44:06 GMT, David Beaumont <duke at openjdk.org> wrote:

> Removing the 'package_to_module' function from imageFile.cpp and the associated JNI export.
> This code isn't used or referenced from anywhere, and removing it makes adapting the package flags for use with preview mode simpler.

Removing dead code looks good to me.
It should be done in the mainline too.

-------------

Marked as reviewed by rriggs (Committer).

PR Review: https://git.openjdk.org/valhalla/pull/1535#pullrequestreview-3159870784


More information about the valhalla-dev mailing list