I opened JIRA issues: https://issues.apache.org/jira/browse/GROOVY-7636 https://issues.apache.org/jira/browse/GROOVY-76367
and created PR: https://github.com/apache/incubator-groovy/pull/150 On Tue, Sep 8, 2015 at 3:19 PM, Thibault Kruse <tibokr...@googlemail.com> wrote: >> // bug, returns 47? >> // assert compareTo('aa1', '2' as Character) == 1 > > those ones are fine actually, compareTo in Comparable only requires > integers, not -1, 0, 1, and I'll assume that as long as the sign is > valid, it's not a bug.