Christopher Hegarty - Sun Microsystems Ireland wrote:
Hi Michael,
This is a forward port of a fix that you did in JDK6u11 to JDK7. The
source changes are trivial and the very same as what went in 6.
The change is for strict conformance of getDisplayName, should return
null instead of an empty string.
Webrev:
http://cr.openjdk.java.net/~chegar/6706251/webrev.00/webrev/
-Chris.
Is this really a bug? The spec doesn't prohibit the display name from
being the empty string. If the empty string is not allowed then the
javadoc should probably be clarified.
-Alan.