Skip to main content



      Home
Home » Eclipse Projects » Equinox » possible issue with refreshPackages and dynamically importing bundles
possible issue with refreshPackages and dynamically importing bundles [message #68821] Mon, 26 June 2006 12:06 Go to next message
Eclipse UserFriend
Hello!

After posting a bugreport that was actually no bug i prefer asking here
first:

i have a bundle that dynamically imports a package from bundle A

if i uninstall that bundle A and reinstall it calling
PackageAdmin.refreshPackages(...) after the installation instead of in
between, the classes are still loaded from the uninstalled bundle.
refreshPackages only links the rigth bundles if i excplicitly call it with
the installed bundle.

1. uninstall bundle A
2. install bundle A
3. refreshPackages
results in loading classes from a non-existant bundle (the uninstalled A)

while

1.uninstall bundle A
2. refreshPackages
3. install bundle A
provides the results expected

is this a bug, or am i missing something?


werner
Re: possible issue with refreshPackages and dynamically importing bundles [message #69901 is a reply to message #68821] Thu, 13 July 2006 17:13 Go to previous message
Eclipse UserFriend
I think this was outlined in bug
https://bugs.eclipse.org/bugs/show_bug.cgi?id=148069

That is not desired behavior. A reproducible testcase would help.
Please attach to your original bug report or open a new one.

Also, no harm in opening bug reports like this. Especially when you
work with us to get a testcase to reproduce. The same team would answer
your question in a bug report or the newsgroup ;-)

Thanks

Tom.
Previous Topic:Best practices for exception handling
Next Topic:Implementaiton plans for a Configuration Admin Service
Goto Forum:
  


Current Time: Tue Jun 03 05:07:45 EDT 2025

Powered by FUDForum. Page generated in 0.03443 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top