1 diff -ru pentaho-reporting-flow-engine-0.9.4.orig/source/org/jfree/report/JFreeReportBoot.java pentaho-reporting-flow-engine-0.9.4/source/org/jfree/report/JFreeReportBoot.java
2 --- pentaho-reporting-flow-engine-0.9.4.orig/source/org/jfree/report/JFreeReportBoot.java 2021-04-07 12:09:46.917336778 +0100
3 +++ pentaho-reporting-flow-engine-0.9.4/source/org/jfree/report/JFreeReportBoot.java 2021-04-07 12:12:04.794062296 +0100
5 import org.pentaho.reporting.libraries.base.boot.PackageManager;
6 import org.pentaho.reporting.libraries.base.versioning.ProjectInformation;
7 import org.pentaho.reporting.libraries.base.LibBaseBoot;
8 -import org.apache.commons.logging.LogFactory;
9 -import org.apache.commons.logging.Log;
10 +import java.util.logging.Logger;
13 * An utility class to safely boot and initialize the JFreeReport library. This class
16 public class JFreeReportBoot extends AbstractBoot
18 - private static final Log logger = LogFactory.getLog(JFreeReportBoot.class);
19 + private static final Logger logger = Logger.getLogger(JFreeReportBoot.class.getName());
22 * A wrappper around the user supplied global configuration.
24 // make sure logging is re-initialized after we injected our configuration.
25 if (isStrictFP() == false)
27 - logger.warn("The used VM seems to use a non-strict floating point arithmetics");
28 - logger.warn("Layouts computed with this Java Virtual Maschine may be invalid.");
29 - logger.warn("JFreeReport and the library 'iText' depend on the strict floating point rules");
30 - logger.warn("of Java1.1 as implemented by the Sun Virtual Maschines.");
31 - logger.warn("If you are using the BEA JRockit VM, start the Java VM with the option");
32 - logger.warn("'-Xstrictfp' to restore the default behaviour.");
33 + logger.warning("The used VM seems to use a non-strict floating point arithmetics");
34 + logger.warning("Layouts computed with this Java Virtual Maschine may be invalid.");
35 + logger.warning("JFreeReport and the library 'iText' depend on the strict floating point rules");
36 + logger.warning("of Java1.1 as implemented by the Sun Virtual Maschines.");
37 + logger.warning("If you are using the BEA JRockit VM, start the Java VM with the option");
38 + logger.warning("'-Xstrictfp' to restore the default behaviour.");
41 final PackageManager mgr = getPackageManager();
47 - ("An error occured while checking the system properties for extension modules.", se);
49 + ("An error occured while checking the system properties for extension modules: " + se);
53 diff -ru pentaho-reporting-flow-engine-0.9.4.orig/source/org/jfree/report/util/ComponentDrawable.java pentaho-reporting-flow-engine-0.9.4/source/org/jfree/report/util/ComponentDrawable.java
54 --- pentaho-reporting-flow-engine-0.9.4.orig/source/org/jfree/report/util/ComponentDrawable.java 2021-04-07 12:09:46.916336765 +0100
55 +++ pentaho-reporting-flow-engine-0.9.4/source/org/jfree/report/util/ComponentDrawable.java 2021-04-07 12:11:25.530570919 +0100
57 import javax.swing.RepaintManager;
58 import javax.swing.SwingUtilities;
60 -import org.apache.commons.logging.Log;
61 -import org.apache.commons.logging.LogFactory;
62 +import java.util.logging.Logger;
65 * Creation-Date: 11.10.2005, 14:03:15
68 public class ComponentDrawable
70 - private static final Log logger = LogFactory.getLog (ComponentDrawable.class);
71 + private static final Logger logger = Logger.getLogger(ComponentDrawable.class.getName());
74 * A runnable that executes the drawing operation on the event-dispatcher thread.
79 - ComponentDrawable.logger.warn("Failed to compute the preferred size.");
80 + ComponentDrawable.logger.warning("Failed to compute the preferred size.");
82 return new Dimension(0, 0);
88 - ComponentDrawable.logger.warn("Failed to compute the defined size.");
89 + ComponentDrawable.logger.warning("Failed to compute the defined size.");
91 return new Dimension(0, 0);
97 - ComponentDrawable.logger.warn("Failed to redraw the component.");
98 + ComponentDrawable.logger.warning("Failed to redraw the component.");