What it did incorrectly all this time was that for R::add it found List.add(T) : boolean
It's incorrect because expected BiConsumer<R,T> has a return type void!
On the new machine it correctly found List.add(int, T) : void instead.
But why is there a difference between machines, it's the exact same JDK/JRE versions!
What's even weirder is that in the "working" environment, using Set instead of List broke, even though they have the same Collection.add(T) function!
Oh Java, you so silly. /fin
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!