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.

Reply via email to