Skip to content

Commit

Permalink
handle file-url in openResourceStream
Browse files Browse the repository at this point in the history
  • Loading branch information
mgotz committed Mar 5, 2024
1 parent 09f38fa commit a777e8e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ public static InputStream openResourceStream(final String resource_name) throws
// final long milli = Math.round(1000 + Math.random()*4000);
// Thread.sleep(milli);
// }
if (resource_name.startsWith("http"))
if (resource_name.startsWith("http") || resource_name.startsWith("file:/"))
return openURL(resource_name);

// Handle legacy RCP URL
Expand Down

0 comments on commit a777e8e

Please sign in to comment.