jdk/test/java/net/Inet6Address/serialize/Readme.txt
author jccollet
Tue, 01 Jul 2008 13:38:59 +0200
changeset 902 bbfb1e2369b2
permissions -rw-r--r--
6656849: NullPointerException thrown while de-serializing IPV6 Address. Summary: Check for existence of interface name earlier in code Reviewed-by: michaelm
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
902
bbfb1e2369b2 6656849: NullPointerException thrown while de-serializing IPV6 Address.
jccollet
parents:
diff changeset
     1
This test uses 2 binary data files that were each created by serializing an Inet6Address instance.
bbfb1e2369b2 6656849: NullPointerException thrown while de-serializing IPV6 Address.
jccollet
parents:
diff changeset
     2
In both cases this has to do with the tricky issue of scopes in serialized addresses.
bbfb1e2369b2 6656849: NullPointerException thrown while de-serializing IPV6 Address.
jccollet
parents:
diff changeset
     3
bbfb1e2369b2 6656849: NullPointerException thrown while de-serializing IPV6 Address.
jccollet
parents:
diff changeset
     4
serial1.4.2.ser: Was created by serializing an Inet6Address (::1) with J2SE 1.4.2 and is used to check for backward compatibility.
bbfb1e2369b2 6656849: NullPointerException thrown while de-serializing IPV6 Address.
jccollet
parents:
diff changeset
     5
bbfb1e2369b2 6656849: NullPointerException thrown while de-serializing IPV6 Address.
jccollet
parents:
diff changeset
     6
serial-bge0.ser: Was created on a Sparc workstation because it has an uncommon interface name ('bge0') which is useful for the test.