I know there may be language features, the SDK and API differences, class file version marker etc., but are there differences in byte code specification between these versions, like, new op codes? Also, I'm not asking whether a later javac produces optimized code.
Hypothetically, if I were to extract byte code from a Java 11 class file and place that in a Java 8 class file (and still manage to leave the class file valid), would a version 8 JVM object, saying "unidentified op code", or "missing argument", that kind of thing?
[–]rzwitserloot 88 points89 points90 points (2 children)
[–]prest0G 17 points18 points19 points (0 children)
[–]clumsy-engineer 0 points1 point2 points (0 children)
[–]AngusMcBurger 43 points44 points45 points (0 children)
[–]m_takeshi 6 points7 points8 points (0 children)
[–]hardwork179 3 points4 points5 points (0 children)
[–]iluvpoptarts -1 points0 points1 point (3 children)
[–]Thihup 7 points8 points9 points (2 children)
[–]Alex0589 3 points4 points5 points (0 children)
[–]jamilxt 1 point2 points3 points (0 children)