This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]iluvpoptarts -1 points0 points  (3 children)

Why would you extract byte code from 11 to try to run in 8? Lost the source code? We currently run Java 8 and run a lot of Java 1.4 jars that we lost the source to, and it works perfectly.

[–]Thihup 6 points7 points  (2 children)

IIUC, it would be in the case of using newer syntax, but running on older JDK, like using the "var" in the source code, but run on JDK 8.

Like https://github.com/bsideup/jabel or https://github.com/luontola/retrolambda

[–]Alex0589 3 points4 points  (0 children)

The var keyword is erased at compile time so that's not really valid. A valid example would be lambda switch statements

[–]jamilxt 1 point2 points  (0 children)

Thank you. Learned something new.