Test4676532.java revision 2362
84N/A * Copyright (c) 2003, 2007, Oracle and/or its affiliates. All rights reserved. 84N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 84N/A * This code is free software; you can redistribute it and/or modify it 84N/A * under the terms of the GNU General Public License version 2 only, as 84N/A * published by the Free Software Foundation. 84N/A * This code is distributed in the hope that it will be useful, but WITHOUT 84N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 84N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 84N/A * version 2 for more details (a copy is included in the LICENSE file that 84N/A * accompanied this code). 84N/A * You should have received a copy of the GNU General Public License version 84N/A * 2 along with this work; if not, write to the Free Software Foundation, 84N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 84N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 84N/A * or visit www.oracle.com if you need additional information or have any 84N/A * @summary Tests XMLDecoder.setClassLoader() 84N/A * @author Mark Davidson 84N/A * Tests the XMLDecoder with an alternative classloader. 84N/A * Specicifically, the URLClassLoader. 84N/A * The test.jar file should be in the same directory as the classes. 84N/A +
" <object class=\"test.Test\">\n" 84N/A +
" <void property=\"message\">\n" 84N/A +
" <string>Hello, world</string>\n" 84N/A throw new Error(
"could not find class test.Test");