Jean-Christophe Collet 3fce795f6c 6656849: NullPointerException thrown while de-serializing IPV6 Address
Check for existence of interface name earlier in code

Reviewed-by: michaelm
2008-07-01 13:38:59 +02:00

7 lines
451 B
Plaintext

This test uses 2 binary data files that were each created by serializing an Inet6Address instance.
In both cases this has to do with the tricky issue of scopes in serialized addresses.
serial1.4.2.ser: Was created by serializing an Inet6Address (::1) with J2SE 1.4.2 and is used to check for backward compatibility.
serial-bge0.ser: Was created on a Sparc workstation because it has an uncommon interface name ('bge0') which is useful for the test.