Search code examples
javacnativesuncrc32

How to get source code of native C language library used in java 1.4?


I want to see implementation of java.util.zip.CRC32. But within this class its using native c library functions for core implementation.How can I get the native source code. I can see the java.util.zip.CRC32 source code, but this doesn't have the actual implementation.


Solution

  • You must ask SUN, I mean Oracle about having the source code... :-/

    You can try the source code for Java 6 at this download page. CRC32 should not have changed much between Java 1.4 and 6.