You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (Jira)" <ji...@apache.org> on 2026/05/15 00:32:00 UTC
[jira] [Commented] (GROOVY-12009) StringGroovyMethods#stripIndent(boolean) doesn't handle non-String cases as advertised
[ https://issues.apache.org/jira/browse/GROOVY-12009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18081025#comment-18081025 ]
Paul King commented on GROOVY-12009:
------------------------------------
This was a bug, so folks should have been wary about relying on the broken behavior. But listing it as breaking to give extra visibility for folks upgrading to Groovy 6. It only breaks for {{someGString.stripIndent(false)}} which was supposed to give Java behavior but instead kept Groovy behavior.
The method was labelled @Incubating and I was visiting it thinking it had been stable for a while and could leave incubating status but given the discovered edge case, it should remain incubating for another version cycle.
> StringGroovyMethods#stripIndent(boolean) doesn't handle non-String cases as advertised
> --------------------------------------------------------------------------------------
>
> Key: GROOVY-12009
> URL: https://issues.apache.org/jira/browse/GROOVY-12009
> Project: Groovy
> Issue Type: Bug
> Reporter: Paul King
> Assignee: Paul King
> Priority: Major
> Labels: breaking
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)