On Tue, 11 Feb 2020 22:31:49 GMT, Alexander Matveev <almat...@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

Reply via email to