2362N/A * Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved. 585N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 585N/A * This code is free software; you can redistribute it and/or modify it 585N/A * under the terms of the GNU General Public License version 2 only, as 585N/A * published by the Free Software Foundation. 585N/A * This code is distributed in the hope that it will be useful, but WITHOUT 585N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 585N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 585N/A * version 2 for more details (a copy is included in the LICENSE file that 585N/A * accompanied this code). 585N/A * You should have received a copy of the GNU General Public License version 585N/A * 2 along with this work; if not, write to the Free Software Foundation, 585N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2362N/A * or visit www.oracle.com if you need additional information or have any 585N/A * @summary Test deserialization of CertPathValidatorException 585N/A//import java.io.FileOutputStream; 585N/A * This class tests to see if CertPathValidatorException can be serialized and 585N/A * deserialized properly. 585N/A// FileOutputStream fos = new FileOutputStream("jdk7.serial"); 585N/A// ObjectOutputStream foos = new ObjectOutputStream(fos); 585N/A// foos.writeObject(cpve1); 585N/A "CertPathValidatorException messages not equal");
585N/A "CertPathValidatorException causes not equal");
585N/A "CertPathValidatorException certpaths not equal");
585N/A "CertPathValidatorException indexes not equal");
585N/A "CertPathValidatorException reasons not equal");
585N/A "CertPathValidatorException messages not equal");
585N/A "CertPathValidatorException causes not equal");
585N/A "CertPathValidatorException certpaths not equal");
585N/A "CertPathValidatorException indexes not equal");
585N/A// System.out.println(cpve2.getReason()); 585N/A "CertPathValidatorException reasons not equal");