pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1862949 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/rendering/PageDrawer.java
Date Fri, 12 Jul 2019 04:10:50 GMT
Author: tilman
Date: Fri Jul 12 04:10:50 2019
New Revision: 1862949

URL: http://svn.apache.org/viewvc?rev=1862949&view=rev
Log:
PDFBOX-4581: catch InternalError

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/rendering/PageDrawer.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/rendering/PageDrawer.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/rendering/PageDrawer.java?rev=1862949&r1=1862948&r2=1862949&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/rendering/PageDrawer.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/rendering/PageDrawer.java Fri Jul
12 04:10:50 2019
@@ -1384,15 +1384,15 @@ public class PageDrawer extends PDFGraph
         {
             if (isContentRendered())
             {
-               try
-               {
-                   graphics.drawImage(image, null, null);
-               }
-               catch (InternalError ie)
-               {
-                   LOG.error("Exception drawing image, see JDK-6689349, " +
-                             "try rendering into a BufferedImage instead", ie);
-               }
+                try
+                {
+                    graphics.drawImage(image, null, null);
+                }
+                catch (InternalError ie)
+                {
+                    LOG.error("Exception drawing image, see JDK-6689349, " +
+                              "try rendering into a BufferedImage instead", ie);
+                }
             }
         }
 



Mime
View raw message