bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift * Copyright (c) 1999, 2012, Oracle and/or its affiliates. All rights reserved.
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift * This code is free software; you can redistribute it and/or modify it
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift * under the terms of the GNU General Public License version 2 only, as
0ceb23810523c23d3aaa1a942f4ab9319d1bd6e5mark * published by the Free Software Foundation.
0ceb23810523c23d3aaa1a942f4ab9319d1bd6e5mark * This code is distributed in the hope that it will be useful, but WITHOUT
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift * version 2 for more details (a copy is included in the LICENSE file that
0ceb23810523c23d3aaa1a942f4ab9319d1bd6e5mark * accompanied this code).
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift * You should have received a copy of the GNU General Public License version
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift * 2 along with this work; if not, write to the Free Software Foundation,
0ceb23810523c23d3aaa1a942f4ab9319d1bd6e5mark * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift * or visit www.oracle.com if you need additional information or have any
0ceb23810523c23d3aaa1a942f4ab9319d1bd6e5mark * questions.
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift * Class to run a registry whos VM can be told to exit remotely; using
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift * the rmiregistry in this fashion makes tests more robust under
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift * windows where Process.destroy() seems not to be 100% reliable.
bb8874d71cdd8e5288297b9727703437c6dfcfedmatthew_swift * Ask the registry to exit instead of forcing it do so; this
7fe1ba967cdfff4b1a7eb394c9e5c7889fcbe991jcambon * works better on windows...
port +
re);
} catch (Exception e) {
e.printStackTrace();