You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When including Lombok as a dependency, a stack overflow exception is thrown when attempting to initialize too many items in a static ImmutableMap.builder() property.
Locally, this fails when adding more than 436 items. However, the failure point would be platform dependent and based on the configured thread stack size (-Xss / XX:ThreadStackSize).
Caused by: java.lang.StackOverflowError
at lombok.javac.JavacAST.drill (JavacAST.java:426)
at lombok.javac.JavacAST.buildStatementOrExpression (JavacAST.java:392)
at lombok.javac.JavacAST.buildTree (JavacAST.java:201)
at lombok.javac.JavacAST.buildTree (JavacAST.java:1)
at lombok.core.AST.buildWithCollection (AST.java:425)
at lombok.core.AST.buildWithField0 (AST.java:399)
at lombok.core.AST.buildWithField (AST.java:292)
at lombok.javac.JavacAST.drill (JavacAST.java:426)
at lombok.javac.JavacAST.buildStatementOrExpression (JavacAST.java:392)
at lombok.javac.JavacAST.buildTree (JavacAST.java:201)
at lombok.javac.JavacAST.buildTree (JavacAST.java:1)
at lombok.core.AST.buildWithField0 (AST.java:394)
at lombok.core.AST.buildWithField (AST.java:292)
Expected behavior
The class should compile without error (as it does when excluding Lombok as a dependency)
Version info (please complete the following information):
Lombok version 1.18.16
javac running openjdk 11.0.9 2020-10-20
Google Guava 30.0-jre
The text was updated successfully, but these errors were encountered:
Describe the bug
When including Lombok as a dependency, a stack overflow exception is thrown when attempting to initialize too many items in a static ImmutableMap.builder() property.
Locally, this fails when adding more than 436 items. However, the failure point would be platform dependent and based on the configured thread stack size (-Xss / XX:ThreadStackSize).
To Reproduce
Stack trace excerpt
Expected behavior
The class should compile without error (as it does when excluding Lombok as a dependency)
Version info (please complete the following information):
The text was updated successfully, but these errors were encountered: