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
When compiling code generated by dgs-codegen using JDK 21 and having all linters enabled using the -Xlint:all compiler argument, then the compiler will raise a warning of a potential this-escape in some generated code.
I've created a minimal reproduction case for a violation in the constructor of a Mutation query, see: https://github.com/Badbond/dgs-codegen-reproduction-case-this-escape. We have also seen the issue being raised for a similar case in a Projection using a static initializer:
When compiling code generated by
dgs-codegen
using JDK 21 and having all linters enabled using the-Xlint:all
compiler argument, then the compiler will raise a warning of a potentialthis-escape
in some generated code.I've created a minimal reproduction case for a violation in the constructor of a
Mutation
query, see: https://github.com/Badbond/dgs-codegen-reproduction-case-this-escape. We have also seen the issue being raised for a similar case in aProjection
using a static initializer:See also JDK-8299995.
Environment:
The text was updated successfully, but these errors were encountered: