Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0
-
None
-
None
-
Operating System: All
Platform: All
-
32020
Description
Running code like this...
FileConfiguration config = new PropertiesConfiguration();
config.setFile(new File("/invalid/path/my.properties"));
config.save();
...doesn't throw any Exception. AbstractFileConfiguration.save(File) swallows
the FileNotFoundException, prints a stack trace, and completes normally,
without having saved the file.
Cheers
Iain Shepherd