changeset 10150:a1876e945cda

8044694: Fix finally lint warnings in sun.print Reviewed-by: prr
author darcy
date Tue, 03 Jun 2014 12:32:25 -0700
parents 6aeb30341aa3
children 78d196f24646
files src/share/classes/sun/print/PSPrinterJob.java src/solaris/classes/sun/print/UnixPrintJob.java
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/sun/print/PSPrinterJob.java	Tue Jun 03 21:03:35 2014 +0400
+++ b/src/share/classes/sun/print/PSPrinterJob.java	Tue Jun 03 12:32:25 2014 -0700
@@ -708,8 +708,8 @@
                     }
                 } finally {
                     pw.flush();
-                    throw new IOException(sw.toString());
                 }
+                throw new IOException(sw.toString());
             }
         }
 
--- a/src/solaris/classes/sun/print/UnixPrintJob.java	Tue Jun 03 21:03:35 2014 +0400
+++ b/src/solaris/classes/sun/print/UnixPrintJob.java	Tue Jun 03 12:32:25 2014 -0700
@@ -992,8 +992,8 @@
                     }
                 } finally {
                     pw.flush();
-                    throw new IOException(sw.toString());
                 }
+                throw new IOException(sw.toString());
             }
         }