diff options
author | Matthias Klose <doko@gcc.gnu.org> | 2012-12-19 17:03:15 +0000 |
---|---|---|
committer | Matthias Klose <doko@gcc.gnu.org> | 2012-12-19 17:03:15 +0000 |
commit | a1906e8bbfa426ed1adfe751608bc74f1d4d2ab7 (patch) | |
tree | 9b478aacc6b13f1beadacec2ade096dcb732af53 /libjava/java/text | |
parent | baeb2e16475b278e83fe73751d4f0f572805b16e (diff) | |
download | gcc-a1906e8bbfa426ed1adfe751608bc74f1d4d2ab7.zip gcc-a1906e8bbfa426ed1adfe751608bc74f1d4d2ab7.tar.gz gcc-a1906e8bbfa426ed1adfe751608bc74f1d4d2ab7.tar.bz2 |
Import GNU Classpath (20121202).
2012-12-19 Matthias Klose <doko@ubuntu.com>
Import GNU Classpath (20121202).
* Regenerate class and header files.
* Regenerate auto* files.
* sources.am, gcj/javaprims.h: Regenerate.
* gnu/java/nio/FileLockImpl.java (close): New override.
From-SVN: r194618
Diffstat (limited to 'libjava/java/text')
-rw-r--r-- | libjava/java/text/CollationElementIterator.h | 4 | ||||
-rw-r--r-- | libjava/java/text/DateFormatSymbols$DFSData.h | 53 | ||||
-rw-r--r-- | libjava/java/text/DateFormatSymbols.h | 13 |
3 files changed, 65 insertions, 5 deletions
diff --git a/libjava/java/text/CollationElementIterator.h b/libjava/java/text/CollationElementIterator.h index a3b75de..2638b07 100644 --- a/libjava/java/text/CollationElementIterator.h +++ b/libjava/java/text/CollationElementIterator.h @@ -50,8 +50,8 @@ public: // actually package-private jint index; jint textIndex; private: - JArray< ::java::text::RuleBasedCollator$CollationElement * > * text_decomposition; - JArray< jint > * text_indexes; + JArray< ::java::text::RuleBasedCollator$CollationElement * > * textDecomposition; + JArray< jint > * textIndexes; public: static ::java::lang::Class class$; }; diff --git a/libjava/java/text/DateFormatSymbols$DFSData.h b/libjava/java/text/DateFormatSymbols$DFSData.h new file mode 100644 index 0000000..939223c --- /dev/null +++ b/libjava/java/text/DateFormatSymbols$DFSData.h @@ -0,0 +1,53 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_text_DateFormatSymbols$DFSData__ +#define __java_text_DateFormatSymbols$DFSData__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace java + { + namespace text + { + class DateFormatSymbols$DFSData; + } + } +} + +class java::text::DateFormatSymbols$DFSData : public ::java::lang::Object +{ + +public: + DateFormatSymbols$DFSData(JArray< ::java::lang::String * > *, JArray< ::java::lang::String * > *, ::java::lang::String *, JArray< ::java::lang::String * > *, JArray< ::java::lang::String * > *, JArray< ::java::lang::String * > *, JArray< ::java::lang::String * > *, JArray< ::java::lang::String * > *, JArray< ::java::lang::String * > *, JArray< JArray< ::java::lang::String * > * > *); + virtual JArray< ::java::lang::String * > * getAMPMs(); + virtual JArray< ::java::lang::String * > * getEras(); + virtual ::java::lang::String * getLocalPatternChars(); + virtual JArray< ::java::lang::String * > * getMonths(); + virtual JArray< ::java::lang::String * > * getShortMonths(); + virtual JArray< ::java::lang::String * > * getWeekdays(); + virtual JArray< ::java::lang::String * > * getShortWeekdays(); + virtual JArray< ::java::lang::String * > * getDateFormats(); + virtual JArray< ::java::lang::String * > * getTimeFormats(); + virtual JArray< JArray< ::java::lang::String * > * > * getZoneStrings(); +private: + JArray< ::java::lang::String * > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) ampms; + JArray< ::java::lang::String * > * eras; + ::java::lang::String * localPatternChars; + JArray< ::java::lang::String * > * months; + JArray< ::java::lang::String * > * shortMonths; + JArray< ::java::lang::String * > * weekdays; + JArray< ::java::lang::String * > * shortWeekdays; + JArray< ::java::lang::String * > * dateFormats; + JArray< ::java::lang::String * > * timeFormats; + JArray< JArray< ::java::lang::String * > * > * runtimeZoneStrings; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_text_DateFormatSymbols$DFSData__ diff --git a/libjava/java/text/DateFormatSymbols.h b/libjava/java/text/DateFormatSymbols.h index 524fab1..a458654 100644 --- a/libjava/java/text/DateFormatSymbols.h +++ b/libjava/java/text/DateFormatSymbols.h @@ -16,6 +16,7 @@ extern "Java" namespace text { class DateFormatSymbols; + class DateFormatSymbols$DFSData; } } } @@ -25,8 +26,10 @@ class java::text::DateFormatSymbols : public ::java::lang::Object static JArray< ::java::lang::String * > * getStringArray(::java::util::List *, ::java::lang::String *, jint); static JArray< ::java::lang::String * > * getStringArray(::java::util::List *, ::java::lang::String *, jint, JArray< ::java::lang::String * > *); - JArray< JArray< ::java::lang::String * > * > * getZoneStrings(::java::util::ResourceBundle *, ::java::util::Locale *); - JArray< ::java::lang::String * > * formatsForKey(::java::util::ResourceBundle *, ::java::lang::String *); + static JArray< JArray< ::java::lang::String * > * > * getZoneStrings(::java::util::List *, ::java::util::Locale *); + static JArray< ::java::lang::String * > * formatsForKey(::java::util::List *, ::java::lang::String *); + static ::java::lang::String * getString(::java::util::List *, ::java::lang::String *); + static ::java::text::DateFormatSymbols$DFSData * retrieveData(::java::util::Locale *); public: DateFormatSymbols(::java::util::Locale *); DateFormatSymbols(); @@ -55,6 +58,11 @@ public: virtual jint hashCode(); static ::java::text::DateFormatSymbols * getInstance(); static ::java::text::DateFormatSymbols * getInstance(::java::util::Locale *); +private: + static ::java::util::Properties * properties; + static ::java::util::regex::Pattern * ZONE_SEP; + static ::java::util::regex::Pattern * FIELD_SEP; + static ::java::util::concurrent::ConcurrentMap * dataCache; public: // actually package-private JArray< ::java::lang::String * > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) ampms; JArray< ::java::lang::String * > * eras; @@ -66,7 +74,6 @@ public: // actually package-private JArray< ::java::lang::String * > * shortWeekdays; JArray< ::java::lang::String * > * weekdays; private: - static ::java::util::Properties * properties; JArray< JArray< ::java::lang::String * > * > * runtimeZoneStrings; JArray< JArray< ::java::lang::String * > * > * zoneStrings; static const jlong serialVersionUID = -5987973545549424702LL; |