Integrated: 8353267: jmod create finds the wrong set of packages when class file are in non-package location

Alan Bateman alanb at openjdk.org
Tue Apr 8 06:06:28 UTC 2025


On Tue, 1 Apr 2025 17:33:43 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> `jmod create` maps the contents of the module to a set of packages. This mapping derives illegal package names when class resources are located in non-package locations, e.g. in the META-INF tree. `jlink` also has an issue in this area and doesn't correctly determine if a resource is in a named package when the resource is class file in a non-package location.

This pull request has now been integrated.

Changeset: fb955bcb
Author:    Alan Bateman <alanb at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/fb955bcb153b7008b45e9080c0817fcce7b5463e
Stats:     214 lines in 4 files changed: 180 ins; 6 del; 28 mod

8353267: jmod create finds the wrong set of packages when class file are in non-package location

Reviewed-by: rriggs

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

PR: https://git.openjdk.org/jdk/pull/24362


More information about the core-libs-dev mailing list