2362N/A * Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved. 716N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 716N/A * This code is free software; you can redistribute it and/or modify it 716N/A * under the terms of the GNU General Public License version 2 only, as 716N/A * published by the Free Software Foundation. 716N/A * This code is distributed in the hope that it will be useful, but WITHOUT 716N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 716N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 716N/A * version 2 for more details (a copy is included in the LICENSE file that 716N/A * accompanied this code). 716N/A * You should have received a copy of the GNU General Public License version 716N/A * 2 along with this work; if not, write to the Free Software Foundation, 716N/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 716N/A * @summary Connect to a server socket returned by the LocalRMIServerSocketFactory. 716N/A * @run main LocalRMIServerSocketFactoryTest 716N/A super(
"SUCCESS: No exception was thrown");
716N/A // Wait for the server to set the error field. 716N/A // case of 6674166: this is very unlikely to happen, even if 716N/A // both 6674166 and 6774170 aren't fixed. If it happens 716N/A // however, it might indicate that neither defects are fixed. 716N/A "Congratulations! it seems you have triggered 6674166. " +
716N/A "Neither 6674166 nor 6774170 seem to be fixed: " + x, x);
716N/A "Unexpected IOException. Maybe you triggered 6674166? " +
716N/A "This is a new kind of unexpected exception " +
716N/A // wait for the client to get the exception.