changeset 1542:f2dcec9f38e1

Add a debugging message when bootdelegation is set Reviewed-by: jerboaa Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2014-November/011527.html
author Omair Majid <omajid@redhat.com>
date Thu, 13 Nov 2014 11:36:25 -0500
parents 066d45fee15d
children 87c0133216f6
files main/src/main/java/com/redhat/thermostat/main/impl/FrameworkProvider.java
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/main/src/main/java/com/redhat/thermostat/main/impl/FrameworkProvider.java	Mon Nov 10 11:57:17 2014 +0100
+++ b/main/src/main/java/com/redhat/thermostat/main/impl/FrameworkProvider.java	Thu Nov 13 11:36:25 2014 -0500
@@ -200,6 +200,9 @@
         bundleConfigurations.put(Constants.FRAMEWORK_SYSTEMPACKAGES_EXTRA, extraPackages);
         bundleConfigurations.put(Constants.FRAMEWORK_STORAGE, osgiCacheStorage.toFile().getAbsolutePath());
         if (bootDelegation != null) {
+            if (printOSGiInfo) {
+                System.out.println("Boot delegation: " + bootDelegation);
+            }
             bundleConfigurations.put(Constants.FRAMEWORK_BOOTDELEGATION, bootDelegation);
         }
         Iterator<FrameworkFactory> factories = loader.iterator();