geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r1172800 - /geronimo/server/trunk/framework/modules/geronimo-shell-diagnose/src/main/java/org/apache/geronimo/shell/diagnose/PackageUsesHelper.java
Date Mon, 19 Sep 2011 20:27:02 GMT
Author: gawor
Date: Mon Sep 19 20:27:02 2011
New Revision: 1172800

URL: http://svn.apache.org/viewvc?rev=1172800&view=rev
Log:
consider self exported packages when bundle is unresolved

Modified:
    geronimo/server/trunk/framework/modules/geronimo-shell-diagnose/src/main/java/org/apache/geronimo/shell/diagnose/PackageUsesHelper.java

Modified: geronimo/server/trunk/framework/modules/geronimo-shell-diagnose/src/main/java/org/apache/geronimo/shell/diagnose/PackageUsesHelper.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-shell-diagnose/src/main/java/org/apache/geronimo/shell/diagnose/PackageUsesHelper.java?rev=1172800&r1=1172799&r2=1172800&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-shell-diagnose/src/main/java/org/apache/geronimo/shell/diagnose/PackageUsesHelper.java
(original)
+++ geronimo/server/trunk/framework/modules/geronimo-shell-diagnose/src/main/java/org/apache/geronimo/shell/diagnose/PackageUsesHelper.java
Mon Sep 19 20:27:02 2011
@@ -110,6 +110,9 @@ public class PackageUsesHelper {
             exportedPackage = findExportPackage(importPackage.getName(), importer.getResolvedImports());
         } else {
             exportedPackage = findExportPackage(importPackage, state.getExportedPackages());
+            if (exportedPackage == null) {
+                exportedPackage = findExportPackage(importPackage, importer.getExportPackages());
+            }
         }
         if (exportedPackage == null) {
             String resolution = (String) importPackage.getDirective(Constants.RESOLUTION_DIRECTIVE);



Mime
View raw message