Skip to content

GrEclipse 4.28+ corrupts Groovy method references by formatting :: as : :  #3013

Closed

Description

@AlexeyKuznetsov-DD

Minimal report:

s.write(tests, TestFQNSerializer::serialize)

Actual output:

s.write(tests, TestFQNSerializer: : serialize)

The output is invalid Groovy and fails compilation.
Environment
Spotless Gradle plugin: 8.9.0
GrEclipse: reproduced with 4.35 and 4.40
Last known good GrEclipse version: 4.27
Gradle: 9.7.0
Pinning GrEclipse to 4.27 avoids the corruption.

I found no existing issue matching this exact formatting failure.

Activity

  1. jochenberger commented on Aug 17, 2026

    @jochenberger
    Contributor

    That needs to be fixed in groovy-eclipse. I'm giving it a try.

  2. AlexeyKuznetsov-DD commented on Aug 17, 2026

    @AlexeyKuznetsov-DD
    Author

    That needs to be fixed in groovy-eclipse. I'm giving it a try.

    @jochenberger Thank you!

  3. AlexeyKuznetsov-DD commented on Oct 7, 2026

    @AlexeyKuznetsov-DD
    Author

    Cool! Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions