mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-11 03:13:38 +00:00
10ab92b5d9eb852ccac7295d8017203e7efd7449
JDK27 removed com.sun.tools.javac.tree.EndPosTable and stores end positions directly on tree nodes (JDK-8372948). Lombok resolved that class in a static initializer and rethrew on failure, so the processor never initialized and every compilation on JDK27 failed. - Javac: probe for EndPosTable; when absent, use the no-arg DiagnosticPosition.getEndPosition() and write JCTree.endpos directly - CommentCatcher: skip setting genEndPos where the field no longer exists - new java27 parser factory: JDK27 dropped the keepEndPositions parameter from JavacParser and ParserFactory.newParser - DocCommentIntegrator: implement the new no-arg getEndPosition() - PrettyPrinter: drop an unused reflective getEndPosition lookup that would fail class init on JDK27 - add an opt-in test.javac27 target Fixes #4072
Project Lombok
Project Lombok is a java library that automatically plugs into your editor and build tools, spicing up your java. Never write another getter or equals method again, with one annotation your class has a fully featured builder, automate your logging variables, and much more.
See LICENSE for the Project Lombok license.
Looking for professional support of Project Lombok? Lombok is now part of a tidelift subscription!
For a list of all authors, see the AUTHORS file.
For complete project information, a short tutorial on what lombok does, and how to download / use / install it, see projectlombok.org
You can review our security policy via SECURITY.md
Description
Very spicy additions to the Java programming language.
83 MiB
0 Stars
1 Watchers
0 Forks
Languages
Java
94.6%
HTML
4.8%
JavaScript
0.2%
CSS
0.2%