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
This commit is contained in:
Matthias Klose
2012-12-19 17:03:15 +00:00
parent baeb2e1647
commit a1906e8bbf
454 changed files with 5224 additions and 2925 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ public: // actually package-private
::java::util::Vector * __attribute__((aligned(__alignof__( ::java::lang::Object)))) solids;
::java::util::Vector * holes;
private:
::java::util::Vector * cc_intersections;
::java::util::Vector * ccIntersections;
jint windingRule;
public:
static ::java::lang::Class class$;
+1
View File
@@ -20,6 +20,7 @@ public:
AssertionError(jlong);
AssertionError(jfloat);
AssertionError(jdouble);
AssertionError(::java::lang::String *, ::java::lang::Throwable *);
private:
static const jlong serialVersionUID = -5013299493970297370LL;
public:
+19
View File
@@ -0,0 +1,19 @@
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __java_lang_AutoCloseable__
#define __java_lang_AutoCloseable__
#pragma interface
#include <java/lang/Object.h>
class java::lang::AutoCloseable : public ::java::lang::Object
{
public:
virtual void close() = 0;
static ::java::lang::Class class$;
} __attribute__ ((java_interface));
#endif // __java_lang_AutoCloseable__
+1
View File
@@ -23,6 +23,7 @@ public:
jboolean equals(::java::lang::Object *);
static jboolean getBoolean(::java::lang::String *);
jint Boolean$compareTo(::java::lang::Boolean *);
static jint compare(jboolean, jboolean);
static jboolean parseBoolean(::java::lang::String *);
jint compareTo(::java::lang::Object *);
private:
+1
View File
@@ -33,6 +33,7 @@ public:
jint hashCode();
jboolean equals(::java::lang::Object *);
jint Byte$compareTo(::java::lang::Byte *);
static jint compare(jbyte, jbyte);
jint compareTo(::java::lang::Object *);
private:
static const jlong serialVersionUID = -7183698231559129828LL;
+3 -3
View File
@@ -6,9 +6,9 @@
#pragma interface
#include <java/lang/Exception.h>
#include <java/lang/ReflectiveOperationException.h>
class java::lang::ClassNotFoundException : public ::java::lang::Exception
class java::lang::ClassNotFoundException : public ::java::lang::ReflectiveOperationException
{
public:
@@ -19,7 +19,7 @@ public:
virtual ::java::lang::Throwable * getCause();
private:
static const jlong serialVersionUID = 9176873029745254542LL;
::java::lang::Throwable * __attribute__((aligned(__alignof__( ::java::lang::Exception)))) ex;
::java::lang::Throwable * __attribute__((aligned(__alignof__( ::java::lang::ReflectiveOperationException)))) ex;
public:
static ::java::lang::Class class$;
};
+2 -2
View File
@@ -6,9 +6,9 @@
#pragma interface
#include <java/lang/Exception.h>
#include <java/lang/ReflectiveOperationException.h>
class java::lang::IllegalAccessException : public ::java::lang::Exception
class java::lang::IllegalAccessException : public ::java::lang::ReflectiveOperationException
{
public:
+2 -2
View File
@@ -6,9 +6,9 @@
#pragma interface
#include <java/lang/Exception.h>
#include <java/lang/ReflectiveOperationException.h>
class java::lang::InstantiationException : public ::java::lang::Exception
class java::lang::InstantiationException : public ::java::lang::ReflectiveOperationException
{
public:
+1
View File
@@ -43,6 +43,7 @@ public:
static ::java::lang::Integer * getInteger(::java::lang::String *, ::java::lang::Integer *);
static ::java::lang::Integer * decode(::java::lang::String *);
jint Integer$compareTo(::java::lang::Integer *);
static jint compare(jint, jint);
static jint bitCount(jint);
static jint rotateLeft(jint, jint);
static jint rotateRight(jint, jint);
+1
View File
@@ -14,6 +14,7 @@ class java::lang::LinkageError : public ::java::lang::Error
public:
LinkageError();
LinkageError(::java::lang::String *);
LinkageError(::java::lang::String *, ::java::lang::Throwable *);
private:
static const jlong serialVersionUID = 3579600108157160122LL;
public:
+1
View File
@@ -43,6 +43,7 @@ public:
static ::java::lang::Long * getLong(::java::lang::String *, jlong);
static ::java::lang::Long * getLong(::java::lang::String *, ::java::lang::Long *);
jint Long$compareTo(::java::lang::Long *);
static jint compare(jlong, jlong);
static jint bitCount(jlong);
static jlong rotateLeft(jlong, jint);
static jlong rotateRight(jlong, jint);
+2 -2
View File
@@ -6,9 +6,9 @@
#pragma interface
#include <java/lang/Exception.h>
#include <java/lang/ReflectiveOperationException.h>
class java::lang::NoSuchFieldException : public ::java::lang::Exception
class java::lang::NoSuchFieldException : public ::java::lang::ReflectiveOperationException
{
public:
+2 -2
View File
@@ -6,9 +6,9 @@
#pragma interface
#include <java/lang/Exception.h>
#include <java/lang/ReflectiveOperationException.h>
class java::lang::NoSuchMethodException : public ::java::lang::Exception
class java::lang::NoSuchMethodException : public ::java::lang::ReflectiveOperationException
{
public:
@@ -0,0 +1,25 @@
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __java_lang_ReflectiveOperationException__
#define __java_lang_ReflectiveOperationException__
#pragma interface
#include <java/lang/Exception.h>
class java::lang::ReflectiveOperationException : public ::java::lang::Exception
{
public:
ReflectiveOperationException();
ReflectiveOperationException(::java::lang::String *);
ReflectiveOperationException(::java::lang::String *, ::java::lang::Throwable *);
ReflectiveOperationException(::java::lang::Throwable *);
private:
static const jlong serialVersionUID = 123456789LL;
public:
static ::java::lang::Class class$;
};
#endif // __java_lang_ReflectiveOperationException__
+1
View File
@@ -33,6 +33,7 @@ public:
jint hashCode();
jboolean equals(::java::lang::Object *);
jint Short$compareTo(::java::lang::Short *);
static jint compare(jshort, jshort);
static jshort reverseBytes(jshort);
jint compareTo(::java::lang::Object *);
private:
@@ -6,9 +6,9 @@
#pragma interface
#include <java/lang/Exception.h>
#include <java/lang/ReflectiveOperationException.h>
class java::lang::reflect::InvocationTargetException : public ::java::lang::Exception
class java::lang::reflect::InvocationTargetException : public ::java::lang::ReflectiveOperationException
{
public: // actually protected
@@ -20,7 +20,7 @@ public:
virtual ::java::lang::Throwable * getCause();
private:
static const jlong serialVersionUID = 4085088731926701167LL;
::java::lang::Throwable * __attribute__((aligned(__alignof__( ::java::lang::Exception)))) target;
::java::lang::Throwable * __attribute__((aligned(__alignof__( ::java::lang::ReflectiveOperationException)))) target;
public:
static ::java::lang::Class class$;
};
+1
View File
@@ -36,6 +36,7 @@ public:
virtual jlong position();
virtual jlong size();
virtual ::java::lang::String * toString();
virtual void close() = 0;
private:
::java::nio::channels::FileChannel * __attribute__((aligned(__alignof__( ::java::lang::Object)))) channel__;
jlong position__;
+2 -2
View File
@@ -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$;
};
@@ -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__
+10 -3
View File
@@ -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;
+1
View File
@@ -14,6 +14,7 @@ class java::util::TimeZone$1 : public ::java::lang::Object
public: // actually package-private
TimeZone$1();
public:
virtual ::java::util::TimeZone * TimeZone$1$run();
virtual ::java::lang::Object * run();
static ::java::lang::Class class$;
};
+1
View File
@@ -31,6 +31,7 @@ class java::util::regex::Matcher : public ::java::lang::Object
public: // actually package-private
Matcher(::java::util::regex::Pattern *, ::java::lang::CharSequence *);
public:
::java::util::regex::Matcher * usePattern(::java::util::regex::Pattern *);
::java::util::regex::Matcher * appendReplacement(::java::lang::StringBuffer *, ::java::lang::String *);
::java::lang::StringBuffer * appendTail(::java::lang::StringBuffer *);
jint end();