Changelog for Groovy 6.0.0-RC-3

Bug

  • [GROOVY-12397] - VerifyError for a pattern variable bound in a later &&/|| operand (JEP 394 flow scoping)
  • [GROOVY-12399] - Arrow switch statement without default throws IllegalStateException when no arm matches
  • [GROOVY-12404] - GroovyScriptEngine resource loader leaks URLConnections and ignores a custom ResourceConnector
  • [GROOVY-12410] - groovysh /! can lose a shell command's output because the output pump threads are never joined

Improvement

  • [GROOVY-12400] - Add an inline Antlr4 parser covering-set with XML AST dumps
  • [GROOVY-12401] - Improve remaining parser diagnostics and authored AST source positions
  • [GROOVY-12403] - Restore groovysh embedding extension points
  • [GROOVY-12405] - No tableswitch/lookupswitch dispatch for switch statements
  • [GROOVY-12406] - Duplicate case labels not detected in switch statements
  • [GROOVY-12407] - Case label resolution differs between statement and expression switches
  • [GROOVY-12408] - Compile implicit-return arrow switches as switch statements