RFR: 8293971: Loading new Media from resources can sometimes fail when loading from FXML
Alexander Matveev
almatvee at openjdk.org
Tue Sep 27 01:22:41 UTC 2022
On Sat, 24 Sep 2022 03:07:00 GMT, Alexander Matveev <almatvee at openjdk.org> wrote:
> There was two problems:
> - uri.getPath() was returning null for jar URI, since it is not a standard URI and thus we did not detect file type based on extension.
> - Our signature detection for MP3 had a bug and did not detect MP3 correctly. See comments in code.
>
> Fixed by adding function to extract file name from jar URI and also signature detection was fixed for MP3.
8293971: Loading new Media from resources can sometimes fail when loading from FXML [v2]
- Fixed comments from Andy.
-------------
PR: https://git.openjdk.org/jfx/pull/902
More information about the openjfx-dev
mailing list