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
3flex
changed the title
detekt CLI fails on Java 17 in some cases when using detekt-formatting plugin with auto correct
detekt CLI fails on Java 17+ in some cases when using detekt-formatting plugin with auto correct
Nov 28, 2022
3flex
added a commit
to 3flex/detekt
that referenced
this issue
Nov 28, 2022
Expected Behavior
I can run detekt CLI without applying any workarounds.
Observed Behavior
It can fail in some circumstances, see #5247 (comment)
Steps to Reproduce
TBC - opening tracking issue to link a brew issue to.
Context
Users using CLI and Java 17 without
--add-opens java.base/java.lang=ALL-UNNAMED
applied will see detekt failing in some circumstances.Your Environment
--scan
option when running the gradle task):The text was updated successfully, but these errors were encountered: