ResourceBundle.java (trySomeGetBundle): Removed debugging prints.

* java/util/ResourceBundle.java (trySomeGetBundle): Removed
	debugging prints.

From-SVN: r35859
This commit is contained in:
Tom Tromey 2000-08-21 21:25:55 +00:00 committed by Tom Tromey
parent 6315f06806
commit 6c531b0556
2 changed files with 17 additions and 16 deletions

View File

@ -1,3 +1,8 @@
2000-08-21 Tom Tromey <tromey@cygnus.com>
* java/util/ResourceBundle.java (trySomeGetBundle): Removed
debugging prints.
Sun Aug 20 21:02:48 2000 Anthony Green <green@redhat.com>
* java/lang/natSystem.cc (init_properties): Change sourceware

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1998, 1999 Free Software Foundation
/* Copyright (C) 1998, 1999, 2000 Free Software Foundation
This file is part of libgcj.
@ -115,26 +115,22 @@ public abstract class ResourceBundle
}
// Look for a properties file.
{
String prop_name = (bundleName.replace('.', '/') + ".properties");
System.out.println ("trying '" + prop_name + "' for '" + bundleName);
InputStream i = ClassLoader.getSystemResourceAsStream (prop_name);
/*
InputStream i =
ClassLoader.getSystemResourceAsStream (bundleName.replace ('.', '/')
+ ".properties");
*/
if (i != null)
{
try {
InputStream i =
ClassLoader.getSystemResourceAsStream (bundleName.replace ('.', '/')
+ ".properties");
if (i != null)
{
try
{
return new PropertyResourceBundle (i);
} catch (java.io.IOException e) {
}
catch (java.io.IOException e)
{
// The docs don't appear to define what happens in
// this case, but it seems like continuing the
// search is a reasonable thing to do.
}
}
}
}
if (bundleName.equals(stopHere))
return result;