2619N/A/*
2619N/A * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
2619N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
2619N/A *
2619N/A * This code is free software; you can redistribute it and/or modify it
2619N/A * under the terms of the GNU General Public License version 2 only, as
2619N/A * published by the Free Software Foundation.
2619N/A *
2619N/A * This code is distributed in the hope that it will be useful, but WITHOUT
2619N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
2619N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
2619N/A * version 2 for more details (a copy is included in the LICENSE file that
2619N/A * accompanied this code).
2619N/A *
2619N/A * You should have received a copy of the GNU General Public License version
2619N/A * 2 along with this work; if not, write to the Free Software Foundation,
2619N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
2619N/A *
2619N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2619N/A * or visit www.oracle.com if you need additional information or have any
2619N/A * questions.
2619N/A */
2619N/A
2619N/A/*
2619N/A * @test
2619N/A * @bug 6867345
2619N/A * @summary Turkish regional options cause NPE in
2619N/A * sun.security.x509.AlgorithmId.algOID
2619N/A * @run main/othervm -Duser.language=tr -Duser.region=TR TurkishRegion
2619N/A * @author Xuelei Fan
2619N/A */
2619N/A
2619N/Aimport sun.security.x509.*;
2619N/A
2619N/Apublic class TurkishRegion {
2619N/A
2619N/A public static void main(String[] args) throws Exception {
2619N/A AlgorithmId algId = AlgorithmId.get("PBEWITHMD5ANDDES");
2619N/A }
2619N/A}