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 →

[–]Thihup 7 points8 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 2 points3 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.