Assume these two JavaMail session resources are defined:
Let's try to put in the address of java:/myMail using CLI with tab completion:
First, type in this string:
If you press tab now, there are two options for completion, therefore it will not complete the statement, only show the two possible names.
If you continue typing and add "\/" (an escaped slash character), the interpretation by the CLI will be that you have already finished the name of the resource and tab-completion will put in "server=", because "server" is the next level in hierarchy. This interpretation is wrong.
CLI should not interpret an escaped slash character as the ending of resource name, if this character is the last character written in the command line .. when you add more characters after it, it will work