The jre that the program runs on is 1.7, but the jdk specified for compilation is 1.6. Now I want to locate a problem and trace it to the jdk source code. I have to look at the corresponding implementation. But are there any changes in the 1.6 and 1.7 implementations? So which version should I watch?
The compilation is 1.6, which means the class file is version 1.6. When running, the virtual machine executes the class file, so you should look at the source code of 1.6
Java will not package jdk after it is packaged. For online problems, please contact the online jre.