pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1825476 - /pdfbox/branches/2.0/debugger/src/main/java/org/apache/pdfbox/debugger/PDFDebugger.java
Date Tue, 27 Feb 2018 17:44:07 GMT
Author: tilman
Date: Tue Feb 27 17:44:07 2018
New Revision: 1825476

URL: http://svn.apache.org/viewvc?rev=1825476&view=rev
Log:
PDFBOX-4112: revert because the message comes up in jdk7

Modified:
    pdfbox/branches/2.0/debugger/src/main/java/org/apache/pdfbox/debugger/PDFDebugger.java

Modified: pdfbox/branches/2.0/debugger/src/main/java/org/apache/pdfbox/debugger/PDFDebugger.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/debugger/src/main/java/org/apache/pdfbox/debugger/PDFDebugger.java?rev=1825476&r1=1825475&r2=1825476&view=diff
==============================================================================
--- pdfbox/branches/2.0/debugger/src/main/java/org/apache/pdfbox/debugger/PDFDebugger.java
(original)
+++ pdfbox/branches/2.0/debugger/src/main/java/org/apache/pdfbox/debugger/PDFDebugger.java
Tue Feb 27 17:44:07 2018
@@ -1167,8 +1167,7 @@ public class PDFDebugger extends JFrame
         }
         catch (ClassNotFoundException e)
         {
-            System.out.println("Oh-oh, sun.java2d.cmm.kcms.KcmsServiceProvider no longer
exists, "
-                             + "so image rendering will be much slower :-(");
+            // do nothing. Happens with JDK7 (which has KCMS) and with JDK10 (which hasn't)
         }
 
         UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());



Mime
View raw message