Based on the discussion here: https://github.com/Appendium/flatpack/issues/59. Indeed, the issue of compiling in Java 16 and 17EA, it is because of older version of project lombok. Tracing this back to this issue , Project Lombok version 1.18.20 (latest), should be address the compilation issues under Java 16/17. Also, Maven Bund Plugin (BND), it needed to be upgraded to 5.1.2 in order to support Java 15+ per this issue here.
Based on the discussion here: https://github.com/Appendium/flatpack/issues/59. Indeed, the issue of compiling in Java 16 and 17EA, it is because of older version of project lombok. Tracing this back to this issue , Project Lombok version
1.18.20
(latest), should be address the compilation issues under Java 16/17. Also, Maven Bund Plugin (BND), it needed to be upgraded to5.1.2
in order to support Java 15+ per this issue here.