Updates:
Status: Invalid
Comment #1 on issue 293 by limpbizkit: MoreTypes#toString(Type)
double-qualifies parameterized inner classes
http://code.google.com/p/google-guice/issues/detail?id=293
We've got a testcase (possibly misplaced in TypesTest.java, not
MoreTypesTest.java) that ensures that our
toString() behaviour is consistent with the JDK. That said, the JDK
behaviour is a bit lame. For example, this is
the JDK's output:
com.google.inject.util.TypesTest.com.google.inject.util.TypesTest$Inner<java.lang.Float,
java.lang.Double>
Perhaps there's a scenario where the enclosing type is different than the
owner type? This might be to cover
the case when the containing class is itself parameterized; ie:
com.google.Foo<String, Integer>.com.google.Foo$Inner<Float>
I'll gladly change our behaviour if the JDK is wrong, but I'm not certain
that it is...
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"google-guice-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-guice-dev?hl=en
-~----------~----~----~----~------~----~------~--~---