c32ff5
diff -ru libbase-1.1.3.orig/source/org/pentaho/reporting/libraries/base/boot/AbstractBoot.java libbase-1.1.3/source/org/pentaho/reporting/libraries/base/boot/AbstractBoot.java
c32ff5
--- libbase-1.1.3.orig/source/org/pentaho/reporting/libraries/base/boot/AbstractBoot.java	2009-11-16 10:14:12.000000000 +0000
c32ff5
+++ libbase-1.1.3/source/org/pentaho/reporting/libraries/base/boot/AbstractBoot.java	2021-02-23 12:11:46.680967049 +0000
c32ff5
@@ -24,8 +24,7 @@
c32ff5
 import java.util.ArrayList;
c32ff5
 import java.util.Enumeration;
c32ff5
 
c32ff5
-import org.apache.commons.logging.Log;
c32ff5
-import org.apache.commons.logging.LogFactory;
c32ff5
+import java.util.logging.Logger;
c32ff5
 import org.pentaho.reporting.libraries.base.config.Configuration;
c32ff5
 import org.pentaho.reporting.libraries.base.config.ExtendedConfiguration;
c32ff5
 import org.pentaho.reporting.libraries.base.config.ExtendedConfigurationWrapper;
c32ff5
@@ -52,7 +51,7 @@
c32ff5
   /**
c32ff5
    * The logger for this class.
c32ff5
    */
c32ff5
-  private static final Log LOGGER = LogFactory.getLog(AbstractBoot.class);
c32ff5
+  private static final Logger LOGGER = Logger.getLogger(AbstractBoot.class.getName());
c32ff5
 
c32ff5
   /**
c32ff5
    * The configuration wrapper around the plain configuration.
c32ff5
@@ -163,7 +162,7 @@
c32ff5
       }
c32ff5
       if (isBootFailed())
c32ff5
       {
c32ff5
-        LOGGER.error(getClass() + " failed to boot: " + bootFailed.getMessage());
c32ff5
+        LOGGER.severe(getClass() + " failed to boot: " + bootFailed.getMessage());
c32ff5
       }
c32ff5
       while (isBootInProgress())
c32ff5
       {
c32ff5
@@ -206,7 +205,7 @@
c32ff5
     }
c32ff5
     catch (Exception e)
c32ff5
     {
c32ff5
-      LOGGER.error(getClass() + " failed to boot: ", e);
c32ff5
+      LOGGER.severe(getClass() + " failed to boot: " + e);
c32ff5
       this.bootFailed = e;
c32ff5
     }
c32ff5
     finally
c32ff5
@@ -265,8 +264,8 @@
c32ff5
           if (boot.isBootFailed())
c32ff5
           {
c32ff5
             this.bootFailed = boot.getBootFailureReason();
c32ff5
-            LOGGER.error("Dependent project failed to boot up: " +
c32ff5
-                projectInformation.getBootClass() + " failed to boot: ", this.bootFailed);
c32ff5
+            LOGGER.severe("Dependent project failed to boot up: " +
c32ff5
+                projectInformation.getBootClass() + " failed to boot: " + this.bootFailed);
c32ff5
             return;
c32ff5
           }
c32ff5
         }
c32ff5
@@ -419,7 +418,7 @@
c32ff5
           }
c32ff5
           catch (IOException ioe)
c32ff5
           {
c32ff5
-            LOGGER.warn("Failed to load the user configuration at " + url, ioe);
c32ff5
+            LOGGER.warning("Failed to load the user configuration at " + url + " : " + ioe);
c32ff5
           }
c32ff5
         }
c32ff5
 
c32ff5
@@ -431,7 +430,7 @@
c32ff5
       }
c32ff5
       catch (IOException e)
c32ff5
       {
c32ff5
-        LOGGER.warn("Failed to lookup the user configurations.", e);
c32ff5
+        LOGGER.warning("Failed to lookup the user configurations: " + e);
c32ff5
       }
c32ff5
     }
c32ff5
     if (addSysProps)
c32ff5
@@ -455,4 +454,4 @@
c32ff5
     }
c32ff5
     return extWrapper;
c32ff5
   }
c32ff5
-}
c32ff5
\ No newline at end of file
c32ff5
+}
c32ff5
diff -ru libbase-1.1.3.orig/source/org/pentaho/reporting/libraries/base/boot/PackageManager.java libbase-1.1.3/source/org/pentaho/reporting/libraries/base/boot/PackageManager.java
c32ff5
--- libbase-1.1.3.orig/source/org/pentaho/reporting/libraries/base/boot/PackageManager.java	2009-11-16 10:14:12.000000000 +0000
c32ff5
+++ libbase-1.1.3/source/org/pentaho/reporting/libraries/base/boot/PackageManager.java	2021-02-23 12:18:45.836952221 +0000
c32ff5
@@ -23,8 +23,8 @@
c32ff5
 import java.util.HashMap;
c32ff5
 import java.util.Iterator;
c32ff5
 
c32ff5
-import org.apache.commons.logging.Log;
c32ff5
-import org.apache.commons.logging.LogFactory;
c32ff5
+import java.util.logging.Level;
c32ff5
+import java.util.logging.Logger;
c32ff5
 import org.pentaho.reporting.libraries.base.config.Configuration;
c32ff5
 import org.pentaho.reporting.libraries.base.config.PropertyFileConfiguration;
c32ff5
 import org.pentaho.reporting.libraries.base.util.ObjectUtilities;
c32ff5
@@ -63,7 +63,7 @@
c32ff5
     }
c32ff5
   }
c32ff5
 
c32ff5
-  private static final Log LOGGER = LogFactory.getLog(PackageManager.class);
c32ff5
+  private static final Logger LOGGER = Logger.getLogger(PackageManager.class.getName());
c32ff5
 
c32ff5
   /**
c32ff5
    * An internal constant declaring that the specified module was already loaded.
c32ff5
@@ -201,7 +201,7 @@
c32ff5
         }
c32ff5
       }
c32ff5
     }
c32ff5
-    LOGGER.debug("Loaded a total of " + count + " modules under prefix: " + modulePrefix);
c32ff5
+    LOGGER.config("Loaded a total of " + count + " modules under prefix: " + modulePrefix);
c32ff5
   }
c32ff5
 
c32ff5
   /**
c32ff5
@@ -224,9 +224,9 @@
c32ff5
 
c32ff5
       if (mod.configure(this.booter))
c32ff5
       {
c32ff5
-        if (LOGGER.isDebugEnabled())
c32ff5
+        if (LOGGER.isLoggable(Level.CONFIG))
c32ff5
         {
c32ff5
-          LOGGER.debug("Conf: " +
c32ff5
+          LOGGER.config("Conf: " +
c32ff5
               new PadMessage(mod.getModule().getModuleClass(), 70) +
c32ff5
               " [" + mod.getModule().getSubSystem() + ']');
c32ff5
         }
c32ff5
@@ -244,9 +244,9 @@
c32ff5
 
c32ff5
       if (mod.initialize(this.booter))
c32ff5
       {
c32ff5
-        if (LOGGER.isDebugEnabled())
c32ff5
+        if (LOGGER.isLoggable(Level.CONFIG))
c32ff5
         {
c32ff5
-          LOGGER.debug("Init: " +
c32ff5
+          LOGGER.config("Init: " +
c32ff5
               new PadMessage(mod.getModule().getModuleClass(), 70) +
c32ff5
               " [" + mod.getModule().getSubSystem() + ']');
c32ff5
         }
c32ff5
@@ -271,12 +271,12 @@
c32ff5
       final PackageState dependentState = (PackageState) modulesByClass.get(key);
c32ff5
       if (dependentState == null)
c32ff5
       {
c32ff5
-        LOGGER.warn("Required dependency '" + key + "' for module '" + state.getModule().getModuleClass() + " not found.");
c32ff5
+        LOGGER.warning("Required dependency '" + key + "' for module '" + state.getModule().getModuleClass() + " not found.");
c32ff5
         return false;
c32ff5
       }
c32ff5
       if (dependentState.getState() != PackageState.STATE_CONFIGURED)
c32ff5
       {
c32ff5
-        LOGGER.warn("Required dependency '" + key + "' for module '" + state.getModule().getModuleClass() + " not configured.");
c32ff5
+        LOGGER.warning("Required dependency '" + key + "' for module '" + state.getModule().getModuleClass() + " not configured.");
c32ff5
         return false;
c32ff5
       }
c32ff5
     }
c32ff5
@@ -300,12 +300,12 @@
c32ff5
       final PackageState dependentState = (PackageState) modulesByClass.get(key);
c32ff5
       if (dependentState == null)
c32ff5
       {
c32ff5
-        LOGGER.warn("Required dependency '" + key + "' for module '" + state.getModule().getModuleClass() + " not found.");
c32ff5
+        LOGGER.warning("Required dependency '" + key + "' for module '" + state.getModule().getModuleClass() + " not found.");
c32ff5
         return false;
c32ff5
       }
c32ff5
       if (dependentState.getState() != PackageState.STATE_INITIALIZED)
c32ff5
       {
c32ff5
-        LOGGER.warn("Required dependency '" + key + "' for module '" + state.getModule().getModuleClass() + " not initializable.");
c32ff5
+        LOGGER.warning("Required dependency '" + key + "' for module '" + state.getModule().getModuleClass() + " not initializable.");
c32ff5
         return false;
c32ff5
       }
c32ff5
     }
c32ff5
@@ -418,15 +418,15 @@
c32ff5
       {
c32ff5
         if (fatal)
c32ff5
         {
c32ff5
-          LOGGER.warn("Unresolved dependency for package: " + moduleInfo.getModuleClass());
c32ff5
+          LOGGER.warning("Unresolved dependency for package: " + moduleInfo.getModuleClass());
c32ff5
         }
c32ff5
-        LOGGER.debug("Module class referenced, but not in classpath: " + moduleInfo.getModuleClass());
c32ff5
+        LOGGER.config("Module class referenced, but not in classpath: " + moduleInfo.getModuleClass());
c32ff5
       }
c32ff5
 
c32ff5
       if (acceptVersion(moduleInfo, module) == false)
c32ff5
       {
c32ff5
         // module conflict!
c32ff5
-        LOGGER.warn("Module " + module.getName() + ": required version: "
c32ff5
+        LOGGER.warning("Module " + module.getName() + ": required version: "
c32ff5
             + moduleInfo + ", but found Version: \n" + module);
c32ff5
         final PackageState state = new PackageState(module, PackageState.STATE_ERROR);
c32ff5
         dropFailedModule(state);
c32ff5
@@ -437,7 +437,7 @@
c32ff5
       if (moduleContained == RETURN_MODULE_ERROR)
c32ff5
       {
c32ff5
         // the module caused harm before ...
c32ff5
-        LOGGER.debug("Indicated failure for module: " + module.getModuleClass());
c32ff5
+        LOGGER.config("Indicated failure for module: " + module.getModuleClass());
c32ff5
         final PackageState state = new PackageState(module, PackageState.STATE_ERROR);
c32ff5
         dropFailedModule(state);
c32ff5
         return false;
c32ff5
@@ -447,7 +447,7 @@
c32ff5
         if (incompleteModules.contains(module))
c32ff5
         {
c32ff5
           // we assume that loading will continue ...
c32ff5
-          LOGGER.error
c32ff5
+          LOGGER.severe
c32ff5
               ("Circular module reference: This module definition is invalid: " +
c32ff5
                   module.getClass());
c32ff5
           final PackageState state = new PackageState(module, PackageState.STATE_ERROR);
c32ff5
@@ -460,7 +460,7 @@
c32ff5
         {
c32ff5
           if (loadModule(required[i], incompleteModules, modules, true) == false)
c32ff5
           {
c32ff5
-            LOGGER.debug("Indicated failure for module: " + module.getModuleClass());
c32ff5
+            LOGGER.config("Indicated failure for module: " + module.getModuleClass());
c32ff5
             final PackageState state = new PackageState(module, PackageState.STATE_ERROR);
c32ff5
             dropFailedModule(state);
c32ff5
             return false;
c32ff5
@@ -472,7 +472,7 @@
c32ff5
         {
c32ff5
           if (loadModule(optional[i], incompleteModules, modules, true) == false)
c32ff5
           {
c32ff5
-            LOGGER.debug("Optional module: " + optional[i].getModuleClass() + " was not loaded.");
c32ff5
+            LOGGER.config("Optional module: " + optional[i].getModuleClass() + " was not loaded.");
c32ff5
           }
c32ff5
         }
c32ff5
         // maybe a dependent module defined the same base module ...
c32ff5
@@ -486,7 +486,7 @@
c32ff5
     }
c32ff5
     catch (Exception e)
c32ff5
     {
c32ff5
-      LOGGER.warn("Exception while loading module: " + moduleInfo, e);
c32ff5
+      LOGGER.warning("Exception while loading module: " + moduleInfo + " : " + e);
c32ff5
       return false;
c32ff5
     }
c32ff5
   }
c32ff5
@@ -506,7 +506,7 @@
c32ff5
     }
c32ff5
     if (module.getMajorVersion() == null)
c32ff5
     {
c32ff5
-      LOGGER.warn("Module " + module.getName() + " does not define a major version.");
c32ff5
+      LOGGER.warning("Module " + module.getName() + " does not define a major version.");
c32ff5
     }
c32ff5
     else
c32ff5
     {
c32ff5
@@ -528,7 +528,7 @@
c32ff5
     }
c32ff5
     if (module.getMinorVersion() == null)
c32ff5
     {
c32ff5
-      LOGGER.warn("Module " + module.getName() + " does not define a minor version.");
c32ff5
+      LOGGER.warning("Module " + module.getName() + " does not define a minor version.");
c32ff5
     }
c32ff5
     else
c32ff5
     {
c32ff5
@@ -550,14 +550,14 @@
c32ff5
     }
c32ff5
     if (module.getPatchLevel() == null)
c32ff5
     {
c32ff5
-      LOGGER.debug("Module " + module.getName() + " does not define a patch level.");
c32ff5
+      LOGGER.config("Module " + module.getName() + " does not define a patch level.");
c32ff5
     }
c32ff5
     else
c32ff5
     {
c32ff5
       if (acceptVersion(moduleRequirement.getPatchLevel(),
c32ff5
           module.getPatchLevel()) > 0)
c32ff5
       {
c32ff5
-        LOGGER.debug("Did not accept patchlevel: "
c32ff5
+        LOGGER.config("Did not accept patchlevel: "
c32ff5
             + moduleRequirement.getPatchLevel() + " - "
c32ff5
             + module.getPatchLevel());
c32ff5
         return false;
c32ff5
@@ -699,4 +699,4 @@
c32ff5
       p.println(mod.getDescription());
c32ff5
     }
c32ff5
   }
c32ff5
-}
c32ff5
\ No newline at end of file
c32ff5
+}
c32ff5
diff -ru libbase-1.1.3.orig/source/org/pentaho/reporting/libraries/base/boot/PackageSorter.java libbase-1.1.3/source/org/pentaho/reporting/libraries/base/boot/PackageSorter.java
c32ff5
--- libbase-1.1.3.orig/source/org/pentaho/reporting/libraries/base/boot/PackageSorter.java	2009-11-16 10:14:12.000000000 +0000
c32ff5
+++ libbase-1.1.3/source/org/pentaho/reporting/libraries/base/boot/PackageSorter.java	2021-02-23 12:19:11.752198616 +0000
c32ff5
@@ -23,8 +23,7 @@
c32ff5
 import java.util.Iterator;
c32ff5
 import java.util.List;
c32ff5
 
c32ff5
-import org.apache.commons.logging.Log;
c32ff5
-import org.apache.commons.logging.LogFactory;
c32ff5
+import java.util.logging.Logger;
c32ff5
 import org.pentaho.reporting.libraries.base.util.ObjectUtilities;
c32ff5
 
c32ff5
 /**
c32ff5
@@ -180,7 +179,7 @@
c32ff5
   }
c32ff5
 
c32ff5
   /** A logger for debug-messages. */
c32ff5
-  private static final Log LOGGER = LogFactory.getLog(PackageSorter.class);
c32ff5
+  private static final Logger LOGGER = Logger.getLogger(PackageSorter.class.getName());
c32ff5
 
c32ff5
   /**
c32ff5
    * DefaultConstructor.
c32ff5
@@ -313,7 +312,7 @@
c32ff5
       final SortModule reqMod = (SortModule) moduleMap.get(moduleName);
c32ff5
       if (reqMod == null)
c32ff5
       {
c32ff5
-        LOGGER.warn("Invalid state: Required dependency of '" + moduleName + "' had an error.");
c32ff5
+        LOGGER.warning("Invalid state: Required dependency of '" + moduleName + "' had an error.");
c32ff5
         continue;
c32ff5
       }
c32ff5
       if (reqMod.getPosition() >= position)
c32ff5
@@ -415,7 +414,7 @@
c32ff5
           moduleMap.get(requiredModules[i].getModuleClass());
c32ff5
       if (dependentModule == null)
c32ff5
       {
c32ff5
-        LOGGER.warn
c32ff5
+        LOGGER.warning
c32ff5
             ("A dependent module was not found in the list of known modules." +
c32ff5
                 requiredModules[i].getModuleClass());
c32ff5
         continue;
c32ff5
@@ -431,11 +430,11 @@
c32ff5
           moduleMap.get(optionalModules[i].getModuleClass());
c32ff5
       if (dependentModule == null)
c32ff5
       {
c32ff5
-        LOGGER.warn("A dependent module was not found in the list of known modules.");
c32ff5
+        LOGGER.warning("A dependent module was not found in the list of known modules.");
c32ff5
         continue;
c32ff5
       }
c32ff5
       collector.add(dependentModule.getSubSystem());
c32ff5
     }
c32ff5
     return collector;
c32ff5
   }
c32ff5
-}
c32ff5
\ No newline at end of file
c32ff5
+}
c32ff5
diff -ru libbase-1.1.3.orig/source/org/pentaho/reporting/libraries/base/boot/PackageState.java libbase-1.1.3/source/org/pentaho/reporting/libraries/base/boot/PackageState.java
c32ff5
--- libbase-1.1.3.orig/source/org/pentaho/reporting/libraries/base/boot/PackageState.java	2009-11-16 10:14:12.000000000 +0000
c32ff5
+++ libbase-1.1.3/source/org/pentaho/reporting/libraries/base/boot/PackageState.java	2021-02-23 12:22:15.204942814 +0000
c32ff5
@@ -17,8 +17,8 @@
c32ff5
 
c32ff5
 package org.pentaho.reporting.libraries.base.boot;
c32ff5
 
c32ff5
-import org.apache.commons.logging.Log;
c32ff5
-import org.apache.commons.logging.LogFactory;
c32ff5
+import java.util.logging.Level;
c32ff5
+import java.util.logging.Logger;
c32ff5
 
c32ff5
 /**
c32ff5
  * The package state class is used by the package manager to keep track of
c32ff5
@@ -31,7 +31,7 @@
c32ff5
 public class PackageState
c32ff5
 {
c32ff5
   /** A logger. */
c32ff5
-  private static final Log LOGGER = LogFactory.getLog(PackageState.class);
c32ff5
+  private static final Logger LOGGER = Logger.getLogger(PackageState.class.getName());
c32ff5
 
c32ff5
   /**
c32ff5
    * A constant defining that the package is new.
c32ff5
@@ -119,20 +119,20 @@
c32ff5
       }
c32ff5
       catch (NoClassDefFoundError noClassDef)
c32ff5
       {
c32ff5
-        LOGGER.warn("Unable to load module classes for " +
c32ff5
+        LOGGER.warning("Unable to load module classes for " +
c32ff5
             this.module.getName() + ':' + noClassDef.getMessage());
c32ff5
         this.state = STATE_ERROR;
c32ff5
       }
c32ff5
       catch (Exception e)
c32ff5
       {
c32ff5
-        if (LOGGER.isDebugEnabled())
c32ff5
+        if (LOGGER.isLoggable(Level.CONFIG))
c32ff5
         {
c32ff5
           // its still worth a warning, but now we are more verbose ...
c32ff5
-          LOGGER.warn("Unable to configure the module " + this.module.getName(), e);
c32ff5
+          LOGGER.warning("Unable to configure the module " + this.module.getName() + " : " + e);
c32ff5
         }
c32ff5
-        else if (LOGGER.isWarnEnabled())
c32ff5
+	else if (LOGGER.isLoggable(Level.WARNING))
c32ff5
         {
c32ff5
-          LOGGER.warn("Unable to configure the module " + this.module.getName());
c32ff5
+          LOGGER.warning("Unable to configure the module " + this.module.getName());
c32ff5
         }
c32ff5
         this.state = STATE_ERROR;
c32ff5
       }
c32ff5
@@ -187,32 +187,32 @@
c32ff5
       }
c32ff5
       catch (NoClassDefFoundError noClassDef)
c32ff5
       {
c32ff5
-        LOGGER.warn("Unable to load module classes for " + this.module.getName() + ':' + noClassDef.getMessage());
c32ff5
+        LOGGER.warning("Unable to load module classes for " + this.module.getName() + ':' + noClassDef.getMessage());
c32ff5
         this.state = STATE_ERROR;
c32ff5
       }
c32ff5
       catch (ModuleInitializeException me)
c32ff5
       {
c32ff5
-        if (LOGGER.isDebugEnabled())
c32ff5
+        if (LOGGER.isLoggable(Level.CONFIG))
c32ff5
         {
c32ff5
           // its still worth a warning, but now we are more verbose ...
c32ff5
-          LOGGER.warn("Unable to initialize the module " + this.module.getName(), me);
c32ff5
+          LOGGER.warning("Unable to initialize the module " + this.module.getName() + " : " + me);
c32ff5
         }
c32ff5
-        else if (LOGGER.isWarnEnabled())
c32ff5
+	else if (LOGGER.isLoggable(Level.WARNING))
c32ff5
         {
c32ff5
-          LOGGER.warn("Unable to initialize the module " + this.module.getName());
c32ff5
+          LOGGER.warning("Unable to initialize the module " + this.module.getName());
c32ff5
         }
c32ff5
         this.state = STATE_ERROR;
c32ff5
       }
c32ff5
       catch (Exception e)
c32ff5
       {
c32ff5
-        if (LOGGER.isDebugEnabled())
c32ff5
+        if (LOGGER.isLoggable(Level.CONFIG))
c32ff5
         {
c32ff5
           // its still worth a warning, but now we are more verbose ...
c32ff5
-          LOGGER.warn("Unable to initialize the module " + this.module.getName(), e);
c32ff5
+          LOGGER.warning("Unable to initialize the module " + this.module.getName() + " : " + e);
c32ff5
         }
c32ff5
-        else if (LOGGER.isWarnEnabled())
c32ff5
+	else if (LOGGER.isLoggable(Level.WARNING))
c32ff5
         {
c32ff5
-          LOGGER.warn("Unable to initialize the module " + this.module.getName());
c32ff5
+          LOGGER.warning("Unable to initialize the module " + this.module.getName());
c32ff5
         }
c32ff5
         this.state = STATE_ERROR;
c32ff5
       }
c32ff5
@@ -267,4 +267,4 @@
c32ff5
   {
c32ff5
     this.state = STATE_ERROR;
c32ff5
   }
c32ff5
-}
c32ff5
\ No newline at end of file
c32ff5
+}
c32ff5
diff -ru libbase-1.1.3.orig/source/org/pentaho/reporting/libraries/base/config/PropertyFileConfiguration.java libbase-1.1.3/source/org/pentaho/reporting/libraries/base/config/PropertyFileConfiguration.java
c32ff5
--- libbase-1.1.3.orig/source/org/pentaho/reporting/libraries/base/config/PropertyFileConfiguration.java	2009-11-16 10:14:12.000000000 +0000
c32ff5
+++ libbase-1.1.3/source/org/pentaho/reporting/libraries/base/config/PropertyFileConfiguration.java	2021-02-23 12:13:55.788194558 +0000
c32ff5
@@ -22,8 +22,7 @@
c32ff5
 import java.io.InputStream;
c32ff5
 import java.util.Properties;
c32ff5
 
c32ff5
-import org.apache.commons.logging.Log;
c32ff5
-import org.apache.commons.logging.LogFactory;
c32ff5
+import java.util.logging.Logger;
c32ff5
 import org.pentaho.reporting.libraries.base.util.ObjectUtilities;
c32ff5
 
c32ff5
 /**
c32ff5
@@ -34,7 +33,7 @@
c32ff5
 public class PropertyFileConfiguration extends HierarchicalConfiguration
c32ff5
 {
c32ff5
   /** A logger for debug-messages. */
c32ff5
-  private static final Log LOGGER = LogFactory.getLog(PropertyFileConfiguration.class);
c32ff5
+  private static final Logger LOGGER = Logger.getLogger(PropertyFileConfiguration.class.getName());
c32ff5
   /** A serialization related constant. */
c32ff5
   private static final long serialVersionUID = 2423181637547944866L;
c32ff5
 
c32ff5
@@ -89,7 +88,7 @@
c32ff5
     }
c32ff5
     else
c32ff5
     {
c32ff5
-      LOGGER.debug("Configuration file not found in the classpath: " + resourceName);
c32ff5
+      LOGGER.config("Configuration file not found in the classpath: " + resourceName);
c32ff5
     }
c32ff5
 
c32ff5
   }
c32ff5
@@ -118,9 +117,9 @@
c32ff5
     }
c32ff5
     catch (IOException ioe)
c32ff5
     {
c32ff5
-      LOGGER.warn("Unable to read configuration", ioe);
c32ff5
+      LOGGER.warning("Unable to read configuration:" + ioe);
c32ff5
     }
c32ff5
 
c32ff5
   }
c32ff5
 
c32ff5
-}
c32ff5
\ No newline at end of file
c32ff5
+}
c32ff5
diff -ru libbase-1.1.3.orig/source/org/pentaho/reporting/libraries/base/util/ClassQueryTool.java libbase-1.1.3/source/org/pentaho/reporting/libraries/base/util/ClassQueryTool.java
c32ff5
--- libbase-1.1.3.orig/source/org/pentaho/reporting/libraries/base/util/ClassQueryTool.java	2009-11-16 10:14:12.000000000 +0000
c32ff5
+++ libbase-1.1.3/source/org/pentaho/reporting/libraries/base/util/ClassQueryTool.java	2021-02-23 12:24:05.460991092 +0000
c32ff5
@@ -26,8 +26,7 @@
c32ff5
 import java.util.zip.ZipEntry;
c32ff5
 import java.util.zip.ZipInputStream;
c32ff5
 
c32ff5
-import org.apache.commons.logging.Log;
c32ff5
-import org.apache.commons.logging.LogFactory;
c32ff5
+import java.util.logging.Logger;
c32ff5
 
c32ff5
 /**
c32ff5
  * The class-query tool loads classes using a classloader and calls "processClass" for each class encountered. This is
c32ff5
@@ -41,7 +40,7 @@
c32ff5
 public abstract class ClassQueryTool
c32ff5
 {
c32ff5
   /** A logger. */
c32ff5
-  private static final Log logger = LogFactory.getLog(ClassQueryTool.class);
c32ff5
+  private static final Logger logger = Logger.getLogger(ClassQueryTool.class.getName());
c32ff5
 
c32ff5
   /**
c32ff5
    * The default constructor.
c32ff5
@@ -89,7 +88,7 @@
c32ff5
     catch (Throwable e)
c32ff5
     {
c32ff5
       // ignore ..
c32ff5
-      logger.debug("At class '" + className + "': " + e);
c32ff5
+      logger.config("At class '" + className + "': " + e);
c32ff5
     }
c32ff5
   }
c32ff5
 
c32ff5
@@ -137,7 +136,7 @@
c32ff5
     }
c32ff5
     catch (final IOException e1)
c32ff5
     {
c32ff5
-      logger.debug("Caught IO-Exception while processing file " + jarFile, e1);
c32ff5
+      logger.config("Caught IO-Exception while processing file " + jarFile + " : " + e1);
c32ff5
     }
c32ff5
   }
c32ff5
 
c32ff5
@@ -225,7 +224,7 @@
c32ff5
     for (int i = 0; i < allArray.length; i++)
c32ff5
     {
c32ff5
       final URL url = allArray[i];
c32ff5
-      logger.debug(url);
c32ff5
+      logger.config(url.toString());
c32ff5
     }
c32ff5
     for (int i = 0; i < urlsArray.length; i++)
c32ff5
     {
c32ff5
diff -ru libbase-1.1.3.orig/source/org/pentaho/reporting/libraries/base/util/DebugLog.java libbase-1.1.3/source/org/pentaho/reporting/libraries/base/util/DebugLog.java
c32ff5
--- libbase-1.1.3.orig/source/org/pentaho/reporting/libraries/base/util/DebugLog.java	2009-11-16 10:14:12.000000000 +0000
c32ff5
+++ libbase-1.1.3/source/org/pentaho/reporting/libraries/base/util/DebugLog.java	2021-02-23 12:26:00.488084723 +0000
c32ff5
@@ -17,8 +17,7 @@
c32ff5
 
c32ff5
 package org.pentaho.reporting.libraries.base.util;
c32ff5
 
c32ff5
-import org.apache.commons.logging.Log;
c32ff5
-import org.apache.commons.logging.LogFactory;
c32ff5
+import java.util.logging.Logger;
c32ff5
 
c32ff5
 /**
c32ff5
  * This class provides static log messages for on-going bug-hunting efforts. This removes the need to create
c32ff5
@@ -29,7 +28,7 @@
c32ff5
 public final class DebugLog
c32ff5
 {
c32ff5
   /** A logger. */
c32ff5
-  private static final Log logger = LogFactory.getLog(DebugLog.class);
c32ff5
+  private static final Logger logger = Logger.getLogger(DebugLog.class.getName());
c32ff5
 
c32ff5
   /**
c32ff5
    * Logs a message using the debug-logger. By channeling all temporary log messages through this method,
c32ff5
@@ -39,7 +38,7 @@
c32ff5
    */
c32ff5
   public static void log(final Object message)
c32ff5
   {
c32ff5
-    logger.info(message);
c32ff5
+    logger.info(message.toString());
c32ff5
   }
c32ff5
 
c32ff5
   /**
c32ff5
@@ -51,7 +50,7 @@
c32ff5
    */
c32ff5
   public static void log(final Object message, final Throwable t)
c32ff5
   {
c32ff5
-    logger.info(message, t);
c32ff5
+    logger.info(message + " : " + t);
c32ff5
   }
c32ff5
 
c32ff5
   /**
c32ff5
@@ -68,7 +67,7 @@
c32ff5
   public static void logHereWE()
c32ff5
   {
c32ff5
     //noinspection ThrowableInstanceNeverThrown
c32ff5
-    logger.info("HERE: Debug point reached", new Exception("Debug-Point reached"));
c32ff5
+    logger.info("HERE: Debug point reached");
c32ff5
   }
c32ff5
 
c32ff5
   /**
c32ff5
diff -ru libbase-1.1.3.orig/source/org/pentaho/reporting/libraries/base/util/ObjectUtilities.java libbase-1.1.3/source/org/pentaho/reporting/libraries/base/util/ObjectUtilities.java
c32ff5
--- libbase-1.1.3.orig/source/org/pentaho/reporting/libraries/base/util/ObjectUtilities.java	2009-11-16 10:14:12.000000000 +0000
c32ff5
+++ libbase-1.1.3/source/org/pentaho/reporting/libraries/base/util/ObjectUtilities.java	2021-02-23 12:30:11.253468898 +0000
c32ff5
@@ -29,8 +29,8 @@
c32ff5
 import java.util.Arrays;
c32ff5
 import java.util.StringTokenizer;
c32ff5
 
c32ff5
-import org.apache.commons.logging.Log;
c32ff5
-import org.apache.commons.logging.LogFactory;
c32ff5
+import java.util.logging.Level;
c32ff5
+import java.util.logging.Logger;
c32ff5
 
c32ff5
 /**
c32ff5
  * A collection of useful static utility methods for handling classes and object instantiation.
c32ff5
@@ -39,7 +39,7 @@
c32ff5
  */
c32ff5
 public final class ObjectUtilities
c32ff5
 {
c32ff5
-  private static final Log LOGGER = LogFactory.getLog(ObjectUtilities.class);
c32ff5
+  private static final Logger LOGGER = Logger.getLogger(ObjectUtilities.class.getName());
c32ff5
 
c32ff5
   /**
c32ff5
    * A constant for using the TheadContext as source for the classloader.
c32ff5
@@ -180,15 +180,15 @@
c32ff5
     }
c32ff5
     catch (NoSuchMethodException e)
c32ff5
     {
c32ff5
-      LOGGER.warn("Object without clone() method is impossible on class " + aClass, e);
c32ff5
+      LOGGER.warning("Object without clone() method is impossible on class " + aClass + " : " + e);
c32ff5
     }
c32ff5
     catch (IllegalAccessException e)
c32ff5
     {
c32ff5
-      LOGGER.warn("Object.clone(): unable to call method 'clone()'  on class " + aClass, e);
c32ff5
+      LOGGER.warning("Object.clone(): unable to call method 'clone()'  on class " + aClass + " : " + e);
c32ff5
     }
c32ff5
     catch (InvocationTargetException e)
c32ff5
     {
c32ff5
-      LOGGER.warn("Object without clone() method is impossible on class " + aClass, e);
c32ff5
+      LOGGER.warning("Object without clone() method is impossible on class " + aClass + " : " + e);
c32ff5
     }
c32ff5
     throw new CloneNotSupportedException
c32ff5
         ("Failed to clone: Clone caused an Exception while cloning type " + aClass);
c32ff5
@@ -424,32 +424,32 @@
c32ff5
       if (type != null && type.isAssignableFrom(c) == false)
c32ff5
       {
c32ff5
         // this is unacceptable and means someone messed up the configuration
c32ff5
-        LOGGER.warn("Specified class " + className + " is not of expected type " + type);
c32ff5
+        LOGGER.warning("Specified class " + className + " is not of expected type " + type);
c32ff5
         return null;
c32ff5
       }
c32ff5
       return c.newInstance();
c32ff5
     }
c32ff5
     catch (ClassNotFoundException e)
c32ff5
     {
c32ff5
-      if (LOGGER.isDebugEnabled())
c32ff5
+      if (LOGGER.isLoggable(Level.CONFIG))
c32ff5
       {
c32ff5
-        LOGGER.debug("Specified class " + className + " does not exist.");
c32ff5
+        LOGGER.config("Specified class " + className + " does not exist.");
c32ff5
       }
c32ff5
       // sometimes, this one is expected.
c32ff5
     }
c32ff5
     catch (NoClassDefFoundError e)
c32ff5
     {
c32ff5
-      if (LOGGER.isDebugEnabled())
c32ff5
+      if (LOGGER.isLoggable(Level.CONFIG))
c32ff5
       {
c32ff5
-        LOGGER.debug("Specified class " + className + " cannot be loaded [NOCLASSDEFERROR].");
c32ff5
+        LOGGER.config("Specified class " + className + " cannot be loaded [NOCLASSDEFERROR].");
c32ff5
       }
c32ff5
     }
c32ff5
     catch (Throwable e)
c32ff5
     {
c32ff5
       // this is more severe than a class not being found at all
c32ff5
-      if (LOGGER.isDebugEnabled())
c32ff5
+      if (LOGGER.isLoggable(Level.CONFIG))
c32ff5
       {
c32ff5
-        LOGGER.info("Specified class " + className + " failed to instantiate correctly.", e);
c32ff5
+        LOGGER.info("Specified class " + className + " failed to instantiate correctly." + " : " + e);
c32ff5
       }
c32ff5
       else
c32ff5
       {
c32ff5
@@ -615,4 +615,4 @@
c32ff5
     }
c32ff5
     return hashCode;
c32ff5
   }
c32ff5
-}
c32ff5
\ No newline at end of file
c32ff5
+}
c32ff5
diff -ru libbase-1.1.3.orig/source/org/pentaho/reporting/libraries/base/util/PngEncoder.java libbase-1.1.3/source/org/pentaho/reporting/libraries/base/util/PngEncoder.java
c32ff5
--- libbase-1.1.3.orig/source/org/pentaho/reporting/libraries/base/util/PngEncoder.java	2009-11-16 10:14:12.000000000 +0000
c32ff5
+++ libbase-1.1.3/source/org/pentaho/reporting/libraries/base/util/PngEncoder.java	2021-02-23 12:27:15.484797751 +0000
c32ff5
@@ -27,8 +27,7 @@
c32ff5
 import java.util.zip.Deflater;
c32ff5
 import java.util.zip.DeflaterOutputStream;
c32ff5
 
c32ff5
-import org.apache.commons.logging.Log;
c32ff5
-import org.apache.commons.logging.LogFactory;
c32ff5
+import java.util.logging.Logger;
c32ff5
 import org.pentaho.reporting.libraries.base.encoder.ImageEncoder;
c32ff5
 import org.pentaho.reporting.libraries.base.encoder.UnsupportedEncoderException;
c32ff5
 
c32ff5
@@ -66,7 +65,7 @@
c32ff5
 public class PngEncoder implements ImageEncoder
c32ff5
 {
c32ff5
   /** A logger for debug-messages. */
c32ff5
-  private static final Log logger = LogFactory.getLog(PngEncoder.class);
c32ff5
+  private static final Logger logger = Logger.getLogger(PngEncoder.class.getName());
c32ff5
 
c32ff5
   /**
c32ff5
    * Constant specifying that alpha channel should be encoded.
c32ff5
@@ -622,12 +621,12 @@
c32ff5
         }
c32ff5
         catch (Exception e)
c32ff5
         {
c32ff5
-          logger.error("interrupted waiting for pixels!", e);
c32ff5
+          logger.severe("interrupted waiting for pixels: " + e);
c32ff5
           return false;
c32ff5
         }
c32ff5
         if ((pg.getStatus() & ImageObserver.ABORT) != 0)
c32ff5
         {
c32ff5
-          logger.error("image fetch aborted or errored");
c32ff5
+          logger.severe("image fetch aborted or errored");
c32ff5
           return false;
c32ff5
         }
c32ff5
 
c32ff5
@@ -709,7 +708,7 @@
c32ff5
     }
c32ff5
     catch (IOException e)
c32ff5
     {
c32ff5
-      logger.error("Failed to write PNG Data", e);
c32ff5
+      logger.severe("Failed to write PNG Data:" + e);
c32ff5
       return false;
c32ff5
     }
c32ff5
   }
c32ff5
diff -ru libbase-1.1.3.orig/source/org/pentaho/reporting/libraries/base/util/ResourceBundleSupport.java libbase-1.1.3/source/org/pentaho/reporting/libraries/base/util/ResourceBundleSupport.java
c32ff5
--- libbase-1.1.3.orig/source/org/pentaho/reporting/libraries/base/util/ResourceBundleSupport.java	2009-11-16 10:14:12.000000000 +0000
c32ff5
+++ libbase-1.1.3/source/org/pentaho/reporting/libraries/base/util/ResourceBundleSupport.java	2021-02-23 12:27:45.015078518 +0000
c32ff5
@@ -36,8 +36,7 @@
c32ff5
 import javax.swing.JMenu;
c32ff5
 import javax.swing.KeyStroke;
c32ff5
 
c32ff5
-import org.apache.commons.logging.Log;
c32ff5
-import org.apache.commons.logging.LogFactory;
c32ff5
+import java.util.logging.Logger;
c32ff5
 
c32ff5
 /**
c32ff5
  * An utility class to ease up using property-file resource bundles.
c32ff5
@@ -60,7 +59,7 @@
c32ff5
   /**
c32ff5
    * A logger for debug-messages.
c32ff5
    */
c32ff5
-  private static final Log logger = LogFactory.getLog(ResourceBundleSupport.class);
c32ff5
+  private static final Logger logger = Logger.getLogger(ResourceBundleSupport.class.getName());
c32ff5
 
c32ff5
   /**
c32ff5
    * The resource bundle that will be used for local lookups.
c32ff5
@@ -259,7 +258,7 @@
c32ff5
         }
c32ff5
         catch (Exception e)
c32ff5
         {
c32ff5
-          logger.error("Error during global lookup", e);
c32ff5
+          logger.severe("Error during global lookup: " + e);
c32ff5
           throw new MissingResourceException("Error during global lookup", getResourceBase(), key);
c32ff5
         }
c32ff5
       }
c32ff5
@@ -643,7 +642,7 @@
c32ff5
     final URL in = ObjectUtilities.getResource(name, ResourceBundleSupport.class);
c32ff5
     if (in == null)
c32ff5
     {
c32ff5
-      logger.warn("Unable to find file in the class path: " + name + "; key=" + key);
c32ff5
+      logger.warning("Unable to find file in the class path: " + name + "; key=" + key);
c32ff5
     }
c32ff5
     return in;
c32ff5
   }
c32ff5
@@ -668,13 +667,13 @@
c32ff5
 
c32ff5
     if (in == null)
c32ff5
     {
c32ff5
-      logger.warn("Unable to find file in the class path: " + resourceName);
c32ff5
+      logger.warning("Unable to find file in the class path: " + resourceName);
c32ff5
       return new ImageIcon(createTransparentImage(1, 1));
c32ff5
     }
c32ff5
     final Image img = Toolkit.getDefaultToolkit().createImage(in);
c32ff5
     if (img == null)
c32ff5
     {
c32ff5
-      logger.warn("Unable to instantiate the image: " + resourceName);
c32ff5
+      logger.warning("Unable to instantiate the image: " + resourceName);
c32ff5
       return new ImageIcon(createTransparentImage(1, 1));
c32ff5
     }
c32ff5
     if (scale)
c32ff5
diff -ru libbase-1.1.3.orig/source/org/pentaho/reporting/libraries/base/util/WaitingImageObserver.java libbase-1.1.3/source/org/pentaho/reporting/libraries/base/util/WaitingImageObserver.java
c32ff5
--- libbase-1.1.3.orig/source/org/pentaho/reporting/libraries/base/util/WaitingImageObserver.java	2009-11-16 10:14:12.000000000 +0000
c32ff5
+++ libbase-1.1.3/source/org/pentaho/reporting/libraries/base/util/WaitingImageObserver.java	2021-02-23 12:30:28.223630238 +0000
c32ff5
@@ -22,8 +22,7 @@
c32ff5
 import java.awt.image.BufferedImage;
c32ff5
 import java.awt.image.ImageObserver;
c32ff5
 
c32ff5
-import org.apache.commons.logging.Log;
c32ff5
-import org.apache.commons.logging.LogFactory;
c32ff5
+import java.util.logging.Logger;
c32ff5
 
c32ff5
 /**
c32ff5
  * This image observer blocks until the image is completely loaded. AWT defers the loading of images until they are
c32ff5
@@ -37,7 +36,7 @@
c32ff5
 public class WaitingImageObserver implements ImageObserver
c32ff5
 {
c32ff5
   /** A logger. */
c32ff5
-  private static final Log LOGGER = LogFactory.getLog(WaitingImageObserver.class);
c32ff5
+  private static final Logger LOGGER = Logger.getLogger(WaitingImageObserver.class.getName());
c32ff5
 
c32ff5
   /**
c32ff5
    * For serialization.
c32ff5
@@ -149,7 +148,7 @@
c32ff5
       }
c32ff5
       catch (InterruptedException e)
c32ff5
       {
c32ff5
-        LOGGER.info("WaitingImageObserver.waitImageLoaded(): InterruptedException thrown", e);
c32ff5
+        LOGGER.info("WaitingImageObserver.waitImageLoaded(): InterruptedException thrown: " + e);
c32ff5
       }
c32ff5
     }
c32ff5
   }
c32ff5
@@ -172,4 +171,4 @@
c32ff5
   {
c32ff5
     return this.error;
c32ff5
   }
c32ff5
-}
c32ff5
\ No newline at end of file
c32ff5
+}