RFR: 8336470: Source launcher should work with service loader SPI in unnamed module [v9]

Christian Stein cstein at openjdk.org
Fri May 9 09:52:13 UTC 2025


> 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.

Christian Stein has updated the pull request incrementally with one additional commit since the last revision:

  Fix interim javac compilation

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/20193/files
  - new: https://git.openjdk.org/jdk/pull/20193/files/b6ebbf0c..809122fb

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=20193&range=08
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=20193&range=07-08

  Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/20193.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20193/head:pull/20193

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


More information about the compiler-dev mailing list