Our great sponsors
-
Class-Version-Patcher
For when you are stuck in Java 8 but want to use new language features and dependencies
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
I made one (Before realizing it'd already been done) to backport newer language features to Java 8 and it was pretty easy to bundle it up as a maven plugin. But going back all the way to 4 will be a notable increase in difficulty. Retrolambda goes to 1.5 but not all the way to 4. You could hypothetically add a layer on top of it to support 1.5 -> 1.4. That or roll a fork of it.
(Before realizing it'd already been done)
I made one (Before realizing it'd already been done) to backport newer language features to Java 8 and it was pretty easy to bundle it up as a maven plugin. But going back all the way to 4 will be a notable increase in difficulty. Retrolambda goes to 1.5 but not all the way to 4. You could hypothetically add a layer on top of it to support 1.5 -> 1.4. That or roll a fork of it.