Answer the question
In order to leave comments, you need to log in
Where can I find the OpenJDK sources for Linux?
Where can I find the Linux source code for OpenJDK 6 (or 7)? hg.openjdk.java.net/jdk6/jdk6-gate/jdk/file/2a0c21... is empty.
For example, for Windows everything is in place: hg.openjdk.java.net/jdk6/jdk6-gate/jdk/file/2a0c21...
Answer the question
In order to leave comments, you need to log in
The implementation for Linux is taken from the solaris directory, as the code is mostly generic.
Differences in Java code - through separate classes, for example, sun.nio.fs.LinuxFileSystem vs. sun.nio.fs.SolarisFileSystem.
In Native code, through preprocessor directives: #ifdef __linux__, #ifdef __solaris__.
http://hg.openjdk.java.net/jdk7/jdk7
http://download.java.net/openjdk/jdk7/
http://download.java.net/openjdk/jdk6/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question