Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipse-dev] OSGI getFragment error

In Eclipse 3.0 M7,
I use following code but there is a LinageError, anyone knows it?

CODE:

import org.osgi.framework.Bundle;

...

IPluginDescriptor p= ....;
Bundle bundle = p.getPlugin().getBundle();
Bundle[] bundles = bundle.getFragment();

ERROR:
java.lang.LinkageError: Class org/osgi/framework/Bundle violates loader constraints: parent and child already loaded different classes
-----
---

Ma Yue


Back to the top