You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by bo...@werken.com on 2002/12/10 21:18:59 UTC
[maven-bug] Updated: (MAVEN-172) Catch MissingResourceException when doing ResourceBundle.getBundle()
The following issue has been updated:
Updater: Aslak Hellesøy (mailto:aslak.hellesoy@netcom.no)
Date: Tue, 10 Dec 2002 2:18 PM
Comment:
The patch
Changes:
[Attachment] [MavenUtils.patch] was added
---------------------------------------------------------------------
For a full history of the issue, see:
http://jira.werken.com/secure/ViewIssue.jspa?key=MAVEN-172&page=history
---------------------------------------------------------------------
View the issue:
http://jira.werken.com/secure/ViewIssue.jspa?key=MAVEN-172
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-172
Summary: Catch MissingResourceException when doing ResourceBundle.getBundle()
Type: Improvement
Status: Assigned
Priority: Major
Time Spent: Unknown
Estimate: 0 minutes
Project: maven
Component: None
Versions:
1.0-beta-8
Assignee: Jason van Zyl
Reporter: Aslak Hellesøy
Created: Tue, 10 Dec 2002 2:17 PM
Updated: Tue, 10 Dec 2002 2:18 PM
Environment: Win2K, jdk1.3.1_06/j2sdk1.4.1_01
Description:
org.apache.maven.MavenUtils.loadMessages() should catch MissingResourceException instead of checking for nullity. If a bundle isn't found, MissingResourceException is thrown, but null is never returned as the code suggests. See http://java.sun.com/j2se/1.4.1/docs/api/java/util/ResourceBundle.html#getBundle(java.lang.String)
This patch fixes this bug.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.werken.com/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira