Test for #1778: Wildcard generics compilation bug with Java primitive types