Skip to content

Commit

Permalink
[trivial]
Browse files Browse the repository at this point in the history
  • Loading branch information
rzwitserloot committed Jun 27, 2024
1 parent 6cf6caf commit c61a404
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/lombok/javac/handlers/HandleLog.java
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ private static boolean createField(LoggingFramework framework, JavacNode typeNod
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 {
Expand Down

0 comments on commit c61a404

Please sign in to comment.