How to find the exact JDK1.6 binary sources (including com.sun.jndi. *)

I am trying to debug the com.sun.jndi.ldap.LdapNamingEnumeration and com.sun.jndi.ldap.LdapCtx classes.

As JDK binaries, I use the Java Developer Kit for OSX 2012-003, April 19, 2012 from https://developer.apple.com/downloads/

This package contains java sources. * and javax. *, but it lacks some sources, such as com.sun.jndi. *

so I downloaded the JDK sources from November 16, 2011 from here: http://download.java.net/openjdk/jdk6/ and I connected the sources to IntelliJ for debugging.

However, the sources for com.sun.jndi.ldap.LdapNamingEnumeration and com.sun.jndi.ldap.LdapCtx do not exactly match between binaries and sources (therefore, IntelliJ shows dots on the wrong lines when debugging step by step).

How to find the exact sources (including com.sun.jndi. *) For "Java for OSX 2012-003 Developer Package, April 19, 2012"?

Or, how to find binaries for sources dated November 16, 2011? (unclear how to compile JDK sources)

Or any idea how to solve this problem?

+1
source share

All Articles