Affected version: 2.11.3
Demo: build / code
Given a immutable class com.github.ptrteixeira._private.MyPrivateClass and some other class com.github.ptrteixeira.MyCoreClass, the imports for MyCoreClass don't seem to appear in the generated code for MyPrivateClass.
This doesn't occur if instead of _private the package name is privateapp, and it doesn't occur if the other class is com.github.ptrteixeira.core.MyCoreClass (ie in a sibling package, rather than above it). It does occur if the package name is _beans, so it seems underscore-related rather than keyword related. It does work in Immutables 2.10.1 and not in 2.11.0, so I think it affects all of the 2.11.x line
Affected version: 2.11.3
Demo: build / code
Given a immutable class
com.github.ptrteixeira._private.MyPrivateClassand some other classcom.github.ptrteixeira.MyCoreClass, the imports forMyCoreClassdon't seem to appear in the generated code forMyPrivateClass.This doesn't occur if instead of
_privatethe package name isprivateapp, and it doesn't occur if the other class iscom.github.ptrteixeira.core.MyCoreClass(ie in a sibling package, rather than above it). It does occur if the package name is_beans, so it seems underscore-related rather than keyword related. It does work in Immutables 2.10.1 and not in 2.11.0, so I think it affects all of the 2.11.x line