[Rev 01] RFR: 8238755: allow to create static lib for javafx.media on linux

Johan Vos jvos at openjdk.java.net
Wed Feb 12 09:41:51 UTC 2020


On Tue, 11 Feb 2020 22:31:49 GMT, Alexander Matveev <almatvee at openjdk.org> wrote:

>> As for the ConnectionHolder: the URIConnectionHolder will be used. This indeed will by default return false for `isSeekable` hence that functionality will now not be possible using the "resource" protocol.
> 
> Does "resource" protocol allows random access? If yes, we should update isSeekable() to return true for resource protocol. seek() should also be updated. I think same should work as for "if ((urlConnection instanceof JarURLConnection) || isJRT())"

> Does "resource" protocol allows random access? If yes, we should update isSeekable() to return true for resource protocol. seek() should also be updated. I think same should work as for "if ((urlConnection instanceof JarURLConnection) || isJRT())"

Good suggestion, committed.

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

PR: https://git.openjdk.java.net/jfx/pull/109


More information about the openjfx-dev mailing list