I use two different versions of Eclipse (2010 and 2018) to compile a Java source file, but use the same JDK 1.6.0. They generate different class files.
When I compare the two class files, I find they use the same JDK version info at the beginning of the class file, but some bytecode is different at the last part of the file. Why?
Comments
Post a Comment