Skip to main content

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


If you believe this is a bug in Eclipse, please fill a bug report (with complete log entries/stacktraces) against product Equinox, component OSGI. Otherwise, you should try to get help in the user forums (newsgroups).



Yue MA <mayue@xxxxxxxxxx>
Sent by: eclipse-dev-admin@xxxxxxxxxxx

03/03/2004 02:02 AM

Please respond to
eclipse-dev

To
eclipse-dev@xxxxxxxxxxx
cc
Subject
[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