Code Review 6706251: api/java_net/NetworkInterface/index.html#misc: getDisplayName() returned non null but empty String (original) (raw)
Alan Bateman Alan.Bateman at Sun.COM
Fri Mar 19 07:42:52 PDT 2010
- Previous message: Code Review 6706251: api/java_net/NetworkInterface/index.html#misc: getDisplayName() returned non null but empty String
- Next message: Code Review 6706251: api/java_net/NetworkInterface/index.html#misc: getDisplayName() returned non null but empty String
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Previous message: Code Review 6706251: api/java_net/NetworkInterface/index.html#misc: getDisplayName() returned non null but empty String
- Next message: Code Review 6706251: api/java_net/NetworkInterface/index.html#misc: getDisplayName() returned non null but empty String
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]