If I understand the changes and this testcase right, then, if there are 2 user applications A and B and if A binds some value to jndi name "blah" under java:global/ namespace (or java:exported/ or even java:jboss/) and if B then "rebinds" to the same jndi name and namespace, then the application A is no longer considered the owner?

If that's true then:

1) Should that rebind be even allowed for application B?
2) It doesn't look right that whatever A application binded to JNDI will no longer be available to it, even when the application is up.