I’m learning java nio, and found the implementation classes are under sun.nio, which seems not provide sources in the jdk1.6/src.zip.
Is there packages open source? And where to find the sources of them?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can download the java code and native code which implements java.nio at http://download.java.net/openjdk/jdk7/ (see top_dir/j2se/src/share/classes/java/nio/ after extracting the source zip)
Please note that you will be able to see the platform dependent code like the code for Solaris, Linux and Windows as well in this.