8044627: Update JNDI to work with modules

Reviewed-by: alanb, chegar
5 files changed