[jboss-osgi-issues] [JBoss JIRA] (JBOSGI-666) Cannot lookup owner context using standard naming API
Arcadiy Ivanov (JIRA)
issues at jboss.org
Fri May 6 08:37:00 EDT 2016
[ https://issues.jboss.org/browse/JBOSGI-666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arcadiy Ivanov reopened JBOSGI-666:
-----------------------------------
Assignee: Arcadiy Ivanov
This actually appears to have been fixed
> Cannot lookup owner context using standard naming API
> -----------------------------------------------------
>
> Key: JBOSGI-666
> URL: https://issues.jboss.org/browse/JBOSGI-666
> Project: JBoss OSGi
> Issue Type: Bug
> Components: jndi
> Affects Versions: JBossOSGi 2.0.0
> Reporter: Thomas Diesler
> Assignee: Arcadiy Ivanov
>
> {code}
> Context initialContext = new InitialContext();
> BundleContext context = (BundleContext) initialContext.lookup("osgi:framework/bundleContext");
> {code}
> fails with
> {code}
> testTraditionalAPIOwnerContext(org.jboss.test.osgi.example.jndi.NamingStandaloneTestCase) Time elapsed: 0.062 sec <<< FAILURE!
> java.lang.AssertionError: expected:<BundleContext[jndi-tests:0.0.0]> but was:<BundleContext[arquillian-osgi-bundle:2.0.0.CR4]>
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-osgi-issues
mailing list