JBoss Community

Re: Unable to use com.sun.jndi.ldap.LdapCtxFactory

created by Jason Greene in JBoss AS7 Development - View the full discussion

That approach will certainly work. The drawback is that it exposes this to all modules, which you don't necessarily want (a big benefit to hiding internal jdk classes is that you know right away when you have a non-portable app).

 

Another solution we could do is offer a JDK API specific module for the major jdks, and allow you to import those. What do you think?

Reply to this message by going to Community

Start a new discussion in JBoss AS7 Development at Community