This inspection reports any JNDI resource which is not opened in a try block and closed in the corresponding finally block. Such resources may be inadvertantly leaked if an exception is thrown before the resouce is closed. JNDI resources reported by this inspection include any instances of javax.naming.InitialContext, and javax.naming.NamingEnumeration.