felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard S. Hall (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (FELIX-1556) Bundle.getResource/s is not able to find resources if the package is not alraedy wired when I use DynamicImport-Package: *
Date Thu, 03 Sep 2009 17:18:57 GMT

     [ https://issues.apache.org/jira/browse/FELIX-1556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Richard S. Hall resolved FELIX-1556.
------------------------------------

    Resolution: Fixed

I have committed a fix. If you could confirm that trunk resolves the issue and close this
bug, that would be great. Good catch!

> Bundle.getResource/s is not able to find resources if the package is not alraedy wired
when I use DynamicImport-Package: *
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-1556
>                 URL: https://issues.apache.org/jira/browse/FELIX-1556
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: felix-1.8.1
>         Environment: generic
>            Reporter: Sahoo
>            Assignee: Richard S. Hall
>             Fix For: felix-2.0.0
>
>
> This appears to be a serious bug. While running GlassFish on Felix 1.8.1 and on a latest
build off trunk, I see the following:
> I have a bundle which has DynamicImport-Package: *. I call bundle.getResources("foo/Bar.class")
and it does not find the resource even if there exists a unique bundle which exports package
foo and has a resource foo/Bar.class. If I call bundle.loadClass("foo.Bar"), it finds the
class. I also see a WIRE being setup between the importer and exporter for package foo. Subsequently,
getResource also works. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message