@@ -0,0 +1,646 @@
+package sfBugs;%0D%0A%0D%0Aimport java.io.FileNotFoundException;%0D%0Aimport java.io.FileOutputStream;%0D%0Aimport java.io.OutputStream;%0D%0Aimport java.io.PrintWriter;%0D%0A%0D%0Apublic class Bug3092772 %7B%0D%0A    void test() throws FileNotFoundException %7B%0D%0A        dump(new FileOutputStream(%22C:/TEMP/2.txt%22));%0D%0A    %7D%0D%0A%0D%0A    public void dump(OutputStream o) %7B%0D%0A        PrintWriter out = new PrintWriter(o, true);%0D%0A        try %7B%0D%0A            System.out.println(%22hi%22);%0D%0A        %7D%0D%0A        catch (Throwable t) %7B%0D%0A            t.printStackTrace();%0D%0A        %7D%0D%0A        finally %7B%0D%0A            if (o != System.out) %7B%0D%0A                out.close();%0D%0A            %7D%0D%0A        %7D%0D%0A    %7D%0D%0A%7D%0D%0A

Add Bug3092772