2141N/A/* Testcase for PR381 Stackoverflow error with security manager, signed jars 2141N/A * and -Djava.security.debug set. 2141N/A * Copyright (c) 2009, Red Hat Inc. 2141N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 2141N/A * This code is free software; you can redistribute it and/or modify it 2141N/A * under the terms of the GNU General Public License version 2 only, as 2362N/A * published by the Free Software Foundation. Oracle designates this 2141N/A * particular file as subject to the "Classpath" exception as provided 2362N/A * by Oracle in the LICENSE file that accompanied this code. 2141N/A * This code is distributed in the hope that it will be useful, but WITHOUT 2141N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 2141N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 2141N/A * version 2 for more details (a copy is included in the LICENSE file that 2141N/A * You should have received a copy of the GNU General Public License version 2141N/A * 2 along with this work; if not, write to the Free Software Foundation, 2141N/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 2141N/A * Test class. Create a test keystore and dummy cert, create a jar file to 2141N/A * sign with the test class in it. Sign it run it with the security manager 2141N/A * on, plus accesscontroller debugging, will go into infinite recursion 2141N/A * trying to get enough permissions for printing Date of failing 2141N/A * certificate, unless fix is applied.