mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 20:15:09 +00:00
[trivial]
This commit is contained in:
1 file changed
+1
-1
@@ -131,7 +131,7 @@ public class HandleLog {
|
||||
typeNode.toName(logFieldName), loggerType, factoryMethodCall), source);
|
||||
|
||||
if (isRecord(typeNode) && Javac.getJavaCompilerVersion() < 16) {
|
||||
// This is a workaround for https://bugs.openjdk.java.net/browse/JDK-8243057
|
||||
// This is a workaround for https://bugs.openjdk.java.net/browse/JDK-8243057 - note that the workaround is only for static fields in records, but our infra _requires_ `static` for logs in records (think about it).
|
||||
|
||||
injectField(typeNode, fieldDecl);
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user