That was the issue.

Thanks,
Nikita

Sahoo wrote:
Check your compilation classpath. getBundleContext is a R4.1 API, so it is likely that you are compiling against R4 API.

Sahoo

Nikita Sawant wrote:
Hi,

I get this compiler error when I try to access Bundle.getBundleContext():

cannot find symbol
symbol  : method getBundleContext()
location: interface org.osgi.framework.Bundle

I am using the latest Felix version 1.8.0. Any idea why the method is missing in the interface?

Thanks,
Nikita



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to