com.sun.media.jfxmedia.locator.Locator: Unsupported protocol "bundle"
Maurice
info at cuhka.com
Wed Mar 9 11:04:04 UTC 2016
When I tried to load a wav file from my OSGi bundle's resources JavaFX
reported that it could not load the file because the protocol "bundle"
is unsupported. I checked the code and indeed, it is not supported.
However I wondered why the Locator doesn't use the same mechanism as the
font loader. The font loader opens the input stream, downloads the file
to a temporary folder and then opens the file, whereas the sound locator
just balks at the protocol.
Maurice.
More information about the openjfx-dev
mailing list