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
The public field in this sample taken from jakarta-sample/src/main/java/io/openliberty/sample/jakarta/cdi/ManagedBean.java provides a quick fix to change @RequestScoped into @DEPENDENT but this does not resolve the diagnostic on the field itself.
We either need another quick fix to add an annotation to the field or fix the diagnostic not to flag the field when the class has annotation @DEPENDENT.
The text was updated successfully, but these errors were encountered:
The public field in this sample taken from
jakarta-sample/src/main/java/io/openliberty/sample/jakarta/cdi/ManagedBean.java
provides a quick fix to change@RequestScoped
into@DEPENDENT
but this does not resolve the diagnostic on the field itself.We either need another quick fix to add an annotation to the field or fix the diagnostic not to flag the field when the class has annotation
@DEPENDENT
.The text was updated successfully, but these errors were encountered: