Closed
Description
Dave Syer opened SPR-16535 and commented
Example test that fails:
assertThat(ResolvableType.forClassWithGenerics(Consumer.class, String.class)
.getType().getTypeName()).isEqualTo(Consumer.class.getName());
I think it just passes the type name property to toString()
and that isn't very helpful in this case.
It would be nice for the type name to be the same as the raw type (the same as if I have defined a class that implements Consumer<String>
and printed the type name of its interfaces.
Affects: 4.3.14
Referenced from: commits 6663d0f, 901d48c
Backported to: 4.3.15