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

Christian Stein cstein at openjdk.org
Tue Apr 29 10:15:19 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 two additional commits since the last revision:

 - Update copyright year
   
   [skip ci]
 - User copyright text w/o `"Classpath" exception`
   
   [skip ci]

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/20193/files
  - new: https://git.openjdk.org/jdk/pull/20193/files/641212aa..0a65733f

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

  Stats: 4 lines in 2 files changed: 0 ins; 2 del; 2 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