Hi,

since Eclipse is complaining if I do;

-o-o-  Bundle A  -o-o-

package internal;
public abstract class NonExportedAbstractBase
{
    protected void doSomething(){};
}

package exported;
public abstract class ExportedAbstract extends NonExportedAbstractBase
{
}


-o-o-   Bundle B  -o-o-
public class InOtherBundle extends ExportedAbstract
{
    public void someOther()
    {
        doSomething();
    }
}


Eclipse[1] will complain and say that "doSomething()" is not an available 
method.

If I add;
protected void doSomething()
{
    super.doSomething();
}
in ExportedAbstract class, Eclipse no longer complains.


Is there anything in the specs that implies that doSomething() is not exposed 
through the exported subclass??


Cheers
Niclas

[1] Still in Eclipse 3.3M?
_______________________________________________
OSGi Developer Mail List
[email protected]
http://www2.osgi.org/mailman/listinfo/osgi-dev

Reply via email to