javalombokintellij-lombok-plugin

Which version of Lombok is compatible with Java 6


I have legacy code in Java 6 with many getters and setters and I would like to clean my code with Lombok but I cannot change the Java version because the server's Java version is 6.


Solution

  • All versions of lombok, even the most recent one, still fully support java6.

    SOURCE: I'm a core lombok contributor. Note that the test suite includes JDK6, still.

    But, one caveat: If support for java6 somehow breaks (I doubt that'll happen as I do not know how that would happen, but lets say it does), we'll "fix" that by dropping j6 support unless fixing it is trivial.