On Thu, 6 Aug 2026 22:40:20 GMT, Andy Goryachev <[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).
>
> modules/javafx.media/src/main/java/javafx/scene/media/Media.java line 355:
> 
>> 353:      * <ul>
>> 354:      * <li>The supplied URI must conform to RFC-2396 as required by
>> 355:      * <a 
>> href="https://docs.oracle.com/javase/8/docs/api/java/net/URI.html";>java.net.URI</a>.</li>
> 
> why are we referencing java8 docs?
> shouldn't it be a relative ref?

URI is not part of JavaFX, so we cannot use relative ref. Also, I found that 
JavaFX docs a published in several places, so using something like 
"../../URI.html" will not work.

I can update Java 8 links to latest, but I am not sure what policy we have in 
term of referencing old JDK releases and should we keep updating it to latest 
docs with each release. For example JavaFX 27 will point to JDK 27 docs.

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

PR Review Comment: https://git.openjdk.org/jfx/pull/2251#discussion_r3732380159

Reply via email to