Java source code problem

zhaozj2021-02-16  43

Many people who are passionate about the source code have always carried out the Java source code issue, generally not advocated the research source code under the lack of any document and familiar with the source code. For learning Java technology, the author believes that the first use of the standard Java class library is first, and then you can gradually understand the source code of some useful core classes, such as the implementation of the class in the java.util package, which is the learning data structure Help, this part of the class library is equivalent to STL in C . There are also some source code for libraries to learn, such as ClassLoader implementation.

Java is an open standard, but not Open Source. So mentioning the Java source code, it must be clear which part of Java technology is. Here are some source code issues related to Java:

1. Java class library source code, by Java, unlocked Src.jar after installation of JDK

2. The source code of JDK tool is also written by Java, such as Javac compiler, JAR and other tools, including in rt.jar, Tools.jar, source code is not disclosed, but can be refactored.

3. Java virtual machine source code, written by C, the corresponding entity is jvm.dll (Windows under Windows) and some of the JRE / BIN (some DLL files under Windows), the source code requires a license.

There is another problem, what is pure Java (Pure Java)?

Any Java code implemented by the standard Java class library is called Pure Java, ie no local code, that is, the Native method is not included in your Java code.

转载请注明原文地址:https://www.9cbs.com/read-26031.html

New Post(0)