Please note that in order for something to be compatible with feedback, there must be an analog that is forward compatible (either intentionally or unintentionally). For example: are DVD media read backwards compatible with CDs or are CDs compatible with DVD readers?
In this case, it depends on whether you are looking at the compiler (or the generated bytecode) or the virtual machine.
The compiler does not support backward compatibility, since bytecode generated with the Java5 JDK will not run in Java 1.4 jvm (unless compiled with the -target 1.4 flag). But the JVM is backward compatible, as it can run high byte codes.
Therefore, I assume that they decided to consider compatibility from a javac point of view (since it is a part specific to the JDK), which means that the generated bytecode may be launched in future releases of jvm (which is more related to the JRE, but also bundled with the JDK )
In short, we can say:
- JDK (usually) compatible in direct mode.
- JRE (usually) backward compatible.
(And it also serves as a lesson to learn for a long time: people who write compilers are usually right, and we humans use them incorrectly xD)
By the way, does it make sense to shift back / forward and down / up, rather than mixing them?
fortran Jan 14 2018-11-11T00: 00Z
source share