Proposed changes for 6656849

Jean-Christophe Collet Jean-Christophe.Collet at Sun.COM
Mon Jun 16 08:43:57 PDT 2008


This is a serialization issue in Inet6Address. When de-serializing an 
address with an interface name as the scope, the test for its existence 
should be done sooner rather than later to avoid a NullPointerException.
I took the opportunity to clean up the code in Inet6Address to act on 
some NetBeans warning, in particular re-named a local variable that was 
masking a field.


See patch attached.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: jdk.patch
Type: text/x-diff
Size: 8710 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/net-dev/attachments/20080616/5343a9bd/jdk.patch 


More information about the net-dev mailing list