On Fri, 28 Aug 2026 21:41:05 GMT, Alexander Matveev <[email protected]> 
wrote:

>> - Added documentation for "resource" protocol.
>> - "resource" protocol was added with JDK-8238755 to support GraalVM 
>> native-image.
>> 
>> ---------
>> - [x] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> Alexander Matveev has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   8294872: Document "resource" protocol [v5]

Looks good with one suggested change.

modules/javafx.media/src/main/java/javafx/scene/media/AudioClip.java line 74:

> 72:      * @param source the URL from which to load the audio clip. Supported 
> URL schemes
> 73:      * are <code>http</code>, <code>https</code>, <code>file</code>, 
> <code>jar</code>,
> 74:      * <code>jrt</code>, and <code>resource</code>.

Add the following sentence, copied from the Media class:


<code>resource</code> URIs are supported only in statically linked applications.

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

PR Review: https://git.openjdk.org/jfx/pull/2251#pullrequestreview-5094875205
PR Review Comment: https://git.openjdk.org/jfx/pull/2251#discussion_r3918464489

Reply via email to