-
Notifications
You must be signed in to change notification settings - Fork 396
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix, prevent NPE in FileSystems#getFileSystem when default game URI i…
…s missing a scheme (#8058) Bug report #8015 has a NPE in getFileSystem, this looks to happen if the default game URI is missing a scheme. That can be something trivial like an empty value for the default game URI (empty but not null), or could be caused by other reasons. Regardless, instead of throwing an exception in such cases, we can fall back to resetting the default game to a default value.
- Loading branch information
1 parent
2e5fdad
commit a8c881a
Showing
1 changed file
with
22 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters