Path: blob/master/test/jdk/java/util/ResourceBundle/Bug4179766Resource.java
41149 views
/*1* Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.2* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.3*4* This code is free software; you can redistribute it and/or modify it5* under the terms of the GNU General Public License version 2 only, as6* published by the Free Software Foundation.7*8* This code is distributed in the hope that it will be useful, but WITHOUT9* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or10* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License11* version 2 for more details (a copy is included in the LICENSE file that12* accompanied this code).13*14* You should have received a copy of the GNU General Public License version15* 2 along with this work; if not, write to the Free Software Foundation,16* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.17*18* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA19* or visit www.oracle.com if you need additional information or have any20* questions.21*/22/*23*24*25* (C) Copyright IBM Corp. 1996 - 1999 - All Rights Reserved26*27* Portions copyright (c) 2007 Sun Microsystems, Inc.28* All Rights Reserved.29*30* The original version of this source code and documentation31* is copyrighted and owned by Taligent, Inc., a wholly-owned32* subsidiary of IBM. These materials are provided under terms33* of a License Agreement between Taligent and Sun. This technology34* is protected by multiple US and International patents.35*36* This notice and attribution to Taligent may not be removed.37* Taligent is a registered trademark of Taligent, Inc.38*39* Permission to use, copy, modify, and distribute this software40* and its documentation for NON-COMMERCIAL purposes and without41* fee is hereby granted provided that this copyright notice42* appears in all copies. Please refer to the file "copyright.html"43* for further important copyright and licensing information.44*45* SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF46* THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED47* TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A48* PARTICULAR PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR49* ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR50* DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES.51*52*/53import java.util.ListResourceBundle;5455/**56* A dummy resource to be loaded by the custom class loader.57* The contents are unimportant.58*/59public class Bug4179766Resource extends ListResourceBundle {60public Object[][] getContents() {61return new Object[][] {62{ "MonthNames",63new String[] {64"January",65"February",66"March",67"April",68"May",69"June",70"July",71"August",72"September",73"October",74"November",75"December",76"",77}78},79{ "DayNames",80new String[] {81"Sunday",82"Monday",83"Tuesday",84"Wednesday",85"Thursday",86"Friday",87"Saturday",88}89}90};91}92}939495