bosschaert/jbosgi — comment on commit f62c0132f803a3c5b4fcfefd75f86e1a269156e8
File: testsuite/example/src/test/java/org/jboss/test/osgi/example/jndi/JNDITestCase.java line 106
By tdiesler:

This should not be necessary. Instead you could have

JNDIContextManager mgr = NamingSupport.provideJNDIIntegration(context, bundle);