Mercurial > projects > dwt2
diff base/src/java/util/ResourceBundle.d @ 112:9f4c18c268b2
Update to compile and execute with dmd 2.052.
author | kntroh |
---|---|
date | Wed, 16 Mar 2011 21:53:53 +0900 |
parents | bbe49769ec18 |
children | 46539f5c5993 |
line wrap: on
line diff
--- a/base/src/java/util/ResourceBundle.d Sat Nov 13 14:15:51 2010 +0100 +++ b/base/src/java/util/ResourceBundle.d Wed Mar 16 21:53:53 2011 +0900 @@ -13,6 +13,7 @@ import tango.io.device.File; import tango.text.locale.Core; } else { // Phobos + import std.file; } @@ -182,7 +183,7 @@ version(Tango){ return new ResourceBundle( cast(String) File.get(name) ); } else { // Phobos - implMissing(__FILE__,__LINE__); + return new ResourceBundle( cast(String) std.file.read(name) ); } } catch( IOException e){