On Tue, 11 Oct 2022 21:41:55 GMT, Kevin Rushforth <k...@openjdk.org> wrote:
>> tests/manual/media/FXMediaPlayer/src/fxmediaplayer/media/FXMedia.java line >> 97: >> >>> 95: uri = >>> FXMedia.class.getResource("/fxmediaplayer/media").toURI(); >>> 96: >>> 97: if (uri.getScheme().equals("jar")) { >> >> is it possible for uri scheme to be null? >> may be "jar".equals(uri.getScheme()) ? > > Related question: Can `uri` itself be null? so the logic seems to be either a "jar", or else it's a file, right? is it possible to be something else (i.e. the resource is missing altogether)? or some other condition? ------------- PR: https://git.openjdk.org/jfx/pull/909