pdfbox-commits mailing list archives

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

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

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

Modified: pdfbox/trunk/debugger/src/main/java/org/apache/pdfbox/debugger/PDFDebugger.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/debugger/src/main/java/org/apache/pdfbox/debugger/PDFDebugger.java?rev=1825477&r1=1825476&r2=1825477&view=diff
==============================================================================
--- pdfbox/trunk/debugger/src/main/java/org/apache/pdfbox/debugger/PDFDebugger.java (original)
+++ pdfbox/trunk/debugger/src/main/java/org/apache/pdfbox/debugger/PDFDebugger.java Tue Feb
27 17:44:11 2018
@@ -210,8 +210,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