
There are several major repositories for the JDK source code that you should be familiar with: So it is fairly common to find classes in the internals that are for example still not generified, and which use raw types throughout. In particular, the source has not always had up-to-date Java language features applied throughout. The JDK source is solid, well-reviewed and well-tested but consummately approachable. Developers quite often think that the JDK source must be awe inspiring and unapproachable after all it’s the core of the platform. This will populate the rest of the project, and clone all of the files needed to actually build OpenJDK.īefore we delve into a full discussion of the source code it’s important to say: “Don’t be afraid of the platform source code”. Next, you should run the get_source.sh script, which was pulled down as part of the initial clone. rwxr-xr-x 1 boxcat staff 1367 14 May 12:54 get_source.shĭrwxr-xr-x 14 boxcat staff 476 14 May 12:55 hotspotĭrwxr-xr-x 19 boxcat staff 646 14 May 12:54 jaxpĭrwxr-xr-x 19 boxcat staff 646 14 May 12:55 jaxwsĭrwxr-xr-x 13 boxcat staff 442 16 May 16:01 jdkĭrwxr-xr-x 13 boxcat staff 442 14 May 12:55 langtoolsĭrwxr-xr-x 18 boxcat staff 612 14 May 12:54 makeĭrwxr-xr-x 3 boxcat staff 102 14 May 12:54 test

rw-r-r- 1 boxcat staff 1503 14 May 12:54 ASSEMBLY_EXCEPTION After the initial clone, the local repo will look like this:
