sisyphsu / dateparser

dateparser is a smart and high-performance date parser library, it supports hundreds of different formats, nearly all format that we may used. And this is also a showcase for "retree" algorithm.
MIT License
95 stars 24 forks source link

Support modern JDK versions by updating lombok to 1.18.10 (or newer) #21

Closed fl-knix closed 2 years ago

fl-knix commented 2 years ago

See original Lombok issue here: https://github.com/projectlombok/lombok/issues/2790

It looks like updating to a more recent version of lombok will do the trick!

Personally, I use OpenJDK 17 and see the error:

java.lang.RuntimeException: java.lang.IllegalAccessError: class lombok.javac.apt.LombokProcessor (in unnamed module @0x4d0cbf3f) cannot access class com.sun.tools.javac.processing.JavacProcessingEnvironment (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.processing to unnamed module @0x4d0cbf3f

during compilation.

Thank you for this wonderful date parsing solution!

sisyphsu commented 2 years ago

I have upgrade lombok to 1.18.22 in new deployed version 1.0.9, please try it

fl-knix commented 2 years ago

Confirmed fixed, thanks!