On Wed, 19 Jun 2024 21:13:33 GMT, Maurizio Cimadamore <mcimadam...@openjdk.org> 
wrote:

>> What do you suggest? Just a note in the error message that exploded 
>> modules/class paths are not supported?
>
> Something like that yes

An altermative is to use ResolvedModule::reference to get a ModuleReference, 
then use its open method to open the contents of the module to get a 
ModuleReader. That will give you a stream over the names of all resources in 
the module. It will work for all exploded and packaged modules.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/19774#discussion_r1647911987

Reply via email to