HF RL Explorer

Spotless Java formatting crashes on code containing text blocks when removeUnusedImports() is enabled

Spotless Java formatting crashes on code containing text blocks when removeUnusedImports() is enabled: a task in LegoFlow-SWE (Harbor dataset). On a recent JVM (e.g., 14+) with preview features or standard text block support , the removeUnusedImports() phase crashes with…

The task

**On a recent JVM (e.g., 14+) with preview features or standard text block support**, the `removeUnusedImports()` phase crashes with: ``` java.lang.reflect.InvocationTargetException Caused by: … error: unclosed string literal ``` **On an older JVM (e.g., 8)**, the failure is similarly opaque, with no hint that the…

Part of Lego-X/LegoFlow-SWE.