@@ -0,0 +1,575 @@
+package sfBugs;%0A%0Aimport edu.umd.cs.findbugs.annotations.NoWarning;%0Aimport java.io.File;%0Aimport java.io.IOException;%0A%0Apublic class Bug1992566 %7B%0A%09@NoWarning(%22RV%22)%0A%09public void rvFalsePos(File directory) %7B%0A%09%09boolean created = directory.mkdirs();%0A%09%09if (!created) %7B%0A%09%09%09throw new IllegalStateException(%22directory = %22 + directory.getPath() +%0A%09%09%09%09%22 failed to exist and could not be created%22);%0A%09%09%7D%0A%09%7D%0A%09%0A%09@NoWarning(%22RV%22)%0A%09public void rvFalsePos2(File file) throws IOException %7B%0A%09%09if ( !file.createNewFile() ) %7B%0A%09%09%09throw new IOException(%22failed to create %22 + file.getPath());%0A%09%09%7D%0A%09%7D%0A%7D%0A

Test for bug 1992566. I couldn't actually reproduce it, so I will ask the poster for more information.