xmlgraphics-fop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sstei...@apache.org
Subject svn commit: r1739092 - /xmlgraphics/fop-pdf-images/trunk/src/java/org/apache/fop/render/pdf/pdfbox/MergeCFFFonts.java
Date Thu, 14 Apr 2016 13:04:08 GMT
Author: ssteiner
Date: Thu Apr 14 13:04:08 2016
New Revision: 1739092

URL: http://svn.apache.org/viewvc?rev=1739092&view=rev
Log:
FOP-2562: Fix Java 6

Modified:
    xmlgraphics/fop-pdf-images/trunk/src/java/org/apache/fop/render/pdf/pdfbox/MergeCFFFonts.java

Modified: xmlgraphics/fop-pdf-images/trunk/src/java/org/apache/fop/render/pdf/pdfbox/MergeCFFFonts.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop-pdf-images/trunk/src/java/org/apache/fop/render/pdf/pdfbox/MergeCFFFonts.java?rev=1739092&r1=1739091&r2=1739092&view=diff
==============================================================================
--- xmlgraphics/fop-pdf-images/trunk/src/java/org/apache/fop/render/pdf/pdfbox/MergeCFFFonts.java
(original)
+++ xmlgraphics/fop-pdf-images/trunk/src/java/org/apache/fop/render/pdf/pdfbox/MergeCFFFonts.java
Thu Apr 14 13:04:08 2016
@@ -18,6 +18,7 @@ package org.apache.fop.render.pdf.pdfbox
 
 import java.io.IOException;
 import java.io.InputStream;
+import java.lang.reflect.InvocationTargetException;
 import java.lang.reflect.Method;
 import java.security.AccessController;
 import java.security.PrivilegedAction;
@@ -172,7 +173,11 @@ public class MergeCFFFonts extends OTFSu
                         sids.add(sid);
                     }
                 }
-            } catch (ReflectiveOperationException e1) {
+            } catch (NoSuchMethodException e1) {
+                throw new RuntimeException(e1);
+            } catch (InvocationTargetException e1) {
+                throw new RuntimeException(e1);
+            } catch (IllegalAccessException e1) {
                 throw new RuntimeException(e1);
             }
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org


Mime
View raw message