From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8515 invoked by alias); 16 Dec 2005 09:59:15 -0000 Received: (qmail 8494 invoked by uid 48); 16 Dec 2005 09:59:15 -0000 Date: Fri, 16 Dec 2005 09:59:00 -0000 Message-ID: <20051216095915.8493.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug java/24698] [4.1/4.2 regression] SIGABRT when using ResourceBundle.getBundle with a nonexistant key In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: java-prs@gcc.gnu.org From: "bero at arklinux dot org" Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org X-SW-Source: 2005-q4/txt/msg00524.txt.bz2 List-Id: ------- Comment #14 from bero at arklinux dot org 2005-12-16 09:59 ------- This happens 100% reproducably when using ResourceBundle.getString on an existing bundle with a nonexistant key -- this is enough to reproduce, no need for an external jar or anything: =============================== import java.util.*; class test { public static void main(String args[]) { ResourceBundle bundle=ResourceBundle.getBundle("gnu.java.locale.LocaleInformation"); bundle.getString("This key does not exist."); } } =============================== Note that using getObject instead of getString works. -- bero at arklinux dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |critical http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24698