https://bz.apache.org/bugzilla/show_bug.cgi?id=62527

--- Comment #5 from Mark Thomas <ma...@apache.org> ---
I've had another read of the relevant bits of the Java EE spec and I can't see
a clear reason for this limitation. There are some hints that suggest it is to
do with the scopes of the various defined namespaces and making sure the
application sees the JNDI context it expects. But I don't see why that should
stop some other namespace being used - obviously with the onus on the user to
make sure they are using it correctly / it behaves as they expect w.r.t.
returned types, shared/unique instances, visibility scope etc.

Given that this change was only applied because it was noticed that the
validation was missing while reviewing the lookup name implementation - rather
than as a result of a bug report or similar - then I've no objection to the
validation being reverted if that is the preferred option. Note it would need
to be reverted from all current versions.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to