aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/util/ResourceBundle.java
AgeCommit message (Collapse)AuthorFilesLines
2000-08-21ResourceBundle.java (trySomeGetBundle): Removed debugging prints.Tom Tromey1-16/+12
* java/util/ResourceBundle.java (trySomeGetBundle): Removed debugging prints. From-SVN: r35859
2000-07-12Big AWT patch.Bryce McKinlay1-0/+11
From-SVN: r34976
2000-03-07All files: Updated copyright information.Tom Tromey1-1/+1
* All files: Updated copyright information. * COPYING: New file. * COPYING.LIB: Removed. * LIBGCJ_LICENSE: We now use GPL + special exception. From-SVN: r32387
2000-01-19* All files: Updated copyright to reflect Cygnus purchase.Tom Tromey1-1/+1
From-SVN: r31504
1999-10-17ClassLoader.java (getSystemResource): Use getSystemClassLoader instead of ↵Anthony Green1-0/+19
ClassLoader.system. * java/lang/ClassLoader.java (getSystemResource): Use getSystemClassLoader instead of ClassLoader.system. (getSystemResourceAsStream): Ditto. * java/lang/natClassLoader.cc (redirect): Make static and remove #ifdef INTERPRETER so it is always defined. (getVMClassLoader0): Remove #ifdef INTERPRETER so it always returns a VMClassLoader. * java/util/ResourceBundle.java (trySomeGetBundle): Create a PropertyResourceBundle if a properties file is found before a ResourceBundle class. From-SVN: r30048
1999-05-24ResourceBundle.java (getBundle): Throw NullPointerException if baseName is null.Tom Tromey1-1/+4
* java/util/ResourceBundle.java (getBundle): Throw NullPointerException if baseName is null. From-SVN: r27126
1999-05-10ResourceBundle.java (partialGetBundle): Explicitly use locale.toString().Tom Tromey1-6/+3
* java/util/ResourceBundle.java (partialGetBundle): Explicitly use locale.toString(). (getBundle): Don't explicitly throw null pointer exception. From-SVN: r26856
1999-04-30StringBuffer.java (ensureCapacity): Don't resize vector when shared.Tom Tromey1-49/+49
* java/lang/StringBuffer.java (ensureCapacity): Don't resize vector when shared. * java/util/Locale.java (Locale(String,String)): Implement in terms of 3-argument version; variant now defaults to empty string. (toString): Assume variant is not null. (equals): Assume all strings are not null. (Locale): Throw NullPointerException if any argument is null. * java/util/ResourceBundle.java (getBundle): Don't try the base name; now implicit in partialGetBundle call. (trySomeGetBundle): Search for parent bundles and call setParent as required. (partialGetBundle): Added `langStop' argument. Use `Locale.toString' to compute bundleName. (resource_cache): New static field. (partialGetBundle): Cache the returned resource bundle. Now synchronized. * gnu/gcj/text/LocaleData_en.java (contents): [collatorRule] Added missing `<'. * mauve-libgcj: Enable Collator and RuleBasedCollator. * java/text/natCollator.cc (decomposeCharacter): `base' now `const'. * Makefile.in: Rebuilt. * Makefile.am (ordinary_java_source_files): Added CollationElementIterator, CollationKey, Collator, RuleBasedCollator. (nat_source_files): Added natCollator.cc. * java/text/RuleBasedCollator.java (ceiNext): No longer static. (compare): Pass `this' to CollationElementIterator constructor. (getCollationElementIterator): Likewise. (ceiNext): Fix off-by-one error when finding initial substring. (next): Correctly mask off bits when computing return value. Fixed return values when one string is shorter than the other. * java/text/CollationElementIterator.java (collator): New field. (CollationElementIterator): Added collator argument. (next): Call ceiNext on collator object. From-SVN: r26707
1999-04-07Initial revisionTom Tromey1-0/+188
From-SVN: r26263