Integrated: 8336470: Source launcher should work with service loader SPI in unnamed module

Christian Stein cstein at openjdk.org
Fri May 16 13:22:12 UTC 2025


On Tue, 16 Jul 2024 11:45:47 GMT, Christian Stein <cstein at openjdk.org> wrote:

> Please review this change adding a missing resource file test to the `MemoryClassLoader::findResource` override in order to resolve all files beneath the source root path in source launch mode - analog to what was already implemented for `MemoryClassLoader::getResource`.
> 
> With this change applied, files in `META-INF/services/` are resolved; allowing services providers being supplied in source form.

This pull request has now been integrated.

Changeset: bca293d0
Author:    Christian Stein <cstein at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/bca293d0124af098d36cdfb18c15df18c8ce53b9
Stats:     122 lines in 7 files changed: 103 ins; 4 del; 15 mod

8336470: Source launcher should work with service loader SPI in unnamed module

Reviewed-by: alanb

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

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


More information about the compiler-dev mailing list