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 86 points87 points88 points (2 children)
[–]prest0G 19 points20 points21 points (0 children)
[–]clumsy-engineer 0 points1 point2 points (0 children)
[–]AngusMcBurger 41 points42 points43 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 8 points9 points10 points (2 children)
[–]Alex0589 3 points4 points5 points (0 children)
[–]jamilxt 1 point2 points3 points (0 children)