Patch submitted.
http://jira.jboss.com/jira/browse/JBAS-64

While I was poking around NamingContext, I noticed a couple things.  First, 
calls to NamingManager:getObjectInstance pass in the absolute name, rather than 
the name relative to the context.  This seems contrary to the docs 
(http://java.sun.com/j2se/1.4.2/docs/api/javax/naming/spi/NamingManager.html)
anonymous wrote : The name and nameCtx parameters may optionally be used to 
specify the name of the object being created. name is the name of the object, 
relative to context nameCtx.

Also, the createSubcontext method doesn't replicate the current context's 
environment on return.  Is this intentional?

If these are just oversights, let me know and I'll post a patch; I'm just a 
little hesitant to go mucking around code I just started looking at.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3858816#3858816

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3858816


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to