Skip to content

org.immutables.extgenerator.GeneratedImportsModifier not working in 2.11.x? #1575

@handcraftedbits

Description

@handcraftedbits

I have an import rewriting extension with the correct META-INF/services file defined, the JAR is on <annotationProcessorPaths>, etc. and it works perfectly in 2.10.1. So at this point, I don't think there's user error involved.

However, as soon as I upgraded to 2.11.1, the rewriter was no longer executed. I tried the following versions to try and narrow down where things broke:

  • 2.11.1: broken
  • 2.11.0: broken
  • 2.11.0-beta2: working
  • 2.11.0-beta1: working

So something broke (or changed) between 2.11.0-beta2 and 2.11.0, but I'm not sure what. Debugging proved difficult because of the renamed class (org.immutables.generator.PostProcessingMachine -> org.immutables.value.internal.$generator$.$PostprocessingMachine); IntelliJ had trouble hitting most of the breakpoints even with the source attached, the debugger had issues introspecting on values, etc. If it weren't for that I'd be able to provide more details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions