diff options
| author | Dan Albert <danalbert@google.com> | 2015-06-17 11:09:54 -0700 |
|---|---|---|
| committer | Dan Albert <danalbert@google.com> | 2015-06-17 14:15:22 -0700 |
| commit | f378ebf14df0952eae870c9865bab8326aa8f137 (patch) | |
| tree | 31794503eb2a8c64ea5f313b93100f1163afcffb /gcc-4.2.1/libjava/gnu/java | |
| parent | 2c58169824949d3a597d9fa81931e001ef9b1bd0 (diff) | |
| download | toolchain_gcc-f378ebf14df0952eae870c9865bab8326aa8f137.tar.gz toolchain_gcc-f378ebf14df0952eae870c9865bab8326aa8f137.tar.bz2 toolchain_gcc-f378ebf14df0952eae870c9865bab8326aa8f137.zip | |
Delete old versions of GCC.
Change-Id: I710f125d905290e1024cbd67f48299861790c66c
Diffstat (limited to 'gcc-4.2.1/libjava/gnu/java')
194 files changed, 0 insertions, 24068 deletions
diff --git a/gcc-4.2.1/libjava/gnu/java/lang/MainThread.java b/gcc-4.2.1/libjava/gnu/java/lang/MainThread.java deleted file mode 100644 index 5b8b417ad..000000000 --- a/gcc-4.2.1/libjava/gnu/java/lang/MainThread.java +++ /dev/null @@ -1,137 +0,0 @@ -/* gnu.java.lang.MainThread - Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 - Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package gnu.java.lang; - -import java.io.File; -import java.util.jar.Attributes; -import java.util.jar.JarFile; - -/** - * MainThread is a Thread which uses the main() method of some class. - * - * @author John Keiser - * @author Tom Tromey (tromey@redhat.com) - */ -final class MainThread extends Thread -{ - // If the user links statically then we need to ensure that these - // classes are linked in. Otherwise bootstrapping fails. These - // classes are only referred to via Class.forName(), so we add an - // explicit mention of them here. - static final Class Kcert = java.security.cert.Certificate.class; - static final Class Kfile = gnu.java.net.protocol.file.Handler.class; - static final Class Khttp = gnu.java.net.protocol.http.Handler.class; - static final Class Kjar = gnu.java.net.protocol.jar.Handler.class; - static final Class Klocale = gnu.java.locale.LocaleInformation.class; - static final Class Kcalendar = gnu.java.locale.Calendar.class; - - // Private data. - private Class klass; - private String klass_name; - private String[] args; - private boolean is_jar; - - public MainThread(Class k, String[] args) - { - super(null, null, "main"); - klass = k; - this.args = args; - } - - public MainThread(String classname, String[] args, boolean is_jar) - { - super (null, null, "main"); - klass_name = classname; - this.args = args; - this.is_jar = is_jar; - } - - public void run() - { - if (is_jar) - klass_name = getMain(klass_name); - - if (klass == null) - { - try - { - ClassLoader cl = ClassLoader.getSystemClassLoader(); - // Permit main class name to be specified in file-system format. - klass_name = klass_name.replace(File.separatorChar, '.'); - klass = cl.loadClass(klass_name); - } - catch (ClassNotFoundException x) - { - NoClassDefFoundError ncdfe = new NoClassDefFoundError(klass_name); - ncdfe.initCause(x); - throw ncdfe; - } - } - - call_main(); - } - - private String getMain(String name) - { - String mainName = null; - try - { - JarFile j = new JarFile(name); - Attributes a = j.getManifest().getMainAttributes(); - mainName = a.getValue(Attributes.Name.MAIN_CLASS); - } - catch (Exception e) - { - // Ignore. - } - - if (mainName == null) - { - System.err.println("Failed to load Main-Class manifest attribute from " - + name); - System.exit(1); - } - return mainName; - } - - // Note: this function name is known to the stack tracing code. - // You shouldn't change this without also updating stacktrace.cc. - private native void call_main(); -} diff --git a/gcc-4.2.1/libjava/gnu/java/lang/VMInstrumentationImpl.java b/gcc-4.2.1/libjava/gnu/java/lang/VMInstrumentationImpl.java deleted file mode 100644 index 4ffff839c..000000000 --- a/gcc-4.2.1/libjava/gnu/java/lang/VMInstrumentationImpl.java +++ /dev/null @@ -1,119 +0,0 @@ -/* VMInstrumentationImpl.java -- interface for the GNU implementation - of InstrumentationImpl - Copyright (C) 2005 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package gnu.java.lang; - -import java.lang.instrument.ClassDefinition; -import java.lang.instrument.Instrumentation; - -/** - * @author Nicolas Geoffray (nicolas.geoffray@menlina.com) - * @since 1.5 - */ -final class VMInstrumentationImpl -{ - - /** - * Returns if the current JVM supports class redefinition - * - * @return true if the current JVM supports class redefinition - */ - static boolean isRedefineClassesSupported() { return false; } - - /** - * Redefines classes given as parameters. The method has to call - * the callTransformers from InstrumentationImpl - * - * @param inst an instrumentation object - * @param definitions an array of bytecode<->class correspondance - * - * @throws ClassNotFoundException if a class cannot be found - * @throws UnmodifiableClassException if a class cannot be modified - * @throws UnsupportedOperationException if the JVM does not support - * redefinition or the redefinition made unsupported changes - * @throws ClassFormatError if a class file is not valid - * @throws NoClassDefFoundError if a class name is not equal to the name - * in the class file specified - * @throws UnsupportedClassVersionError if the class file version numbers - * are unsupported - * @throws ClassCircularityError if circularity occured with the new - * classes - * @throws LinkageError if a linkage error occurs - */ - static void redefineClasses(Instrumentation inst, - ClassDefinition[] definitions) - { - } - - /** - * Get all the classes loaded by the JVM. - * - * @return an array containing all the classes loaded by the JVM. The array - * is empty if no class is loaded. - */ - static Class[] getAllLoadedClasses() - { - return new Class[0]; - } - - /** - * Get all the classes loaded by a given class loader - * - * @param loader the loader - * - * @return an array containing all the classes loaded by the given loader. - * The array is empty if no class was loaded by the loader. - */ - static Class[] getInitiatedClasses(ClassLoader loader) - { - return new Class[0]; - } - - - /** - * Get the size of an object. The object is not null - * - * @param objectToSize the object - * @return the size of the object - */ - static long getObjectSize(Object objectToSize) - { - return 0; - } -} diff --git a/gcc-4.2.1/libjava/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java b/gcc-4.2.1/libjava/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java deleted file mode 100644 index 77ddbf5eb..000000000 --- a/gcc-4.2.1/libjava/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java +++ /dev/null @@ -1,100 +0,0 @@ -/* VMClassLoadingMXBeanImpl.java - VM impl. of a class loading bean - Copyright (C) 2006 Free Software Foundation - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - -package gnu.java.lang.management; - -/** - * Provides access to information about the class loading - * behaviour of the current invocation of the virtual - * machine. Instances of this bean are obtained by calling - * {@link ManagementFactory#getClassLoadingMXBean()}. - * - * @author Andrew John Hughes (gnu_andrew@member.fsf.org) - * @since 1.5 - */ -final class VMClassLoadingMXBeanImpl -{ - - /** - * Returns the number of classes currently loaded by - * the virtual machine. - * - * @return the number of loaded classes. - */ - static int getLoadedClassCount() - { - return -1; - } - - /** - * Returns the number of classes that have been unloaded - * by the virtual machine since it was started. - * - * @return the number of unloaded classes. - */ - static long getUnloadedClassCount() - { - return -1; - } - - /** - * Returns true if the virtual machine will emit additional - * information when classes are loaded and unloaded. The - * format of the output is left up to the virtual machine. - * - * @return true if verbose class loading output is on. - */ - static boolean isVerbose() - { - return false; - } - - /** - * Turns on or off the emission of additional information - * when classes are loaded and unloaded. The format of the - * output is left up to the virtual machine. This method - * may be called by multiple threads concurrently, but there - * is only one global setting of verbosity that is affected. - * - * @param verbose the new setting for verbose class loading - * output. - */ - static void setVerbose(boolean verbose) - { - } - -} diff --git a/gcc-4.2.1/libjava/gnu/java/lang/management/VMCompilationMXBeanImpl.java b/gcc-4.2.1/libjava/gnu/java/lang/management/VMCompilationMXBeanImpl.java deleted file mode 100644 index d529cdc8c..000000000 --- a/gcc-4.2.1/libjava/gnu/java/lang/management/VMCompilationMXBeanImpl.java +++ /dev/null @@ -1,69 +0,0 @@ -/* VMCompilationMXBeanImpl.java - VM implementation of a compilation bean - Copyright (C) 2006 Free Software Foundation - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - -package gnu.java.lang.management; - -/** - * Provides access to information about the JIT - * compiler of the virtual machine, if one exists. - * Instances of this bean are obtained by calling - * {@link ManagementFactory#getCompilationMXBean()}, - * if this is the case. - * - * @author Andrew John Hughes (gnu_andrew@member.fsf.org) - * @since 1.5 - */ -final class VMCompilationMXBeanImpl -{ - - /** - * Returns the number of milliseconds the JIT - * compiler has spent compiling Java bytecode - * to native machine code. This is only called - * if a JIT compiler exists and the - * gnu.java.lang.management.CompilationTimeSupport - * property has been set. - * - * @return the number of milliseconds spent - * compiling. - */ - static long getTotalCompilationTime() - { - return -1; - } - -} diff --git a/gcc-4.2.1/libjava/gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java b/gcc-4.2.1/libjava/gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java deleted file mode 100644 index b56efa954..000000000 --- a/gcc-4.2.1/libjava/gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java +++ /dev/null @@ -1,86 +0,0 @@ -/* VMGarbageCollectorMXBeanImpl.java - VM interface for a GC bean - Copyright (C) 2006 Free Software Foundation - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - -package gnu.java.lang.management; - -/** - * Provides access to information about the garbage collectors - * of the virtual machine. Garbage collectors are responsible - * for removing unreferenced objects from memory. A garbage - * collector is a type of memory manager, so this interface - * is combined with that of generic memory managers. An instance - * of this bean for each garbage collector is obtained by calling - * {@link ManagementFactory#getGarbageCollectorMXBeans()}. - * - * @author Andrew John Hughes (gnu_andrew@member.fsf.org) - * @since 1.5 - */ -final class VMGarbageCollectorMXBeanImpl -{ - - /** - * Returns the number of collections the garbage collector - * represented by this bean has made. -1 is returned if the - * collection count is undefined. - * - * @param name the name of the garbage collector. - * @return the number of collections made, or -1 if this is - * undefined. - */ - static long getCollectionCount(String name) - { - return -1; - } - - /** - * Returns the accumulated number of milliseconds this garbage - * collector has spent freeing the memory used by unreferenced - * objects. -1 is returned if the collection time is undefined. - * Note that the accumulated time may not change, even when the - * collection count increases, if the time taken is sufficiently - * short; this depends on the resolution of the timer used. - * - * @param name the name of the garbage collector. - * @return the accumulated number of milliseconds spent collecting, - * or -1 if this is undefined. - */ - static long getCollectionTime(String name) - { - return -1; - } - -} diff --git a/gcc-4.2.1/libjava/gnu/java/lang/management/VMMemoryMXBeanImpl.java b/gcc-4.2.1/libjava/gnu/java/lang/management/VMMemoryMXBeanImpl.java deleted file mode 100644 index 660de5eb7..000000000 --- a/gcc-4.2.1/libjava/gnu/java/lang/management/VMMemoryMXBeanImpl.java +++ /dev/null @@ -1,120 +0,0 @@ -/* VMMemoryMXBeanImpl.java - VM impl. of a memory bean - Copyright (C) 2006 Free Software Foundation - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - -package gnu.java.lang.management; - -import java.lang.management.MemoryUsage; - -/** - * Provides access to information about the memory - * management of the current invocation of the virtual - * machine. Instances of this bean are obtained by calling - * {@link ManagementFactory#getMemoryMXBean()}. - * - * @author Andrew John Hughes (gnu_andrew@member.fsf.org) - * @since 1.5 - */ -final class VMMemoryMXBeanImpl -{ - - /** - * Returns an instance of {@link java.lang.management.MemoryUsage} - * with appropriate initial, used, committed and maximum values - * for the heap. By default, this uses the methods of - * {@link java.lang.Runtime} to provide some of the values. - * - * @return an {@link java.lang.management.MemoryUsage} instance - * for the heap. - */ - static MemoryUsage getHeapMemoryUsage() - { - Runtime runtime = Runtime.getRuntime(); - long totalMem = runtime.totalMemory(); - return new MemoryUsage(-1, totalMem - runtime.freeMemory(), - totalMem, runtime.maxMemory()); - } - - /** - * Returns an instance of {@link java.lang.management.MemoryUsage} - * with appropriate initial, used, committed and maximum values - * for non-heap memory. - * - * @return an {@link java.lang.management.MemoryUsage} instance - * for non-heap memory. - */ - static MemoryUsage getNonHeapMemoryUsage() - { - return null; - } - - /** - * Returns the number of objects ready to be garbage collected. - * - * @return the number of finalizable objects. - */ - static int getObjectPendingFinalizationCount() - { - return -1; - } - - /** - * Returns true if the virtual machine will emit additional - * information when memory is allocated and deallocated. The - * format of the output is left up to the virtual machine. - * - * @return true if verbose class loading output is on. - */ - static boolean isVerbose() - { - return false; - } - - /** - * Turns on or off the emission of additional information - * when memory is allocated and deallocated. The format of the - * output is left up to the virtual machine. This method - * may be called by multiple threads concurrently, but there - * is only one global setting of verbosity that is affected. - * - * @param verbose the new setting for verbose class loading - * output. - */ - static void setVerbose(boolean verbose) - { - } - -} diff --git a/gcc-4.2.1/libjava/gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java b/gcc-4.2.1/libjava/gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java deleted file mode 100644 index 2db4cf4c1..000000000 --- a/gcc-4.2.1/libjava/gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java +++ /dev/null @@ -1,98 +0,0 @@ -/* VMMemoryManagerMXBeanImpl.java - VM interface for a memory manager bean - Copyright (C) 2006 Free Software Foundation - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - -package gnu.java.lang.management; - -import java.lang.management.ManagementFactory; -import java.lang.management.MemoryPoolMXBean; - -import java.util.ArrayList; -import java.util.Iterator; -import java.util.List; - -/** - * Provides access to information about the memory managers - * of the virtual machine. An instance of this bean for each - * memory manager is obtained by calling - * {@link ManagementFactory#getMemoryManagerMXBeans()}. - * - * @author Andrew John Hughes (gnu_andrew@member.fsf.org) - * @since 1.5 - */ -final class VMMemoryManagerMXBeanImpl -{ - - /** - * Returns an array containing the names of the memory pools - * this memory manager manages. - * - * @param name the name of the memory manager. - * @return an array containing the name of each memory pool - * this manager is responsible for. - */ - static String[] getMemoryPoolNames(String name) - { - List managedPools = new ArrayList(); - Iterator beans = ManagementFactory.getMemoryPoolMXBeans().iterator(); - while (beans.hasNext()) - { - MemoryPoolMXBean bean = (MemoryPoolMXBean) beans.next(); - String[] managers = bean.getMemoryManagerNames(); - for (int a = 0; a < managers.length; ++a) - if (managers[a].equals(name)) - { - managedPools.add(bean.getName()); - break; - } - } - return (String[]) managedPools.toArray(new String[managedPools.size()]); - } - - /** - * Returns true if this memory manager is still valid. A memory - * manager becomes invalid when it is removed by the virtual machine - * and no longer used. - * - * @param name the name of the memory manager. - * @return true if this memory manager is valid. - */ - static boolean isValid(String name) - { - return false; - } - -} diff --git a/gcc-4.2.1/libjava/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java b/gcc-4.2.1/libjava/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java deleted file mode 100644 index d0f85b684..000000000 --- a/gcc-4.2.1/libjava/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java +++ /dev/null @@ -1,231 +0,0 @@ -/* MemoryPoolMXBeanImpl.java - VM interface for memory pool beans - Copyright (C) 2006 Free Software Foundation - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - -package gnu.java.lang.management; - -import java.lang.management.MemoryUsage; - -/** - * Provides access to information on the memory resources or - * pools used by the current invocation of the virtual machine. - * - * @author Andrew John Hughes (gnu_andrew@member.fsf.org) - * @since 1.5 - */ -final class VMMemoryPoolMXBeanImpl -{ - - /** - * Returns memory usage statistics for the specified pool - * just after a best-effort attempt to free memory. This - * is valid only for certain garbage collectors. - * - * @param name the name of the pool to obtain statistics on. - * @return a {@link java.lang.management.MemoryUsage} object - * containing the statistics or <code>null</code> - * if this pool does not support such statistics. - */ - static MemoryUsage getCollectionUsage(String name) - { - return null; - } - - /** - * Returns the collection usage threshold for the specified pool. - * This is only called if this functionality is supported - * by the virtual machine (i.e. the appropriate property, - * <code>gnu.java.lang.management.CollectionUsageThresholdSupport</code>, - * is defined). The value is initially zero. - * - * @param name the name of the pool to obtain statistics on. - * @return the collection usage threshold. - */ - static long getCollectionUsageThreshold(String name) - { - return -1; - } - - /** - * Returns the number of times the collection usage threshold - * has been met or exceeded by the specified pool. - * This is only called if this functionality is supported - * by the virtual machine (i.e. the appropriate property, - * <code>gnu.java.lang.management.CollectionUsageThresholdSupport</code>, - * is defined). - * - * @param name the name of the pool to obtain statistics on. - * @return the collection usage threshold count. - */ - static long getCollectionUsageThresholdCount(String name) - { - return -1; - } - - /** - * Returns an array of names of memory managers which manage - * the specified pool. - * - * @param name the name of the pool to obtain statistics on. - * @return a list of memory managers for the pool. - */ - static String[] getMemoryManagerNames(String name) - { - return new String[0]; - } - - /** - * Returns the peak usage level of the specified pool. - * This is only called if the pool is valid. - * - * @param name the name of the pool to obtain statistics on. - * @return a {@link java.lang.management.MemoryUsage} object - * containing the statistics. - */ - static MemoryUsage getPeakUsage(String name) - { - return null; - } - - /** - * Returns the type of memory used by the specified pool. - * The value must be either "HEAP" or "NON_HEAP". - * - * @param name the name of the pool to obtain statistics on. - * @return the type of the given pool. - */ - static String getType(String name) - { - return "HEAP"; - } - - /** - * Returns the current usage level of the specified pool. - * This is only called if the pool is valid. - * - * @param name the name of the pool to obtain statistics on. - * @return a {@link java.lang.management.MemoryUsage} object - * containing the statistics. - */ - static MemoryUsage getUsage(String name) - { - return null; - } - - /** - * Returns the usage threshold for the specified pool. - * This is only called if this functionality is supported - * by the virtual machine (i.e. the appropriate property, - * <code>gnu.java.lang.management.UsageThresholdSupport</code>, - * is defined). The value is initially defined by the - * virtual machine. - * - * @param name the name of the pool to obtain statistics on. - * @return the usage threshold. - */ - static long getUsageThreshold(String name) - { - return -1; - } - - /** - * Returns the number of times the usage threshold - * has been met or exceeded by the specified pool. - * This is only called if this functionality is supported - * by the virtual machine (i.e. the appropriate property, - * <code>gnu.java.lang.management.UsageThresholdSupport</code>, - * is defined). - * - * @param name the name of the pool to obtain statistics on. - * @return the usage threshold count. - */ - static long getUsageThresholdCount(String name) - { - return -1; - } - - /** - * Returns true if the specified pool is still valid i.e. - * it is still in use by the virtual machine. - * - * @param name the name of the pool to check the validity of. - * @return true if the pool is valid. - */ - static boolean isValid(String name) - { - return false; - } - - /** - * Resets the peak usage level to the current usage level for - * the specified pool. - * - * @param name the name of the pool to reset the peak usage of. - */ - static void resetPeakUsage(String name) - { - } - - /** - * Sets the collection usage threshold for the specified - * pool to the supplied value. - * This is only called if this functionality is supported - * by the virtual machine (i.e. the appropriate property, - * <code>gnu.java.lang.management.CollectionUsageThresholdSupport</code>, - * is defined). - * - * @param name the name of the pool to set the threshold of. - * @param threshold the new threshold level. - */ - static void setCollectionUsageThreshold(String name, long threshold) - { - } - - /** - * Sets the usage threshold for the specified pool to the supplied value. - * This is only called if this functionality is supported - * by the virtual machine (i.e. the appropriate property, - * <code>gnu.java.lang.management.UsageThresholdSupport</code>, - * is defined). - * - * @param name the name of the pool to set the threshold of. - * @param threshold the new threshold level. - */ - static void setUsageThreshold(String name, long threshold) - { - } - -} diff --git a/gcc-4.2.1/libjava/gnu/java/lang/management/VMRuntimeMXBeanImpl.java b/gcc-4.2.1/libjava/gnu/java/lang/management/VMRuntimeMXBeanImpl.java deleted file mode 100644 index bbfceb6ff..000000000 --- a/gcc-4.2.1/libjava/gnu/java/lang/management/VMRuntimeMXBeanImpl.java +++ /dev/null @@ -1,95 +0,0 @@ -/* VMRuntimeMXBeanImpl.java - VM implementation of an runtime bean - Copyright (C) 2006 Free Software Foundation - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - -package gnu.java.lang.management; - -import gnu.classpath.SystemProperties; - -/** - * Provides access to information about the virtual machine. - * - * @author Andrew John Hughes (gnu_andrew@member.fsf.org) - * @since 1.5 - */ -final class VMRuntimeMXBeanImpl -{ - - /** - * Returns the command-line arguments supplied - * to the virtual machine, excluding those supplied - * to <code>main()</code>. - * - * @return the command-line arguments. - */ - static String[] getInputArguments() - { - return new String[0]; - } - - /** - * Returns a developer-chosen name for the virtual - * machine, which may differ over different running - * instances of the same virtual machine binary. - * For example, this may include the particular - * process identifier used by this instance or - * the host name of the machine on which it is - * running. The intention is that this name refers - * to the precise entity that the other data supplied - * by the bean refers to, rather than the VM in general. - * - * @return the custom name of the VM. - */ - static String getName() - { - return SystemProperties.getProperty("java.vm.name") + " " + - SystemProperties.getProperty("java.vm.version"); - } - - /** - * The time in milliseconds at which the virtual - * machine was started. This method is only executed - * once (for efficency), as the value is not expected - * to change. - * - * @return the VM start time. - */ - static long getStartTime() - { - return -1; - } - -} diff --git a/gcc-4.2.1/libjava/gnu/java/lang/management/VMThreadMXBeanImpl.java b/gcc-4.2.1/libjava/gnu/java/lang/management/VMThreadMXBeanImpl.java deleted file mode 100644 index 3478372c6..000000000 --- a/gcc-4.2.1/libjava/gnu/java/lang/management/VMThreadMXBeanImpl.java +++ /dev/null @@ -1,233 +0,0 @@ -/* VMThreadMXBeanImpl.java - VM impl. of a thread bean - Copyright (C) 2006 Free Software Foundation - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - -package gnu.java.lang.management; - -import java.lang.management.ThreadInfo; - -/** - * Provides access to information about the threads - * of the virtual machine. An instance of this bean is - * obtained by calling - * {@link ManagementFactory#getThreadMXBean()}. - * See {@link java.lang.management.ThreadMXBean} for - * full documentation. - * - * @author Andrew John Hughes (gnu_andrew@member.fsf.org) - * @since 1.5 - */ -final class VMThreadMXBeanImpl -{ - - /** - * Cache of how many threads were found. - */ - private static int filled; - - /** - * Returns the ids of cycles of deadlocked threads, occurring - * due to monitor ownership. - * - * @return the ids of the deadlocked threads. - */ - static long[] findMonitorDeadlockedThreads() - { - return new long[0]; - } - - /* This is the same as in Thread.getAllStackTraces() */ - static Thread[] getAllThreads() - { - ThreadGroup group = Thread.currentThread().getThreadGroup(); - while (group.getParent() != null) - group = group.getParent(); - int arraySize = group.activeCount(); - Thread[] threadList = new Thread[arraySize]; - filled = group.enumerate(threadList); - while (filled == arraySize) - { - arraySize *= 2; - threadList = new Thread[arraySize]; - filled = group.enumerate(threadList); - } - return threadList; - } - - /** - * Returns the id of all live threads at the time of execution. - * - * @return the live thread ids. - */ - static long[] getAllThreadIds() - { - Thread[] threadList = getAllThreads(); - long[] ids = new long[filled]; - for (int a = 0; a < filled; ++a) - ids[a] = threadList[a].getId(); - return ids; - } - - /** - * Returns the number of nanoseconds of CPU time - * the current thread has used in total. This is - * only called if this feature is enabled and - * supported. - * - * @return the nanoseconds of CPU time used by - * the current thread. - */ - static long getCurrentThreadCpuTime() - { - return -1; - } - - /** - * Returns the number of nanoseconds of user time - * the current thread has used in total. This is - * only called if this feature is enabled and - * supported. - * - * @return the nanoseconds of user time used by - * the current thread. - */ - static long getCurrentThreadUserTime() - { - return -1; - } - - /** - * Returns the number of live daemon threads. - * - * @return the number of live daemon threads. - */ - static int getDaemonThreadCount() - { - Thread[] threadList = getAllThreads(); - int daemonCount = 0; - for (int a = 0; a < filled; ++a) - { - if (threadList[a].isDaemon()) - ++daemonCount; - } - return daemonCount; - } - - /** - * Returns the current peak number of live threads. - * - * @return the peak number of live threads. - */ - static int getPeakThreadCount() - { - return -1; - } - - /** - * Returns the number of live threads. - * - * @return the number of live threads. - */ - static int getThreadCount() - { - getAllThreads(); - return filled; - } - - /** - * Returns the number of nanoseconds of CPU time - * the specified thread has used in total. This is - * only called if this feature is enabled and - * supported. - * - * @param id the thread to obtain statistics on. - * @return the nanoseconds of CPU time used by - * the thread. - */ - static long getThreadCpuTime(long id) - { - return -1; - } - - /** - * Returns the {@link java.lang.management.ThreadInfo} - * which corresponds to the specified id. - * - * @param id the id of the thread. - * @param maxDepth the depth of the stack trace. - * @return the corresponding <code>ThreadInfo</code>. - */ - static ThreadInfo getThreadInfoForId(long id, int maxDepth) - { - return null; - } - - /** - * Returns the number of nanoseconds of user time - * the specified thread has used in total. This is - * only called if this feature is enabled and - * supported. - * - * @param id the thread to obtain statistics on. - * @return the nanoseconds of user time used by - * the thread. - */ - static long getThreadUserTime(long id) - { - return -1; - } - - /** - * Returns the total number of threads that have - * been started over the lifetime of the virtual - * machine. - * - * @return the total number of threads started. - */ - static long getTotalStartedThreadCount() - { - return -1; - } - - /** - * Resets the peak thread count to the current - * number of live threads. - */ - static void resetPeakThreadCount() - { - } - -} diff --git a/gcc-4.2.1/libjava/gnu/java/lang/natMainThread.cc b/gcc-4.2.1/libjava/gnu/java/lang/natMainThread.cc deleted file mode 100644 index 99d5f95ff..000000000 --- a/gcc-4.2.1/libjava/gnu/java/lang/natMainThread.cc +++ /dev/null @@ -1,61 +0,0 @@ -// natMainThread.cc - Implementation of MainThread native methods. - -/* Copyright (C) 1998, 1999, 2000, 2001, 2003, 2006 Free Software Foundation - - This file is part of libgcj. - -This software is copyrighted work licensed under the terms of the -Libgcj License. Please consult the file "LIBGCJ_LICENSE" for -details. */ - -#include <config.h> - -#include <stdio.h> -#include <stdlib.h> - -#include <gcj/cni.h> -#include <jvm.h> -#include <java-threads.h> - -#include <gnu/java/lang/MainThread.h> -#include <java/lang/Runtime.h> -#include <java/lang/ThreadGroup.h> - -typedef void main_func (jobject); - -void -gnu::java::lang::MainThread::call_main (void) -{ - Utf8Const* main_signature = _Jv_makeUtf8Const ("([Ljava.lang.String;)V", 22); - Utf8Const* main_name = _Jv_makeUtf8Const ("main", 4); - - _Jv_Method *meth = _Jv_LookupDeclaredMethod (klass, main_name, - main_signature); - - // Some checks from Java Spec section 12.1.4. - const char *msg = NULL; - if (meth == NULL) - msg = "no suitable method `main' in class"; - else if (! ::java::lang::reflect::Modifier::isStatic(meth->accflags)) - msg = "`main' must be static"; - else if (! ::java::lang::reflect::Modifier::isPublic(meth->accflags)) - msg = "`main' must be public"; - if (msg != NULL) - { - fprintf (stderr, "%s\n", msg); - ::exit(1); - } - - main_func *real_main = (main_func *) meth->ncode; - (*real_main) (args); - - // Note that we do thread cleanup here. We have to do this here and - // not in _Jv_RunMain; if we do if after the main thread has exited, - // our ThreadGroup will be null, and if Runtime.exit tries to create - // a new Thread (which it does when running shutdown hooks), it will - // eventually NPE due to this. - _Jv_ThreadWait (); - - int status = (int) ::java::lang::ThreadGroup::had_uncaught_exception; - ::java::lang::Runtime::exitNoChecksAccessor (status); -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/Calendar.java b/gcc-4.2.1/libjava/gnu/java/locale/Calendar.java deleted file mode 100644 index 28a9b602f..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/Calendar.java +++ /dev/null @@ -1,123 +0,0 @@ -/* Calendar.java -- Default Calendar locale data - Copyright (C) 1999 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package gnu.java.locale; - -import java.util.Date; -import java.util.ListResourceBundle; -import java.util.Locale; - -/** - * This class contains locale data for java.util.Calendar.<br> - * - * If you localize this to another language only set fields, that - * you change. See Calendar_de for an example. Also add your - * locale to this list of availableLocales below in this(!) file. - * - * @author Jochen Hoenicke - */ -public class Calendar extends ListResourceBundle -{ - /** - * The locales for which Calendar is localized. - */ - private static final Locale[] availableLocales = { - Locale.GERMAN, Locale.ENGLISH, new Locale("nl", "") - }; - - /** - * This is the default calendar class, that is returned on - * java.util.Calendar.getInstance(). - * @see java.util.Calendar#getInstance() - */ - private static final String calendarClass = "java.util.GregorianCalendar"; - - /** - * This is used by java.util.Calendar. - * @see java.util.Calendar#getFirstDayOfWeek() - */ - private static final Integer firstDayOfWeek - = new Integer(java.util.Calendar.SUNDAY); - /** - * This is used by java.util.Calendar. - * @see java.util.Calendar#getMinimalDaysInFirstWeek() - */ - private static final Integer minimalDaysInFirstWeek = new Integer(1); - - /** - * The point at which the Gregorian calendar rules were used. - * The default for most catholic - * countries is midnight (UTC) on October 5, 1582 (Julian), - * or October 15, 1582 (Gregorian). - * @see java.util.GregorianCalendar#getGregorianCutOver - */ - /* If you change this date be aware, that this formular does only - * work for months from MARCH to DECEMBER and doesn't work in - * leap years (look in java.util.GregorianCalendar.getDayOfYear for - * more info). - */ - private static final Date gregorianCutOver = new Date - ((24*60*60*1000L) * - (((1582*(365*4+1))/4 + - (java.util.Calendar.OCTOBER*(31+30+31+30+31) - 9) / 5 + 5) - - ((1970*(365*4+1))/4 + 1 - 13))); - - /** - * This is the object array used to hold the keys and values - * for this bundle - */ - private static final Object[][] contents = - { - { "availableLocales", availableLocales }, - { "calendarClass", calendarClass }, - { "firstDayOfWeek", firstDayOfWeek }, - { "minimalDaysInFirstWeek", minimalDaysInFirstWeek }, - { "gregorianCutOver", gregorianCutOver } - }; - - /** - * This method returns the object array of key, value pairs containing - * the data for this bundle. - * - * @return The key, value information. - */ - public Object[][] getContents() - { - return(contents); - } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/Calendar_de.java b/gcc-4.2.1/libjava/gnu/java/locale/Calendar_de.java deleted file mode 100644 index 218bef23d..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/Calendar_de.java +++ /dev/null @@ -1,71 +0,0 @@ -/* Calendar_de.java -- German calendar locale data - Copyright (C) 1999 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package gnu.java.locale; - -import java.util.Calendar; -import java.util.ListResourceBundle; - -/** - * This class contains locale data for java.util.Calendar specific for - * german language. - * @author Jochen Hoenicke - */ -public class Calendar_de extends ListResourceBundle -{ - /** - * This is the object array used to hold the keys and values - * for this bundle - */ - private static final Object[][] contents = - { - { "firstDayOfWeek", new Integer(Calendar.MONDAY) }, - { "minimalDaysInFirstWeek", new Integer(4) }, - }; - - /** - * This method returns the object array of key, value pairs containing - * the data for this bundle. - * - * @return The key, value information. - */ - public Object[][] getContents() - { - return contents; - } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/Calendar_en.java b/gcc-4.2.1/libjava/gnu/java/locale/Calendar_en.java deleted file mode 100644 index 3b1126081..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/Calendar_en.java +++ /dev/null @@ -1,69 +0,0 @@ -/* Calendar_en.java -- English calendar locale data - Copyright (C) 1999 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -/** - * This class contains locale data for java.util.Calendar specific for - * english language. - * @author Jochen Hoenicke - */ -public class Calendar_en extends ListResourceBundle -{ - /** - * This is the object array used to hold the keys and values - * for this bundle - */ - private static final Object[][] contents = - { - /* Use default values. */ - }; - - /** - * This method returns the object array of key, value pairs containing - * the data for this bundle. - * - * @return The key, value information. - */ - public Object[][] getContents() - { - return contents; - } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/Calendar_nl.java b/gcc-4.2.1/libjava/gnu/java/locale/Calendar_nl.java deleted file mode 100644 index 1e366746a..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/Calendar_nl.java +++ /dev/null @@ -1,74 +0,0 @@ -/* Calendar_nl.java -- Dutch calendar locale data - Copyright (C) 1999 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package gnu.java.locale; - -import java.util.Calendar; -import java.util.ListResourceBundle; - -/** - * This class contains locale data for java.util.Calendar specific for - * dutch language. - * @author Mark Wielaard - */ -public class Calendar_nl extends ListResourceBundle -{ - /** - * This is the object array used to hold the keys and values - * for this bundle - */ - private static final Object[][] contents = - { - { "firstDayOfWeek", new Integer(Calendar.MONDAY) }, - - /* XXX - I guess the default for gregorianCutover - * is also true for the Netherlands. But is it? - */ - }; - - /** - * This method returns the object array of key, value pairs containing - * the data for this bundle. - * - * @return The key, value information. - */ - public Object[][] getContents() - { - return contents; - } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation.java deleted file mode 100644 index 35431f1a6..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation.java +++ /dev/null @@ -1,47 +0,0 @@ -/* LocaleInformation.java -- Default locale information - Copyright (C) 1998, 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package gnu.java.locale; - -/** - * This is the resource bundle for the default locale, which right now is - * hardcoded to US English. - */ -public class LocaleInformation extends LocaleInformation_en -{ -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_af_ZA.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_af_ZA.java deleted file mode 100644 index 920bd4c19..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_af_ZA.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_af_ZA.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_af_ZA extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = "."; - static final String numberFormat = "#,###,##0.###"; - static final String percentFormat = "#,###,##0%"; - static final String[] weekdays = { null, "Sondag", "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrydag", "Saterdag" }; - - static final String[] shortWeekdays = { null, "So", "Ma", "Di", "Wo", "Do", "Vr", "Sa" }; - - static final String[] shortMonths = { "Jan", "Feb", "Mar", "Apr", "Mei", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Des", null }; - - static final String[] months = { "Januarie", "Februarie", "Maart", "April", "Mei", "Junie", "Julie", "Augustus", "September", "Oktober", "November", "Desember", null }; - - static final String[] ampms = { "VM", "NM" }; - - static final String shortDateFormat = "dd/MM/yy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "R"; - static final String intlCurrencySymbol = "ZAR"; - static final String currencyFormat = "$#,###,##0.00;-$#,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_AE.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_AE.java deleted file mode 100644 index 6420fe4e9..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_AE.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_ar_AE.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_ar_AE extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ","; - static final String numberFormat = "#,##0.###"; - static final String percentFormat = "#,##0%"; - static final String[] weekdays = { null, "\u0627\u0644\u0623\u062D\u062F", "\u0627\u0644\u0627\u062B\u0646\u064A\u0646", "\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621", "\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621", "\u0627\u0644\u062E\u0645\u064A\u0633", "\u0627\u0644\u062C\u0645\u0639\u0629", "\u0627\u0644\u0633\u0628\u062A " }; - - static final String[] shortWeekdays = { null, "\u062D", "\u0646", "\u062B", "\u0631", "\u062E", "\u062C", "\u0633" }; - - static final String[] shortMonths = { "\u064A\u0646\u0627", "\u0641\u0628\u0631", "\u0645\u0627\u0631", "\u0623\u0628\u0631", "\u0645\u0627\u064A", "\u064A\u0648\u0646", "\u064A\u0648\u0644", "\u0623\u063A\u0633", "\u0633\u0628\u062A", "\u0623\u0643\u062A", "\u0646\u0648\u0641", "\u062F\u064A\u0633", null }; - - static final String[] months = { "\u064A\u0646\u0627\u064A\u0631", "\u0641\u0628\u0631\u0627\u064A\u0631", "\u0645\u0627\u0631\u0633", "\u0623\u0628\u0631\u064A\u0644", "\u0645\u0627\u064A\u0648", "\u064A\u0648\u0646\u064A\u0648", "\u064A\u0648\u0644\u064A\u0648", "\u0623\u063A\u0633\u0637\u0633", "\u0633\u0628\u062A\u0645\u0628\u0631", "\u0623\u0643\u062A\u0648\u0628\u0631", "\u0646\u0648\u0641\u0645\u0628\u0631", "\u062F\u064A\u0633\u0645\u0628\u0631", null }; - - static final String[] ampms = { "\u0635", "\u0645" }; - - static final String shortDateFormat = "dd MMM, yyyy"; - static final String defaultTimeFormat = "z hh:m:s a"; - static final String currencySymbol = "\u062F.\u0625."; - static final String intlCurrencySymbol = "AED"; - static final String currencyFormat = "$ #,##0.000;$ #,##0.000-"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_BH.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_BH.java deleted file mode 100644 index e93bfab66..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_BH.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_ar_BH.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_ar_BH extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ","; - static final String numberFormat = "#,##0.###"; - static final String percentFormat = "#,##0%"; - static final String[] weekdays = { null, "\u0627\u0644\u0623\u062D\u062F", "\u0627\u0644\u0627\u062B\u0646\u064A\u0646", "\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621", "\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621", "\u0627\u0644\u062E\u0645\u064A\u0633", "\u0627\u0644\u062C\u0645\u0639\u0629", "\u0627\u0644\u0633\u0628\u062A" }; - - static final String[] shortWeekdays = { null, "\u062D", "\u0646", "\u062B", "\u0631", "\u062E", "\u062C", "\u0633" }; - - static final String[] shortMonths = { "\u064A\u0646\u0627", "\u0641\u0628\u0631", "\u0645\u0627\u0631", "\u0623\u0628\u0631", "\u0645\u0627\u064A", "\u064A\u0648\u0646", "\u064A\u0648\u0644", "\u0623\u063A\u0633", "\u0633\u0628\u062A", "\u0623\u0643\u062A", "\u0646\u0648\u0641", "\u062F\u064A\u0633", null }; - - static final String[] months = { "\u064A\u0646\u0627\u064A\u0631", "\u0641\u0628\u0631\u0627\u064A\u0631", "\u0645\u0627\u0631\u0633", "\u0623\u0628\u0631\u064A\u0644", "\u0645\u0627\u064A\u0648", "\u064A\u0648\u0646\u064A\u0648", "\u064A\u0648\u0644\u064A\u0648", "\u0623\u063A\u0633\u0637\u0633", "\u0633\u0628\u062A\u0645\u0628\u0631", "\u0623\u0643\u062A\u0648\u0628\u0631", "\u0646\u0648\u0641\u0645\u0628\u0631", "\u062F\u064A\u0633\u0645\u0628\u0631", null }; - - static final String[] ampms = { "\u0635", "\u0645" }; - - static final String shortDateFormat = "dd MMM, yyyy"; - static final String defaultTimeFormat = "z hh:m:s a"; - static final String currencySymbol = "\u062F.\u0628."; - static final String intlCurrencySymbol = "BHD"; - static final String currencyFormat = "$ #,##0.000;$ #,##0.000-"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_DZ.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_DZ.java deleted file mode 100644 index 66f34bf41..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_DZ.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_ar_DZ.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_ar_DZ extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ","; - static final String numberFormat = "#,##0.###"; - static final String percentFormat = "#,##0%"; - static final String[] weekdays = { null, "\u0627\u0644\u0623\u062D\u062F", "\u0627\u0644\u0627\u062B\u0646\u064A\u0646", "\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621", "\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621", "\u0627\u0644\u062E\u0645\u064A\u0633", "\u0627\u0644\u062C\u0645\u0639\u0629", "\u0627\u0644\u0633\u0628\u062A" }; - - static final String[] shortWeekdays = { null, "\u062D", "\u0646", "\u062B", "\u0631", "\u062E", "\u062C", "\u0633" }; - - static final String[] shortMonths = { "\u064A\u0646\u0627", "\u0641\u0628\u0631", "\u0645\u0627\u0631", "\u0623\u0628\u0631", "\u0645\u0627\u064A", "\u064A\u0648\u0646", "\u064A\u0648\u0644", "\u0623\u063A\u0633", "\u0633\u0628\u062A", "\u0623\u0643\u062A", "\u0646\u0648\u0641", "\u062F\u064A\u0633", null }; - - static final String[] months = { "\u064A\u0646\u0627\u064A\u0631", "\u0641\u0628\u0631\u0627\u064A\u0631", "\u0645\u0627\u0631\u0633", "\u0623\u0628\u0631\u064A\u0644", "\u0645\u0627\u064A\u0648", "\u064A\u0648\u0646\u064A\u0648", "\u064A\u0648\u0644\u064A\u0648", "\u0623\u063A\u0633\u0637\u0633", "\u0633\u0628\u062A\u0645\u0628\u0631", "\u0623\u0643\u062A\u0648\u0628\u0631", "\u0646\u0648\u0641\u0645\u0628\u0631", "\u062F\u064A\u0633\u0645\u0628\u0631", null }; - - static final String[] ampms = { "\u0635", "\u0645" }; - - static final String shortDateFormat = "dd MMM, yyyy"; - static final String defaultTimeFormat = "z hh:m:s a"; - static final String currencySymbol = "\u062F.\u062C."; - static final String intlCurrencySymbol = "DZD"; - static final String currencyFormat = "$ #,##0.000;$ #,##0.000-"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_EG.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_EG.java deleted file mode 100644 index 019670250..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_EG.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_ar_EG.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_ar_EG extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ","; - static final String numberFormat = "#,##0.###"; - static final String percentFormat = "#,##0%"; - static final String[] weekdays = { null, "\u0627\u0644\u0623\u062D\u062F", "\u0627\u0644\u0627\u062B\u0646\u064A\u0646", "\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621", "\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621", "\u0627\u0644\u062E\u0645\u064A\u0633", "\u0627\u0644\u062C\u0645\u0639\u0629", "\u0627\u0644\u0633\u0628\u062A" }; - - static final String[] shortWeekdays = { null, "\u062D", "\u0646", "\u062B", "\u0631", "\u062E", "\u062C", "\u0633" }; - - static final String[] shortMonths = { "\u064A\u0646\u0627", "\u0641\u0628\u0631", "\u0645\u0627\u0631", "\u0623\u0628\u0631", "\u0645\u0627\u064A", "\u064A\u0648\u0646", "\u064A\u0648\u0644", "\u0623\u063A\u0633", "\u0633\u0628\u062A", "\u0623\u0643\u062A", "\u0646\u0648\u0641", "\u062F\u064A\u0633", null }; - - static final String[] months = { "\u064A\u0646\u0627\u064A\u0631", "\u0641\u0628\u0631\u0627\u064A\u0631", "\u0645\u0627\u0631\u0633", "\u0623\u0628\u0631\u064A\u0644", "\u0645\u0627\u064A\u0648", "\u064A\u0648\u0646\u064A\u0648", "\u064A\u0648\u0644\u064A\u0648", "\u0623\u063A\u0633\u0637\u0633", "\u0633\u0628\u062A\u0645\u0628\u0631", "\u0623\u0643\u062A\u0648\u0628\u0631", "\u0646\u0648\u0641\u0645\u0628\u0631", "\u062F\u064A\u0633\u0645\u0628\u0631", null }; - - static final String[] ampms = { "\u0635", "\u0645" }; - - static final String shortDateFormat = "dd MMM, yyyy"; - static final String defaultTimeFormat = "z hh:m:s a"; - static final String currencySymbol = "\u062C.\u0645."; - static final String intlCurrencySymbol = "EGP"; - static final String currencyFormat = "$ #,##0.000;$ #,##0.000-"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_IN.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_IN.java deleted file mode 100644 index ed3bb890c..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_IN.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_ar_IN.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_ar_IN extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ","; - static final String numberFormat = "#,##,##0.###"; - static final String percentFormat = "#,##,##0%"; - static final String[] weekdays = { null, "\u0627\u0644\u0623\u062D\u062F", "\u0627\u0644\u0627\u062B\u0646\u064A\u0646", "\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621", "\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621", "\u0627\u0644\u062E\u0645\u064A\u0633", "\u0627\u0644\u062C\u0645\u0639\u0629", "\u0627\u0644\u0633\u0628\u062A" }; - - static final String[] shortWeekdays = { null, "\u062D", "\u0646", "\u062B", "\u0631", "\u062E", "\u062C", "\u0633" }; - - static final String[] shortMonths = { "\u064A\u0646\u0627", "\u0641\u0628\u0631", "\u0645\u0627\u0631", "\u0623\u0628\u0631", "\u0645\u0627\u064A", "\u064A\u0648\u0646", "\u064A\u0648\u0644", "\u0623\u063A\u0633", "\u0633\u0628\u062A", "\u0623\u0643\u062A", "\u0646\u0648\u0641", "\u062F\u064A\u0633", null }; - - static final String[] months = { "\u064A\u0646\u0627\u064A\u0631", "\u0641\u0628\u0631\u0627\u064A\u0631", "\u0645\u0627\u0631\u0633", "\u0623\u0628\u0631\u064A\u0644", "\u0645\u0627\u064A\u0648", "\u064A\u0648\u0646\u064A\u0648", "\u064A\u0648\u0644\u064A\u0648", "\u0623\u063A\u0633\u0637\u0633", "\u0633\u0628\u062A\u0645\u0628\u0631", "\u0623\u0643\u062A\u0648\u0628\u0631", "\u0646\u0648\u0641\u0645\u0628\u0631", "\u062F\u064A\u0633\u0645\u0628\u0631", null }; - - static final String[] ampms = { "\u0635", "\u0645" }; - - static final String shortDateFormat = "EEEE dd MMMM yyyy"; - static final String defaultTimeFormat = "hh:m:s a z"; - static final String currencySymbol = "\u20A8"; - static final String intlCurrencySymbol = "INR"; - static final String currencyFormat = "$ #,##,##0.00;-$ #,##,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_IQ.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_IQ.java deleted file mode 100644 index 39b5c3d4e..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_IQ.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_ar_IQ.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_ar_IQ extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ","; - static final String numberFormat = "#,##0.###"; - static final String percentFormat = "#,##0%"; - static final String[] weekdays = { null, "\u0627\u0644\u0623\u062D\u062F", "\u0627\u0644\u0627\u062B\u0646\u064A\u0646", "\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621", "\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621", "\u0627\u0644\u062E\u0645\u064A\u0633", "\u0627\u0644\u062C\u0645\u0639\u0629", "\u0627\u0644\u0633\u0628\u062A" }; - - static final String[] shortWeekdays = { null, "\u062D", "\u0646", "\u062B", "\u0631", "\u062E", "\u062C", "\u0633" }; - - static final String[] shortMonths = { "\u064A\u0646\u0627", "\u0641\u0628\u0631", "\u0645\u0627\u0631", "\u0623\u0628\u0631", "\u0645\u0627\u064A", "\u064A\u0648\u0646", "\u064A\u0648\u0644", "\u0623\u063A\u0633", "\u0633\u0628\u062A", "\u0623\u0643\u062A", "\u0646\u0648\u0641", "\u062F\u064A\u0633", null }; - - static final String[] months = { "\u064A\u0646\u0627\u064A\u0631", "\u0641\u0628\u0631\u0627\u064A\u0631", "\u0645\u0627\u0631\u0633", "\u0623\u0628\u0631\u064A\u0644", "\u0645\u0627\u064A\u0648", "\u064A\u0648\u0646\u064A\u0648", "\u064A\u0648\u0644\u064A\u0648", "\u0623\u063A\u0633\u0637\u0633", "\u0633\u0628\u062A\u0645\u0628\u0631", "\u0623\u0643\u062A\u0648\u0628\u0631", "\u0646\u0648\u0641\u0645\u0628\u0631", "\u062F\u064A\u0633\u0645\u0628\u0631", null }; - - static final String[] ampms = { "\u0635", "\u0645" }; - - static final String shortDateFormat = "dd MMM, yyyy"; - static final String defaultTimeFormat = "z hh:m:s a"; - static final String currencySymbol = "\u062F.\u0639."; - static final String intlCurrencySymbol = "IQD"; - static final String currencyFormat = "$ #,##0.000;$ #,##0.000-"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_JO.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_JO.java deleted file mode 100644 index 59dd2cae3..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_JO.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_ar_JO.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_ar_JO extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ","; - static final String numberFormat = "#,##0.###"; - static final String percentFormat = "#,##0%"; - static final String[] weekdays = { null, "\u0627\u0644\u0623\u062D\u062F", "\u0627\u0644\u0627\u062B\u0646\u064A\u0646", "\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621", "\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621", "\u0627\u0644\u062E\u0645\u064A\u0633", "\u0627\u0644\u062C\u0645\u0639\u0629", "\u0627\u0644\u0633\u0628\u062A" }; - - static final String[] shortWeekdays = { null, "\u0627\u0644\u0623\u062D\u062F", "\u0627\u0644\u0627\u062B\u0646\u064A\u0646", "\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621", "\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621", "\u0627\u0644\u062E\u0645\u064A\u0633", "\u0627\u0644\u062C\u0645\u0639\u0629", "\u0627\u0644\u0633\u0628\u062A" }; - - static final String[] shortMonths = { "\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u062B\u0627\u0646\u064A", "\u0634\u0628\u0627\u0637", "\u0622\u0630\u0627\u0631", "\u0646\u064A\u0633\u0627\u0646", "\u0646\u0648\u0627\u0631", "\u062D\u0632\u064A\u0631\u0627\u0646", "\u062A\u0645\u0648\u0632", "\u0622\u0628", "\u0623\u064A\u0644\u0648\u0644", "\u062A\u0634\u0631\u064A\u0646 \u0627\u0644\u0623\u0648\u0644", "\u062A\u0634\u0631\u064A\u0646 \u0627\u0644\u062B\u0627\u0646\u064A", "\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u0623\u0648\u0644", null }; - - static final String[] months = { "\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u062B\u0627\u0646\u064A", "\u0634\u0628\u0627\u0637", "\u0622\u0630\u0627\u0631", "\u0646\u064A\u0633\u0627\u0646", "\u0646\u0648\u0627\u0631", "\u062D\u0632\u064A\u0631\u0627\u0646", "\u062A\u0645\u0648\u0632", "\u0622\u0628", "\u0623\u064A\u0644\u0648\u0644", "\u062A\u0634\u0631\u064A\u0646 \u0627\u0644\u0623\u0648\u0644", "\u062A\u0634\u0631\u064A\u0646 \u0627\u0644\u062B\u0627\u0646\u064A", "\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u0623\u0648\u0644", null }; - - static final String[] ampms = { "\u0635", "\u0645" }; - - static final String shortDateFormat = "dd MMM, yyyy"; - static final String defaultTimeFormat = "z hh:m:s a"; - static final String currencySymbol = "\u062F.\u0623."; - static final String intlCurrencySymbol = "JOD"; - static final String currencyFormat = "$ #,##0.000;$ #,##0.000-"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_KW.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_KW.java deleted file mode 100644 index a0def9fd1..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_KW.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_ar_KW.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_ar_KW extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ","; - static final String numberFormat = "#,##0.###"; - static final String percentFormat = "#,##0%"; - static final String[] weekdays = { null, "\u0627\u0644\u0623\u062D\u062F", "\u0627\u0644\u0627\u062B\u0646\u064A\u0646", "\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621", "\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621", "\u0627\u0644\u062E\u0645\u064A\u0633", "\u0627\u0644\u062C\u0645\u0639\u0629", "\u0627\u0644\u0633\u0628\u062A" }; - - static final String[] shortWeekdays = { null, "\u062D", "\u0646", "\u062B", "\u0631", "\u062E", "\u062C", "\u0633" }; - - static final String[] shortMonths = { "\u064A\u0646\u0627", "\u0641\u0628\u0631", "\u0645\u0627\u0631", "\u0623\u0628\u0631", "\u0645\u0627\u064A", "\u064A\u0648\u0646", "\u064A\u0648\u0644", "\u0623\u063A\u0633", "\u0633\u0628\u062A", "\u0623\u0643\u062A", "\u0646\u0648\u0641", "\u062F\u064A\u0633", null }; - - static final String[] months = { "\u064A\u0646\u0627\u064A\u0631", "\u0641\u0628\u0631\u0627\u064A\u0631", "\u0645\u0627\u0631\u0633", "\u0623\u0628\u0631\u064A\u0644", "\u0645\u0627\u064A\u0648", "\u064A\u0648\u0646\u064A\u0648", "\u064A\u0648\u0644\u064A\u0648", "\u0623\u063A\u0633\u0637\u0633", "\u0633\u0628\u062A\u0645\u0628\u0631", "\u0623\u0643\u062A\u0648\u0628\u0631", "\u0646\u0648\u0641\u0645\u0628\u0631", "\u062F\u064A\u0633\u0645\u0628\u0631", null }; - - static final String[] ampms = { "\u0635", "\u0645" }; - - static final String shortDateFormat = "dd MMM, yyyy"; - static final String defaultTimeFormat = "z hh:m:s a"; - static final String currencySymbol = "\u062F.\u0643."; - static final String intlCurrencySymbol = "KWD"; - static final String currencyFormat = "$ #,##0.000;$ #,##0.000-"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_LB.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_LB.java deleted file mode 100644 index dff773e36..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_LB.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_ar_LB.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_ar_LB extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ","; - static final String numberFormat = "#,##0.###"; - static final String percentFormat = "#,##0%"; - static final String[] weekdays = { null, "\u0627\u0644\u0623\u062D\u062F", "\u0627\u0644\u0627\u062B\u0646\u064A\u0646", "\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621", "\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621", "\u0627\u0644\u062E\u0645\u064A\u0633", "\u0627\u0644\u062C\u0645\u0639\u0629", "\u0627\u0644\u0633\u0628\u062A" }; - - static final String[] shortWeekdays = { null, "\u0627\u0644\u0623\u062D\u062F", "\u0627\u0644\u0627\u062B\u0646\u064A\u0646", "\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621", "\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621", "\u0627\u0644\u062E\u0645\u064A\u0633", "\u0627\u0644\u062C\u0645\u0639\u0629", "\u0627\u0644\u0633\u0628\u062A" }; - - static final String[] shortMonths = { "\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u062B\u0627\u0646\u064A", "\u0634\u0628\u0627\u0637", "\u0622\u0630\u0627\u0631", "\u0646\u064A\u0633\u0627\u0646", "\u0646\u0648\u0627\u0631", "\u062D\u0632\u064A\u0631\u0627\u0646", "\u062A\u0645\u0648\u0632", "\u0622\u0628", "\u0623\u064A\u0644\u0648\u0644", "\u062A\u0634\u0631\u064A\u0646 \u0627\u0644\u0623\u0648\u0644", "\u062A\u0634\u0631\u064A\u0646 \u0627\u0644\u062B\u0627\u0646\u064A", "\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u0623\u0648\u0644", null }; - - static final String[] months = { "\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u062B\u0627\u0646\u064A", "\u0634\u0628\u0627\u0637", "\u0622\u0630\u0627\u0631", "\u0646\u064A\u0633\u0627\u0646", "\u0646\u0648\u0627\u0631", "\u062D\u0632\u064A\u0631\u0627\u0646", "\u062A\u0645\u0648\u0632", "\u0622\u0628", "\u0623\u064A\u0644\u0648\u0644", "\u062A\u0634\u0631\u064A\u0646 \u0627\u0644\u0623\u0648\u0644", "\u062A\u0634\u0631\u064A\u0646 \u0627\u0644\u062B\u0627\u0646\u064A", "\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u0623\u0648\u0644", null }; - - static final String[] ampms = { "\u0635", "\u0645" }; - - static final String shortDateFormat = "dd MMM, yyyy"; - static final String defaultTimeFormat = "z hh:m:s a"; - static final String currencySymbol = "\u0644.\u0644."; - static final String intlCurrencySymbol = "LBP"; - static final String currencyFormat = "$ #,##0.000;$ #,##0.000-"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_LY.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_LY.java deleted file mode 100644 index 981f2cba2..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_LY.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_ar_LY.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_ar_LY extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ","; - static final String numberFormat = "#,##0.###"; - static final String percentFormat = "#,##0%"; - static final String[] weekdays = { null, "\u0627\u0644\u0623\u062D\u062F", "\u0627\u0644\u0627\u062B\u0646\u064A\u0646", "\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621", "\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621", "\u0627\u0644\u062E\u0645\u064A\u0633", "\u0627\u0644\u062C\u0645\u0639\u0629", "\u0627\u0644\u0633\u0628\u062A" }; - - static final String[] shortWeekdays = { null, "\u062D", "\u0646", "\u062B", "\u0631", "\u062E", "\u062C", "\u0633" }; - - static final String[] shortMonths = { "\u064A\u0646\u0627", "\u0641\u0628\u0631", "\u0645\u0627\u0631", "\u0623\u0628\u0631", "\u0645\u0627\u064A", "\u064A\u0648\u0646", "\u064A\u0648\u0644", "\u0623\u063A\u0633", "\u0633\u0628\u062A", "\u0623\u0643\u062A", "\u0646\u0648\u0641", "\u062F\u064A\u0633", null }; - - static final String[] months = { "\u064A\u0646\u0627\u064A\u0631", "\u0641\u0628\u0631\u0627\u064A\u0631", "\u0645\u0627\u0631\u0633", "\u0623\u0628\u0631\u064A\u0644", "\u0645\u0627\u064A\u0648", "\u064A\u0648\u0646\u064A\u0648", "\u064A\u0648\u0644\u064A\u0648", "\u0623\u063A\u0633\u0637\u0633", "\u0633\u0628\u062A\u0645\u0628\u0631", "\u0623\u0643\u062A\u0648\u0628\u0631", "\u0646\u0648\u0641\u0645\u0628\u0631", "\u062F\u064A\u0633\u0645\u0628\u0631", null }; - - static final String[] ampms = { "\u0635", "\u0645" }; - - static final String shortDateFormat = "dd MMM, yyyy"; - static final String defaultTimeFormat = "z hh:m:s a"; - static final String currencySymbol = "\u062F.\u0644."; - static final String intlCurrencySymbol = "LYD"; - static final String currencyFormat = "$ #,##0.000;$ #,##0.000-"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_MA.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_MA.java deleted file mode 100644 index 6799b0ac4..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_MA.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_ar_MA.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_ar_MA extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ","; - static final String numberFormat = "#,##0.###"; - static final String percentFormat = "#,##0%"; - static final String[] weekdays = { null, "\u0627\u0644\u0623\u062D\u062F", "\u0627\u0644\u0627\u062B\u0646\u064A\u0646", "\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621", "\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621", "\u0627\u0644\u062E\u0645\u064A\u0633", "\u0627\u0644\u062C\u0645\u0639\u0629", "\u0627\u0644\u0633\u0628\u062A" }; - - static final String[] shortWeekdays = { null, "\u062D", "\u0646", "\u062B", "\u0631", "\u062E", "\u062C", "\u0633" }; - - static final String[] shortMonths = { "\u064A\u0646\u0627", "\u0641\u0628\u0631", "\u0645\u0627\u0631", "\u0623\u0628\u0631", "\u0645\u0627\u064A", "\u064A\u0648\u0646", "\u064A\u0648\u0644", "\u0623\u063A\u0633", "\u0633\u0628\u062A", "\u0623\u0643\u062A", "\u0646\u0648\u0641", "\u062F\u064A\u0633", null }; - - static final String[] months = { "\u064A\u0646\u0627\u064A\u0631", "\u0641\u0628\u0631\u0627\u064A\u0631", "\u0645\u0627\u0631\u0633", "\u0623\u0628\u0631\u064A\u0644", "\u0645\u0627\u064A\u0648", "\u064A\u0648\u0646\u064A\u0648", "\u064A\u0648\u0644\u064A\u0648", "\u0623\u063A\u0633\u0637\u0633", "\u0633\u0628\u062A\u0645\u0628\u0631", "\u0623\u0643\u062A\u0648\u0628\u0631", "\u0646\u0648\u0641\u0645\u0628\u0631", "\u062F\u064A\u0633\u0645\u0628\u0631", null }; - - static final String[] ampms = { "\u0635", "\u0645" }; - - static final String shortDateFormat = "dd MMM, yyyy"; - static final String defaultTimeFormat = "z hh:m:s a"; - static final String currencySymbol = "\u062F.\u0645."; - static final String intlCurrencySymbol = "MAD"; - static final String currencyFormat = "$ #,##0.000;$ #,##0.000-"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_OM.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_OM.java deleted file mode 100644 index 123810867..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_OM.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_ar_OM.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_ar_OM extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ","; - static final String numberFormat = "#,##0.###"; - static final String percentFormat = "#,##0%"; - static final String[] weekdays = { null, "\u0627\u0644\u0623\u062D\u062F", "\u0627\u0644\u0627\u062B\u0646\u064A\u0646", "\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621", "\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621", "\u0627\u0644\u062E\u0645\u064A\u0633", "\u0627\u0644\u062C\u0645\u0639\u0629", "\u0627\u0644\u0633\u0628\u062A" }; - - static final String[] shortWeekdays = { null, "\u062D", "\u0646", "\u062B", "\u0631", "\u062E", "\u062C", "\u0633" }; - - static final String[] shortMonths = { "\u064A\u0646\u0627", "\u0641\u0628\u0631", "\u0645\u0627\u0631", "\u0623\u0628\u0631", "\u0645\u0627\u064A", "\u064A\u0648\u0646", "\u064A\u0648\u0644", "\u0623\u063A\u0633", "\u0633\u0628\u062A", "\u0623\u0643\u062A", "\u0646\u0648\u0641", "\u062F\u064A\u0633", null }; - - static final String[] months = { "\u064A\u0646\u0627\u064A\u0631", "\u0641\u0628\u0631\u0627\u064A\u0631", "\u0645\u0627\u0631\u0633", "\u0623\u0628\u0631\u064A\u0644", "\u0645\u0627\u064A\u0648", "\u064A\u0648\u0646\u064A\u0648", "\u064A\u0648\u0644\u064A\u0648", "\u0623\u063A\u0633\u0637\u0633", "\u0633\u0628\u062A\u0645\u0628\u0631", "\u0623\u0643\u062A\u0648\u0628\u0631", "\u0646\u0648\u0641\u0645\u0628\u0631", "\u062F\u064A\u0633\u0645\u0628\u0631", null }; - - static final String[] ampms = { "\u0635", "\u0645" }; - - static final String shortDateFormat = "dd MMM, yyyy"; - static final String defaultTimeFormat = "z hh:m:s a"; - static final String currencySymbol = "\u0631.\u0639."; - static final String intlCurrencySymbol = "OMR"; - static final String currencyFormat = "$ #,##0.000;$ #,##0.000-"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_QA.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_QA.java deleted file mode 100644 index 71a6955ee..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_QA.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_ar_QA.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_ar_QA extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ","; - static final String numberFormat = "#,##0.###"; - static final String percentFormat = "#,##0%"; - static final String[] weekdays = { null, "\u0627\u0644\u0623\u062D\u062F", "\u0627\u0644\u0627\u062B\u0646\u064A\u0646", "\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621", "\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621", "\u0627\u0644\u062E\u0645\u064A\u0633", "\u0627\u0644\u062C\u0645\u0639\u0629", "\u0627\u0644\u0633\u0628\u062A" }; - - static final String[] shortWeekdays = { null, "\u062D", "\u0646", "\u062B", "\u0631", "\u062E", "\u062C", "\u0633" }; - - static final String[] shortMonths = { "\u064A\u0646\u0627", "\u0641\u0628\u0631", "\u0645\u0627\u0631", "\u0623\u0628\u0631", "\u0645\u0627\u064A", "\u064A\u0648\u0646", "\u064A\u0648\u0644", "\u0623\u063A\u0633", "\u0633\u0628\u062A", "\u0623\u0643\u062A", "\u0646\u0648\u0641", "\u062F\u064A\u0633", null }; - - static final String[] months = { "\u064A\u0646\u0627\u064A\u0631", "\u0641\u0628\u0631\u0627\u064A\u0631", "\u0645\u0627\u0631\u0633", "\u0623\u0628\u0631\u064A\u0644", "\u0645\u0627\u064A\u0648", "\u064A\u0648\u0646\u064A\u0648", "\u064A\u0648\u0644\u064A\u0648", "\u0623\u063A\u0633\u0637\u0633", "\u0633\u0628\u062A\u0645\u0628\u0631", "\u0623\u0643\u062A\u0648\u0628\u0631", "\u0646\u0648\u0641\u0645\u0628\u0631", "\u062F\u064A\u0633\u0645\u0628\u0631", null }; - - static final String[] ampms = { "\u0635", "\u0645" }; - - static final String shortDateFormat = "dd MMM, yyyy"; - static final String defaultTimeFormat = "z hh:m:s a"; - static final String currencySymbol = "\u0631.\u0642."; - static final String intlCurrencySymbol = "QAR"; - static final String currencyFormat = "$ #,##0.000;$ #,##0.000-"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_SD.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_SD.java deleted file mode 100644 index ef0b8e678..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_SD.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_ar_SD.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_ar_SD extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ","; - static final String numberFormat = "#,##0.###"; - static final String percentFormat = "#,##0%"; - static final String[] weekdays = { null, "\u0627\u0644\u0623\u062D\u062F", "\u0627\u0644\u0627\u062B\u0646\u064A\u0646", "\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621", "\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621", "\u0627\u0644\u062E\u0645\u064A\u0633", "\u0627\u0644\u062C\u0645\u0639\u0629", "\u0627\u0644\u0633\u0628\u062A" }; - - static final String[] shortWeekdays = { null, "\u062D", "\u0646", "\u062B", "\u0631", "\u062E", "\u062C", "\u0633" }; - - static final String[] shortMonths = { "\u064A\u0646\u0627", "\u0641\u0628\u0631", "\u0645\u0627\u0631", "\u0623\u0628\u0631", "\u0645\u0627\u064A", "\u064A\u0648\u0646", "\u064A\u0648\u0644", "\u0623\u063A\u0633", "\u0633\u0628\u062A", "\u0623\u0643\u062A", "\u0646\u0648\u0641", "\u062F\u064A\u0633", null }; - - static final String[] months = { "\u064A\u0646\u0627\u064A\u0631", "\u0641\u0628\u0631\u0627\u064A\u0631", "\u0645\u0627\u0631\u0633", "\u0623\u0628\u0631\u064A\u0644", "\u0645\u0627\u064A\u0648", "\u064A\u0648\u0646\u064A\u0648", "\u064A\u0648\u0644\u064A\u0648", "\u0623\u063A\u0633\u0637\u0633", "\u0633\u0628\u062A\u0645\u0628\u0631", "\u0623\u0643\u062A\u0648\u0628\u0631", "\u0646\u0648\u0641\u0645\u0628\u0631", "\u062F\u064A\u0633\u0645\u0628\u0631", null }; - - static final String[] ampms = { "\u0635", "\u0645" }; - - static final String shortDateFormat = "dd MMM, yyyy"; - static final String defaultTimeFormat = "z hh:m:s a"; - static final String currencySymbol = "\u062C.\u0633."; - static final String intlCurrencySymbol = "SDP"; - static final String currencyFormat = "$ #,##0.000;$ #,##0.000-"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_SY.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_SY.java deleted file mode 100644 index 7451981a8..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_SY.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_ar_SY.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_ar_SY extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ","; - static final String numberFormat = "#,##0.###"; - static final String percentFormat = "#,##0%"; - static final String[] weekdays = { null, "\u0627\u0644\u0623\u062D\u062F", "\u0627\u0644\u0627\u062B\u0646\u064A\u0646", "\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621", "\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621", "\u0627\u0644\u062E\u0645\u064A\u0633", "\u0627\u0644\u062C\u0645\u0639\u0629", "\u0627\u0644\u0633\u0628\u062A" }; - - static final String[] shortWeekdays = { null, "\u0627\u0644\u0623\u062D\u062F", "\u0627\u0644\u0627\u062B\u0646\u064A\u0646", "\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621", "\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621", "\u0627\u0644\u062E\u0645\u064A\u0633", "\u0627\u0644\u062C\u0645\u0639\u0629", "\u0627\u0644\u0633\u0628\u062A" }; - - static final String[] shortMonths = { "\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u062B\u0627\u0646\u064A", "\u0634\u0628\u0627\u0637", "\u0622\u0630\u0627\u0631", "\u0646\u064A\u0633\u0627\u0646", "\u0646\u0648\u0627\u0631", "\u062D\u0632\u064A\u0631\u0627\u0646", "\u062A\u0645\u0648\u0632", "\u0622\u0628", "\u0623\u064A\u0644\u0648\u0644", "\u062A\u0634\u0631\u064A\u0646 \u0627\u0644\u0623\u0648\u0644", "\u062A\u0634\u0631\u064A\u0646 \u0627\u0644\u062B\u0627\u0646\u064A", "\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u0623\u0648\u0644", null }; - - static final String[] months = { "\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u062B\u0627\u0646\u064A", "\u0634\u0628\u0627\u0637", "\u0622\u0630\u0627\u0631", "\u0646\u064A\u0633\u0627\u0646", "\u0646\u0648\u0627\u0631\u0627\u0646", "\u062D\u0632\u064A\u0631", "\u062A\u0645\u0648\u0632", "\u0622\u0628", "\u0623\u064A\u0644\u0648\u0644", "\u062A\u0634\u0631\u064A\u0646 \u0627\u0644\u0623\u0648\u0644", "\u062A\u0634\u0631\u064A\u0646 \u0627\u0644\u062B\u0627\u0646\u064A", "\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u0623\u0648\u0644", null }; - - static final String[] ampms = { "\u0635", "\u0645" }; - - static final String shortDateFormat = "dd MMM, yyyy"; - static final String defaultTimeFormat = "z hh:m:s a"; - static final String currencySymbol = "\u0644.\u0633."; - static final String intlCurrencySymbol = "SYP"; - static final String currencyFormat = "$ #,##0.000;$ #,##0.000-"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_TN.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_TN.java deleted file mode 100644 index fab3bb8c2..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_TN.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_ar_TN.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_ar_TN extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ","; - static final String numberFormat = "#,##0.###"; - static final String percentFormat = "#,##0%"; - static final String[] weekdays = { null, "\u0627\u0644\u0623\u062D\u062F", "\u0627\u0644\u0627\u062B\u0646\u064A\u0646", "\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621", "\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621", "\u0627\u0644\u062E\u0645\u064A\u0633", "\u0627\u0644\u062C\u0645\u0639\u0629", "\u0627\u0644\u0633\u0628\u062A" }; - - static final String[] shortWeekdays = { null, "\u062D", "\u0646", "\u062B", "\u0631", "\u062E", "\u062C", "\u0633" }; - - static final String[] shortMonths = { "\u064A\u0646\u0627", "\u0641\u0628\u0631", "\u0645\u0627\u0631", "\u0623\u0628\u0631", "\u0645\u0627\u064A", "\u064A\u0648\u0646", "\u064A\u0648\u0644", "\u0623\u063A\u0633", "\u0633\u0628\u062A", "\u0623\u0643\u062A", "\u0646\u0648\u0641", "\u062F\u064A\u0633", null }; - - static final String[] months = { "\u064A\u0646\u0627\u064A\u0631", "\u0641\u0628\u0631\u0627\u064A\u0631", "\u0645\u0627\u0631\u0633", "\u0623\u0628\u0631\u064A\u0644", "\u0645\u0627\u064A\u0648", "\u064A\u0648\u0646\u064A\u0648", "\u064A\u0648\u0644\u064A\u0648", "\u0623\u063A\u0633\u0637\u0633", "\u0633\u0628\u062A\u0645\u0628\u0631", "\u0623\u0643\u062A\u0648\u0628\u0631", "\u0646\u0648\u0641\u0645\u0628\u0631", "\u062F\u064A\u0633\u0645\u0628\u0631", null }; - - static final String[] ampms = { "\u0635", "\u0645" }; - - static final String shortDateFormat = "dd MMM, yyyy"; - static final String defaultTimeFormat = "z hh:m:s a"; - static final String currencySymbol = "\u062F.\u062A."; - static final String intlCurrencySymbol = "TND"; - static final String currencyFormat = "$ #,##0.000;$ #,##0.000-"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_YE.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_YE.java deleted file mode 100644 index f70e36e86..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ar_YE.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_ar_YE.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_ar_YE extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ","; - static final String numberFormat = "#,##0.###"; - static final String percentFormat = "#,##0%"; - static final String[] weekdays = { null, "\u0627\u0644\u0623\u062D\u062F", "\u0627\u0644\u0627\u062B\u0646\u064A\u0646", "\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621", "\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621", "\u0627\u0644\u062E\u0645\u064A\u0633", "\u0627\u0644\u062C\u0645\u0639\u0629", "\u0627\u0644\u0633\u0628\u062A" }; - - static final String[] shortWeekdays = { null, "\u062D", "\u0646", "\u062B", "\u0631", "\u062E", "\u062C", "\u0633" }; - - static final String[] shortMonths = { "\u064A\u0646\u0627", "\u0641\u0628\u0631", "\u0645\u0627\u0631", "\u0623\u0628\u0631", "\u0645\u0627\u064A", "\u064A\u0648\u0646", "\u064A\u0648\u0644", "\u0623\u063A\u0633", "\u0633\u0628\u062A", "\u0623\u0643\u062A", "\u0646\u0648\u0641", "\u062F\u064A\u0633", null }; - - static final String[] months = { "\u064A\u0646\u0627\u064A\u0631", "\u0641\u0628\u0631\u0627\u064A\u0631", "\u0645\u0627\u0631\u0633", "\u0623\u0628\u0631\u064A\u0644", "\u0645\u0627\u064A\u0648", "\u064A\u0648\u0646\u064A\u0648", "\u064A\u0648\u0644\u064A\u0648", "\u0623\u063A\u0633\u0637\u0633", "\u0633\u0628\u062A\u0645\u0628\u0631", "\u0623\u0643\u062A\u0648\u0628\u0631", "\u0646\u0648\u0641\u0645\u0628\u0631", "\u062F\u064A\u0633\u0645\u0628\u0631", null }; - - static final String[] ampms = { "\u0635", "\u0645" }; - - static final String shortDateFormat = "dd MMM, yyyy"; - static final String defaultTimeFormat = "z hh:m:s a"; - static final String currencySymbol = "\u0631.\u064A."; - static final String intlCurrencySymbol = "YER"; - static final String currencyFormat = "$ #,##0.000;$ #,##0.000-"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_be_BY.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_be_BY.java deleted file mode 100644 index 9adc5b5e6..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_be_BY.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_be_BY.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_be_BY extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = "."; - static final String numberFormat = "#,###,##0.###"; - static final String percentFormat = "#,###,##0%"; - static final String[] weekdays = { null, "\u041D\u044F\u0434\u0437\u0435\u043B\u044F", "\u041F\u0430\u043D\u044F\u0434\u0437\u0435\u043B\u0430\u043A", "\u0410\u045E\u0442\u043E\u0440\u0430\u043A", "\u0421\u0435\u0440\u0430\u0434\u0430", "\u0427\u0430\u0446\u0432\u0435\u0440", "\u041F\u044F\u0442\u043D\u0456\u0446\u0430", "\u0421\u0443\u0431\u043E\u0442\u0430" }; - - static final String[] shortWeekdays = { null, "\u041D\u044F\u0434", "\u041F\u0430\u043D", "\u0410\u045E\u0442", "\u0421\u0440\u0434", "\u0427\u0446\u0432", "\u041F\u044F\u0442", "\u0421\u0443\u0431" }; - - static final String[] shortMonths = { "\u0421\u0442\u0434", "\u041B\u044E\u0442", "\u0421\u0430\u043A", "\u041A\u0440\u0441", "\u0422\u0440\u0430", "\u0427\u044D\u0440", "\u041B\u0456\u043F", "\u0416\u043D\u0432", "\u0412\u0440\u0441", "\u041A\u0441\u0442", "\u041B\u0456\u0441", "\u0421\u043D\u0436", null }; - - static final String[] months = { "\u0421\u0442\u0443\u0434\u0437\u0435\u043D\u044C", "\u041B\u044E\u0442\u044B", "\u0421\u0430\u043A\u0430\u0432\u0456\u043A", "\u041A\u0440\u0430\u0441\u0430\u0432\u0456\u043A", "\u0422\u0440\u0430\u0432\u0435\u043D\u044C", "\u0427\u044D\u0440\u0432\u0435\u043D\u044C", "\u041B\u0456\u043F\u0435\u043D\u044C", "\u0416\u043D\u0456\u0432\u0435\u043D\u044C", "\u0412\u0435\u0440\u0430\u0441\u0435\u043D\u044C", "\u041A\u0430\u0441\u0442\u0440\u044B\u0447\u043D\u0456\u043A", "\u041B\u0456\u0441\u0442\u0430\u043F\u0430\u0434", "\u0421\u043D\u0435\u0436\u0430\u043D\u044C", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd.MM.yyyy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "\u0440\u0443\u0431"; - static final String intlCurrencySymbol = "BYB"; - static final String currencyFormat = "#,###,##0.00 $;-#,###,##0.00 $"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_bn_IN.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_bn_IN.java deleted file mode 100644 index 6afe1113f..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_bn_IN.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_bn_IN.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_bn_IN extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ","; - static final String numberFormat = "#,##,##0.###"; - static final String percentFormat = "#,##,##0%"; - static final String[] weekdays = { null, "\u09B0\u09AC\u09BF\u09AC\u09BE\u09B0", "\u09B8\u09CB\u09AE\u09AC\u09BE\u09B0", "\u09AE\u0999\u0997\u09B2\u09AC\u09BE\u09B0", "\u09AC\u09C1\u09A7\u09AC\u09BE\u09B0", "\u09AC\u09C3\u09B9\u09B8\u09CD\u09AA\u09A4\u09BF\u09AC\u09BE\u09B0", "\u09B6\u09C1\u0995\u09CD\u09B0\u09AC\u09BE\u09B0", "\u09B6\u09A8\u09BF\u09AC\u09BE\u09B0" }; - - static final String[] shortWeekdays = { null, "\u09B0\u09AC\u09BF", "\u09B8\u09CB\u09AE", "\u09AE\u0999\u0997\u09B2", "\u09AC\u09C1\u09A7", "\u09AC\u09C3\u09B9\u09B8\u09CD\u09AA\u09A4\u09BF", "\u09B6\u09C1\u0995\u09CD\u09B0", "\u09B6\u09A8\u09BF" }; - - static final String[] shortMonths = { "\u099C\u09BE\u09A8\u09C1\u09DF\u09BE\u09B0\u09C0", "\u09AB\u09C7\u09AC\u09CD\u09B0\u09C1\u09DF\u09BE\u09B0\u09C0", "\u09AE\u09BE\u09B0\u09CD\u099A", "\u098F\u09AA\u09CD\u09B0\u09BF\u09B2", "\u09AE\u09C7", "\u099C\u09C1\u09A8", "\u099C\u09C1\u09B2\u09BE\u0987", "\u0986\u0997\u09B8\u09CD\u099F", "\u09B8\u09C7\u09AA\u09CD\u099F\u09C7\u09AE\u09CD\u09AC\u09B0", "\u0985\u0995\u09CD\u099F\u09CB\u09AC\u09B0", "\u09A8\u09AD\u09C7\u09AE\u09CD\u09AC\u09B0", "\u09A1\u09BF\u09B8\u09C7\u09AE\u09CD\u09AC\u09B0", null }; - - static final String[] months = { "\u099C\u09BE\u09A8\u09C1\u09DF\u09BE\u09B0\u09C0", "\u09AB\u09C7\u09AC\u09CD\u09B0\u09C1\u09DF\u09BE\u09B0\u09C0", "\u09AE\u09BE\u09B0\u09CD\u099A", "\u098F\u09AA\u09CD\u09B0\u09BF\u09B2", "\u09AE\u09C7", "\u099C\u09C1\u09A8", "\u099C\u09C1\u09B2\u09BE\u0987", "\u0986\u0997\u09B8\u09CD\u099F", "\u09B8\u09C7\u09AA\u09CD\u099F\u09C7\u09AE\u09CD\u09AC\u09B0", "\u0985\u0995\u09CD\u099F\u09CB\u09AC\u09B0", "\u09A8\u09AD\u09C7\u09AE\u09CD\u09AC\u09B0", "\u09A1\u09BF\u09B8\u09C7\u09AE\u09CD\u09AC\u09B0", null }; - - static final String[] ampms = { "\u09AA\u09C2\u09B0\u09CD\u09AC\u09BE\u09B9\u09CD\u09A3", "\u0985\u09AA\u09B0\u09BE\u09B9\u09CD\u09A3" }; - - static final String shortDateFormat = "EEEE dd MMM yyyy"; - static final String defaultTimeFormat = "hh:m:s a z"; - static final String currencySymbol = "\u099F\u09BE\u0995\u09BE"; - static final String intlCurrencySymbol = "INR"; - static final String currencyFormat = "$ #,###,#0.00;-$ #,###,#0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_br_FR.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_br_FR.java deleted file mode 100644 index a11eea484..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_br_FR.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_br_FR.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_br_FR extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = ""; - static final String numberFormat = "#.###"; - static final String percentFormat = "#%"; - static final String[] weekdays = { null, "sul", "lun", "meurzh", "merc'her", "yaou", "gwener", "sadorn" }; - - static final String[] shortWeekdays = { null, "sul", "lun", "meu", "mer", "yao", "gwe", "sad" }; - - static final String[] shortMonths = { "Gen ", "C'hw", "Meu ", "Ebr ", "Mae ", "Eve ", "Gou ", "Eos ", "Gwe ", "Her ", "Du ", "Ker ", null }; - - static final String[] months = { "Genver", "C'hwevrer", "Meurzh", "Ebrel", "Mae", "Mezheven", "Gouere", "Eost", "Gwengolo", "Here", "Du", "Kerzu", null }; - - static final String[] ampms = { " ", " " }; - - static final String shortDateFormat = "dd.MM.yyyy"; - static final String defaultTimeFormat = "hhem:s a"; - static final String currencySymbol = "F"; - static final String intlCurrencySymbol = "FRF"; - static final String currencyFormat = "#,###,##0.00 $;-#,###,##0.00 $"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_bs_BA.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_bs_BA.java deleted file mode 100644 index 829a0ab7a..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_bs_BA.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_bs_BA.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_bs_BA extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = ""; - static final String numberFormat = "#.###"; - static final String percentFormat = "#%"; - static final String[] weekdays = { null, "Nedjelja", "Ponedjeljak", "Utorak", "Srijeda", "\u010Cetvrtak", "Petak", "Subota" }; - - static final String[] shortWeekdays = { null, "Ned", "Pon", "Uto", "Sri", "\u010Cet", "Pet", "Sub" }; - - static final String[] shortMonths = { "Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec", null }; - - static final String[] months = { "Januar", "Februar", "Mart", "April", "Maj", "Juni", "Juli", "August", "Septembar", "Oktobar", "Novembar", "Decembar", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd.MM.yyyy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "KM"; - static final String intlCurrencySymbol = "BAK"; - static final String currencyFormat = "$ #,###,##0.00;-$ #,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ca_ES.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ca_ES.java deleted file mode 100644 index b2e57e82a..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ca_ES.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_ca_ES.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_ca_ES extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = ""; - static final String numberFormat = "#.###"; - static final String percentFormat = "#%"; - static final String[] weekdays = { null, "diumenge", "dilluns", "dimarts", "dimecres", "dijous", "divendres", "dissabte" }; - - static final String[] shortWeekdays = { null, "dg", "dl", "dt", "dc", "dj", "dv", "ds" }; - - static final String[] shortMonths = { "gen", "feb", "mar", "abr", "mai", "jun", "jul", "ago", "set", "oct", "nov", "des", null }; - - static final String[] months = { "gener", "febrer", "mar\u00E7", "abril", "maig", "juny", "juliol", "agost", "setembre", "octubre", "novembre", "desembre", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd/MM/yy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "Pts"; - static final String intlCurrencySymbol = "ESP"; - static final String currencyFormat = "$ #,###,#0.;-$ #,###,#0."; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_cs_CZ.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_cs_CZ.java deleted file mode 100644 index f91731741..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_cs_CZ.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_cs_CZ.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_cs_CZ extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = "\u00A0"; - static final String numberFormat = "#,###,##0.###"; - static final String percentFormat = "#,###,##0%"; - static final String[] weekdays = { null, "Ned\u011Ble", "Pond\u011Bl\u00ED", "\u00DAter\u00FD", "St\u0159eda", "\u010Ctvrtek", "P\u00E1tek", "Sobota" }; - - static final String[] shortWeekdays = { null, "Ne", "Po", "\u00DAt", "St", "\u010Ct", "P\u00E1", "So" }; - - static final String[] shortMonths = { "led", "\u00FAno", "b\u0159e", "dub", "kv\u011B", "\u010Den", "\u010Dec", "srp", "z\u00E1\u0159", "\u0159\u00EDj", "lis", "pro", null }; - - static final String[] months = { "leden", "\u00FAnor", "b\u0159ezen", "duben", "kv\u011Bten", "\u010Derven", "\u010Dervenec", "srpen", "z\u00E1\u0159\u00ED", "\u0159\u00EDjen", "listopad", "prosinec", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd.MM.yyyy"; - static final String defaultTimeFormat = "hh:m:s"; - static final String currencySymbol = "K\u010D"; - static final String intlCurrencySymbol = "CZK"; - static final String currencyFormat = "#,###,##0.00 $;-#,###,##0.00 $"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_cy_GB.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_cy_GB.java deleted file mode 100644 index b284761dc..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_cy_GB.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_cy_GB.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_cy_GB extends ListResourceBundle -{ - static final String decimalSeparator = LocaleInformation_en_GB.decimalSeparator; - static final String groupingSeparator = LocaleInformation_en_GB.groupingSeparator; - static final String numberFormat = LocaleInformation_en_GB.numberFormat; - static final String percentFormat = LocaleInformation_en_GB.percentFormat; - static final String[] weekdays = { null, "Sul", "Llun", "Mawrth", "Mercher", "Iau", "Gwener", "Sadwrn" }; - - static final String[] shortWeekdays = { null, "Sul", "Llu", "Maw", "Mer", "Iau", "Gwe", "Sad" }; - - static final String[] shortMonths = { "Ion", "Chw", "Maw", "Ebr", "Mai", "Meh", "Gor", "Aws", "Med", "Hyd", "Tach", "Rha", null }; - - static final String[] months = { "Ionawr", "Chwefror", "Mawrth", "Ebrill", "Mai", "Mehefin", "Gorffennaf", "Awst", "Medi", "Hydref", "Tachwedd", "Rhagfyr", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd.MM.yy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = LocaleInformation_en_GB.currencySymbol; - static final String intlCurrencySymbol = LocaleInformation_en_GB.intlCurrencySymbol; - static final String currencyFormat = LocaleInformation_en_GB.currencyFormat; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_da_DK.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_da_DK.java deleted file mode 100644 index 6b6ff3d30..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_da_DK.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_da_DK.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_da_DK extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = "."; - static final String numberFormat = "#,###,##0.###"; - static final String percentFormat = "#,###,##0%"; - static final String[] weekdays = { null, "s\u00F8ndag", "mandag", "tirsdag", "onsdag", "torsdag", "fredag", "l\u00F8rdag" }; - - static final String[] shortWeekdays = { null, "s\u00F8n", "man", "tir", "ons", "tor", "fre", "l\u00F8r" }; - - static final String[] shortMonths = { "jan", "feb", "mar", "apr", "maj", "jun", "jul", "aug", "sep", "okt", "nov", "dec", null }; - - static final String[] months = { "januar", "februar", "marts", "april", "maj", "juni", "juli", "august", "september", "oktober", "november", "december", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd-MM-yyyy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "kr"; - static final String intlCurrencySymbol = "DKK"; - static final String currencyFormat = "$ #,###,##0.00;$ -#,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_de.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_de.java deleted file mode 100644 index a76f8cef1..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_de.java +++ /dev/null @@ -1,230 +0,0 @@ -/* LocaleInformation_de.java -- German locale data - Copyright (C) 1999, 2001 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -/** - * This class contains locale data for the German locale - * @author Jochen Hoenicke - */ -public class LocaleInformation_de extends ListResourceBundle -{ - -/* - * This area is used for defining object values - */ - -/** - * This is the set of collation rules used by java.text.RuleBasedCollator - * to sort strings properly. See the documentation of that class for the - * proper format. - */ -private static final String collation_rules = - "<0<1<2<3<4<5<6<7<8<9<A,a<b,B<c,C<d,D<e,E<f,F<g,G<h,H<i,I<j,J<k,K" + - "<l,L<m,M<n,N<o,O<p,P<q,Q<r,R<s,S<t,T<u,U<v,V<w,W<x,X<y,Y<z,Z" + - "&ae,\u00e4&Ae,\u00c4&oe,\u00f6&Oe,\u00d6&ue,\u00fc&Ue,\u00dc&ss,\u00df"; - -/** - * This is the list of months, fully spelled out - */ -private static final String[] months = { "Januar", "Februar", "M\u00e4rz", - "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", - "November", "Dezember", null }; - -/** - * This is the list of abbreviated month names - */ -private static final String[] shortMonths = { - "Jan", "Feb", "M\u00e4r", "Apr", "Mai", - "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", null -}; - -/** - * This is the list of weekdays, fully spelled out - */ -private static final String[] weekdays = { - null, "Sonntag", "Montag", "Dienstag", - "Mittwoch", "Donnerstag", "Freitag", "Samstag" -}; - -/** - * This is the list of abbreviated weekdays - */ -private static final String[] shortWeekdays = { - null, "So", "Mo", "Di", "Mi", "Do", "Fr", "Sa" -}; - -/** - * This is the list of era identifiers - */ -private static final String[] eras = { "v. Chr.", "n. Chr." }; - -/** - * This is the list of timezone strings. The JDK appears to include a - * city name as the sixth element. - */ -private static final String[][] zoneStrings = -{ - // European time zones. The city names are a little bit random. - { "WET", "Westeurop\u00e4ische Zeit", "WEZ", "Westeurop\u00e4ische Sommerzeit", "WESZ", "London" }, - { "CET", "Mitteleurop\u00e4ische Zeit", "MEZ", "Mitteleurop\u00e4ische Sommerzeit", "MESZ", "Berlin" }, - { "EET", "Osteurop\u00e4ische Zeit", "OEZ", "Mitteleurop\u00e4ische Sommerzeit", "OESZ", "Istanbul" }, -}; - -/** - * This is the DateFormat.SHORT date format - */ -private static final String shortDateFormat = "dd.MM.yy"; - -/** - * This is the DateFormat.MEDIUM format - */ -private static final String mediumDateFormat = "d. MMM yy"; - -/** - * This is the DateFormat.LONG format - */ -private static final String longDateFormat = "d. MMMM yyyy"; - -/** - * This is the DateFormat.FULL format - */ -private static final String fullDateFormat = "EEEE, d. MMMM yyyy"; - -/** - * This is the DateFormat.DEFAULT format - */ -private static final String defaultDateFormat = "dd.MM.yy"; - -/** - * This is the DateFormat.SHORT format - */ -private static final String shortTimeFormat = "H:mm"; - -/** - * This is the DateFormat.MEDIUM format - */ -private static final String mediumTimeFormat = "H:mm:ss"; - -/** - * This is the DateFormat.LONG format - */ -private static final String longTimeFormat = "H:mm:ss z"; - -/** - * This is the DateFormat.FULL format - */ -private static final String fullTimeFormat = "H:mm:ss 'Uhr' z"; - -/** - * This is the DateFormat.DEFAULT format - */ -private static final String defaultTimeFormat = "H:mm:ss"; - -/** - * This is the currency symbol - */ -private static final String currencySymbol = "DM"; - -/** - * This is the international currency symbol. - */ -private static final String intlCurrencySymbol = "DEM"; - -/** - * This is the decimal point. - */ -private static final String decimalSeparator = ","; - -/** - * This is the decimal separator in monetary values. - */ -private static final String monetarySeparator = ","; - -/*************************************************************************/ - -/** - * This is the object array used to hold the keys and values - * for this bundle - */ - -private static final Object[][] contents = -{ - // For RuleBasedCollator - { "collation_rules", collation_rules }, - // For SimpleDateFormat/DateFormatSymbols - { "months", months }, - { "shortMonths", shortMonths }, - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "eras", eras }, - { "zoneStrings", zoneStrings }, - { "shortDateFormat", shortDateFormat }, - { "mediumDateFormat", mediumDateFormat }, - { "longDateFormat", longDateFormat }, - { "fullDateFormat", fullDateFormat }, - { "defaultDateFormat", defaultDateFormat }, - { "shortTimeFormat", shortTimeFormat }, - { "mediumTimeFormat", mediumTimeFormat }, - { "longTimeFormat", longTimeFormat }, - { "fullTimeFormat", fullTimeFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - // For DecimalFormat/DecimalFormatSymbols - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "decimalSeparator", decimalSeparator }, - { "monetarySeparator", monetarySeparator }, -}; - -/*************************************************************************/ - -/** - * This method returns the object array of key, value pairs containing - * the data for this bundle. - * - * @return The key, value information. - */ -public Object[][] -getContents() -{ - return(contents); -} - -} // class LocaleInformation_de diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_de_AT.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_de_AT.java deleted file mode 100644 index 9afd597cc..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_de_AT.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_de_AT.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_de_AT extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = ""; - static final String numberFormat = "#.###"; - static final String percentFormat = "#%"; - static final String[] weekdays = { null, "Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag" }; - - static final String[] shortWeekdays = { null, "Son", "Mon", "Die", "Mit", "Don", "Fre", "Sam" }; - - static final String[] shortMonths = { "J\u00E4n", "Feb", "M\u00E4r", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", null }; - - static final String[] months = { "J\u00E4nner", "Feber", "M\u00E4rz", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "yyyy-MM-dd"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "S"; - static final String intlCurrencySymbol = "ATS"; - static final String currencyFormat = "$ #,###,##0.00;-$ #,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_de_BE.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_de_BE.java deleted file mode 100644 index 5a9163d73..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_de_BE.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_de_BE.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_de_BE extends ListResourceBundle -{ - static final String decimalSeparator = LocaleInformation_de_DE.decimalSeparator; - static final String groupingSeparator = LocaleInformation_de_DE.groupingSeparator; - static final String numberFormat = LocaleInformation_de_DE.numberFormat; - static final String percentFormat = LocaleInformation_de_DE.percentFormat; - static final String[] weekdays = { null, "Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag" }; - - static final String[] shortWeekdays = { null, "Son", "Mon", "Die", "Mit", "Don", "Fre", "Sam" }; - - static final String[] shortMonths = { "Jan", "Feb", "M\u00E4r", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", null }; - - static final String[] months = { "Januar", "Februar", "M\u00E4rz", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "yyyy-MM-dd"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "Fr"; - static final String intlCurrencySymbol = "BEF"; - static final String currencyFormat = "$ #,###,##0.00;$ -#,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_de_CH.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_de_CH.java deleted file mode 100644 index fd9970b9e..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_de_CH.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_de_CH.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_de_CH extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = " "; - static final String numberFormat = "#,###,##0.###"; - static final String percentFormat = "#,###,##0%"; - static final String[] weekdays = { null, "Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag" }; - - static final String[] shortWeekdays = { null, "Son", "Mon", "Die", "Mit", "Don", "Fre", "Sam" }; - - static final String[] shortMonths = { "Jan", "Feb", "M\u00E4r", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", null }; - - static final String[] months = { "Januar", "Februar", "M\u00E4rz", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "yyyy-MM-dd"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "Fr."; - static final String intlCurrencySymbol = "CHF"; - static final String currencyFormat = "$ #,###,##0.00;$ -#,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_de_DE.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_de_DE.java deleted file mode 100644 index 6704d256d..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_de_DE.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_de_DE.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_de_DE extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = "."; - static final String numberFormat = "#,###,##0.###"; - static final String percentFormat = "#,###,##0%"; - static final String[] weekdays = { null, "Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag" }; - - static final String[] shortWeekdays = { null, "Son", "Mon", "Die", "Mit", "Don", "Fre", "Sam" }; - - static final String[] shortMonths = { "Jan", "Feb", "M\u00E4r", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", null }; - - static final String[] months = { "Januar", "Februar", "M\u00E4rz", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd.MM.yyyy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "DM"; - static final String intlCurrencySymbol = "DEM"; - static final String currencyFormat = "#,###,##0.00 $;-#,###,##0.00 $"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_de_LU.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_de_LU.java deleted file mode 100644 index 30a971552..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_de_LU.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_de_LU.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_de_LU extends ListResourceBundle -{ - static final String decimalSeparator = LocaleInformation_de_DE.decimalSeparator; - static final String groupingSeparator = LocaleInformation_de_DE.groupingSeparator; - static final String numberFormat = LocaleInformation_de_DE.numberFormat; - static final String percentFormat = LocaleInformation_de_DE.percentFormat; - static final String[] weekdays = { null, "Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag" }; - - static final String[] shortWeekdays = { null, "Son", "Mon", "Die", "Mit", "Don", "Fre", "Sam" }; - - static final String[] shortMonths = { "Jan", "Feb", "M\u00E4r", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez", null }; - - static final String[] months = { "Januar", "Februar", "M\u00E4rz", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "yyyy-MM-dd"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "FLUX"; - static final String intlCurrencySymbol = "LUF"; - static final String currencyFormat = "$ #,###,##0.00;$ -#,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_el_GR.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_el_GR.java deleted file mode 100644 index af8fb9254..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_el_GR.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_el_GR.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_el_GR extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = "."; - static final String numberFormat = "#.###"; - static final String percentFormat = "#%"; - static final String[] weekdays = { null, "\u039A\u03C5\u03C1\u03B9\u03B1\u03BA\u03B7", "\u0394\u03B5\u03C5\u03C4\u03AD\u03C1\u03B1", "\u03A4\u03C1\u03AF\u03C4\u03B7", "\u03A4\u03B5\u03C4\u03AC\u03C1\u03C4\u03B7", "\u03A0\u03AD\u03BC\u03C0\u03C4\u03B7", "\u03A0\u03B1\u03C1\u03B1\u03C3\u03BA\u03B5\u03C5\u03AE", "\u03A3\u03B1\u03B2\u03B2\u03AC\u03C4\u03BF" }; - - static final String[] shortWeekdays = { null, "\u039A\u03C5\u03C1", "\u0394\u03B5\u03C5", "\u03A4\u03C1\u03B9", "\u03A4\u03B5\u03C4", "\u03A0\u03B5\u03BC", "\u03A0\u03B1\u03C1", "\u03A3\u03B1\u03B2" }; - - static final String[] shortMonths = { "\u0399\u03B1\u03BD", "\u03A6\u03B5\u03B2", "\u039C\u03AC\u03C1", "\u0391\u03C0\u03C1", "\u039C\u03AC\u03B9", "\u0399\u03BF\u03CD\u03BD", "\u0399\u03BF\u03CD\u03BB", "\u0391\u03CD\u03B3", "\u03A3\u03B5\u03C0", "\u039F\u03BA\u03C4", "\u039D\u03BF\u03AD", "\u0394\u03B5\u03BA", null }; - - static final String[] months = { "\u0399\u03B1\u03BD\u03BF\u03AC\u03C1\u03B9\u03BF\u03C2", "\u03A6\u03B5\u03B2\u03C1\u03BF\u03AC\u03C1\u03B9\u03BF\u03C2", "\u039C\u03AC\u03C1\u03C4\u03B9\u03BF\u03C2", "\u0391\u03C0\u03C1\u03AF\u03BB\u03B9\u03BF\u03C2", "\u039C\u03AC\u03B9\u03BF\u03C2", "\u0399\u03BF\u03CD\u03BD\u03B9\u03BF\u03C2", "\u0399\u03BF\u03CD\u03BB\u03B9\u03BF\u03C2", "\u0391\u03CD\u03B3\u03BF\u03C5\u03C3\u03C4\u03BF\u03C2", "\u03A3\u03B5\u03C0\u03C4\u03AD\u03BC\u03B2\u03C1\u03B9\u03BF\u03C2", "\u039F\u03BA\u03C4\u03CE\u03B2\u03C1\u03B9\u03BF\u03C2", "\u039D\u03BF\u03AD\u03BC\u03B2\u03C1\u03B9\u03BF\u03C2", "\u0394\u03B5\u03BA\u03AD\u03BC\u03B2\u03C1\u03B9\u03BF\u03C2", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd/MM/yyyy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "\u03B4\u03C1\u03C7"; - static final String intlCurrencySymbol = "GRD"; - static final String currencyFormat = "#,###,##0.00 $;-#,###,##0.00 $"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_en.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_en.java deleted file mode 100644 index 04c9c3ba5..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_en.java +++ /dev/null @@ -1,207 +0,0 @@ -/* LocaleInformation_en.java -- US English locale data - Copyright (C) 1998, 1999, 2001, 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -/** - * This class contains locale data for English. - */ -public class LocaleInformation_en extends ListResourceBundle -{ - - /* - * This area is used for defining object values - */ - - /** - * This is the set of collation rules used by java.text.RuleBasedCollator - * to sort strings properly. See the documentation of that class for the - * proper format. - */ - // FIXME: this is nowhere near complete. - // In particular we must mark accents as ignorable, - // and probably other things as well. - private static final String collation_rules = - "<0<1<2<3<4<5<6<7<8<9<A,a<b,B<c,C<d,D<e,E<f,F<g,G<h,H<i,I<j,J<k,K" + - "<l,L<m,M<n,N<o,O<p,P<q,Q<r,R<s,S<t,T<u,U<v,V<w,W<x,X<y,Y<z,Z"; - - /** - * This is the list of months, fully spelled out - */ - private static final String[] months = - { - "January", "February", "March", "April", "May", "June", - "July", "August", "September", "October", "November", "December", null - }; - - /** - * This is the list of abbreviated month names - */ - private static final String[] shortMonths = - { - "Jan", "Feb", "Mar", "Apr", "May", "Jun", - "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", null - }; - - /** - * This is the list of weekdays, fully spelled out - */ - private static final String[] weekdays = - { - null, "Sunday", "Monday", "Tuesday", "Wednesday", - "Thursday", "Friday", "Saturday" - }; - - /** - * This is the list of abbreviated weekdays - */ - private static final String[] shortWeekdays = - { - null, "Sun", "Mon", "Tue", "Wed", - "Thu", "Fri", "Sat" - }; - - /** - * This is the list of AM/PM strings - */ - private static final String[] ampms = { "AM", "PM" }; - - /** - * This is the list of era identifiers - */ - private static final String[] eras = { "BC", "AD" }; - - private static final String[][] zoneStrings = - { - { "GMT", "Greenwich Mean Time", "GMT", - /**/ "Greenwich Mean Time", "GMT", "GMT" }, - { "PST", "Pacific Standard Time", "PST", - /**/ "Pacific Daylight Time", "PDT", "San Francisco" }, - { "MST", "Mountain Standard Time", "MST", - /**/ "Mountain Daylight Time", "MDT", "Denver" }, - { "PNT", "Mountain Standard Time", "MST", - /**/ "Mountain Standard Time", "MST", "Phoenix" }, - { "CST", "Central Standard Time", "CST", - /**/ "Central Daylight Time", "CDT", "Chicago" }, - { "EST", "Eastern Standard Time", "EST", - /**/ "Eastern Daylight Time", "EDT", "Boston" }, - { "IET", "Eastern Standard Time", "EST", - /**/ "Eastern Standard Time", "EST", "Indianapolis" }, - { "PRT", "Atlantic Standard Time", "AST", - /**/ "Atlantic Daylight Time", "ADT", "Halifax" }, - { "CNT", "Newfoundland Standard Time", "NST", - /**/ "Newfoundland Daylight Time", "NDT", "St. Johns" }, - { "ECT", "Central European Standard Time", "CET", - /**/ "Central European Daylight Time", "CEST", "Paris" }, - { "CTT", "China Standard Time", "CST", - /**/ "China Standard Time", "CST", "Shanghai" }, - { "JST", "Japan Standard Time", "JST", - /**/ "Japan Standard Time", "JST", "Tokyo" }, - { "HST", "Hawaii Standard Time", "HST", - /**/ "Hawaii Standard Time", "HST", "Honolulu" }, - { "AST", "Alaska Standard Time", "AKST", - /**/ "Alaska Daylight Time", "AKDT", "Anchorage" } - }; - - /*************************************************************************/ - - /** - * This is the object array used to hold the keys and values - * for this bundle - */ - - private static final Object[][] contents = - { - // For RuleBasedCollator - { "collation_rules", collation_rules }, - - // For SimpleDateFormat/DateFormatSymbols - { "months", months }, - { "shortMonths", shortMonths }, - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "ampms", ampms }, - { "eras", eras }, - { "localPatternChars", "GyMdkHmsSEDFwWahKzYeugAZ" }, - { "zoneStrings", zoneStrings }, - - { "shortDateFormat", "M/d/yy" }, // Java's Y2K bug. - { "mediumDateFormat", "d-MMM-yy" }, - { "longDateFormat", "MMMM d, yyyy" }, - { "fullDateFormat", "EEEE MMMM d, yyyy G" }, - { "defaultDateFormat", "d-MMMM-yy" }, - { "shortTimeFormat", "h:mm a" }, - { "mediumTimeFormat", "h:mm:ss a" }, - { "longTimeFormat", "h:mm:ss a z" }, - { "fullTimeFormat", "h:mm:ss;S 'o''clock' a z" }, - { "defaultTimeFormat", "h:mm:ss a" }, - - // For DecimalFormat/DecimalFormatSymbols - { "decimalSeparator", "." }, - { "digit", "#" }, - { "exponential", "E" }, - { "groupingSeparator", "," }, - { "infinity", "\u221e" }, - { "NaN", "\ufffd" }, - { "minusSign", "-" }, - { "monetarySeparator", "." }, - { "patternSeparator", ";" }, - { "percent", "%" }, - { "perMill", "\u2030" }, - { "zeroDigit", "0" }, - - // For NumberFormat. - { "numberFormat", "#,##0.###" }, - { "percentFormat", "#,##0%" }, - }; - - /*************************************************************************/ - - /** - * This method returns the object array of key, value pairs containing - * the data for this bundle. - * - * @return The key, value information. - */ - public Object[][] getContents () - { - return contents; - } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_en_AU.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_en_AU.java deleted file mode 100644 index 351f12640..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_en_AU.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_en_AU.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_en_AU extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ","; - static final String numberFormat = "#,###,##0.###"; - static final String percentFormat = "#,###,##0%"; - static final String[] weekdays = { null, "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" }; - - static final String[] shortWeekdays = { null, "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" }; - - static final String[] shortMonths = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", null }; - - static final String[] months = { "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd/MM/yy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "$"; - static final String intlCurrencySymbol = "AUD"; - static final String currencyFormat = "$#,###,##0.00;-$#,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_en_BW.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_en_BW.java deleted file mode 100644 index 345070d48..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_en_BW.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_en_BW.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_en_BW extends ListResourceBundle -{ - static final String decimalSeparator = LocaleInformation_en_ZA.decimalSeparator; - static final String groupingSeparator = LocaleInformation_en_ZA.groupingSeparator; - static final String numberFormat = LocaleInformation_en_ZA.numberFormat; - static final String percentFormat = LocaleInformation_en_ZA.percentFormat; - static final String[] weekdays = LocaleInformation_en_ZA.weekdays; - - static final String[] shortWeekdays = LocaleInformation_en_ZA.shortWeekdays; - - static final String[] shortMonths = LocaleInformation_en_ZA.shortMonths; - - static final String[] months = LocaleInformation_en_ZA.months; - - static final String[] ampms = LocaleInformation_en_ZA.ampms; - - static final String shortDateFormat = LocaleInformation_en_ZA.shortDateFormat; - static final String defaultTimeFormat = LocaleInformation_en_ZA.defaultTimeFormat; - static final String currencySymbol = "Pu"; - static final String intlCurrencySymbol = "BWP"; - static final String currencyFormat = "$#,###,##0.00;-$#,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_en_CA.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_en_CA.java deleted file mode 100644 index a156466dc..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_en_CA.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_en_CA.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_en_CA extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ","; - static final String numberFormat = "#,###,##0.###"; - static final String percentFormat = "#,###,##0%"; - static final String[] weekdays = { null, "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" }; - - static final String[] shortWeekdays = { null, "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" }; - - static final String[] shortMonths = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", null }; - - static final String[] months = { "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", null }; - - static final String[] ampms = { "AM", "PM" }; - - static final String shortDateFormat = "dd/MM/yy"; - static final String defaultTimeFormat = "hh:m:s a"; - static final String currencySymbol = "$"; - static final String intlCurrencySymbol = "CAD"; - static final String currencyFormat = "$#,###,##0.00;-$#,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_en_DK.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_en_DK.java deleted file mode 100644 index f646f36a4..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_en_DK.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_en_DK.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_en_DK extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = "."; - static final String numberFormat = "#,###,##0.###"; - static final String percentFormat = "#,###,##0%"; - static final String[] weekdays = { null, "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" }; - - static final String[] shortWeekdays = { null, "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" }; - - static final String[] shortMonths = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", null }; - - static final String[] months = { "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "yyyy-MM-dd"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "\u00A4"; - static final String intlCurrencySymbol = "DKK"; - static final String currencyFormat = "$#,###,##0.00;-$#,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_en_GB.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_en_GB.java deleted file mode 100644 index 75ecb1819..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_en_GB.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_en_GB.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_en_GB extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ","; - static final String numberFormat = "#,###,##0.###"; - static final String percentFormat = "#,###,##0%"; - static final String[] weekdays = { null, "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" }; - - static final String[] shortWeekdays = { null, "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" }; - - static final String[] shortMonths = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", null }; - - static final String[] months = { "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd/MM/yy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "\u00A3"; - static final String intlCurrencySymbol = "GBP"; - static final String currencyFormat = "$#,###,##0.00;-$#,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_en_HK.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_en_HK.java deleted file mode 100644 index 65a7baf9f..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_en_HK.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_en_HK.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_en_HK extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ","; - static final String numberFormat = "#,##0.###"; - static final String percentFormat = "#,##0%"; - static final String[] weekdays = { null, "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" }; - - static final String[] shortWeekdays = { null, "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" }; - - static final String[] shortMonths = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", null }; - - static final String[] months = { "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", null }; - - static final String[] ampms = { "AM", "PM" }; - - static final String shortDateFormat = "EEEE, MMMM dd, yyyy"; - static final String defaultTimeFormat = "ahh:m:s z"; - static final String currencySymbol = "HK$"; - static final String intlCurrencySymbol = "HKD"; - static final String currencyFormat = "$#,##0.00;($#,##0.00)"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_en_IE.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_en_IE.java deleted file mode 100644 index 883e4a48e..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_en_IE.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_en_IE.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_en_IE extends ListResourceBundle -{ - static final String decimalSeparator = LocaleInformation_en_GB.decimalSeparator; - static final String groupingSeparator = LocaleInformation_en_GB.groupingSeparator; - static final String numberFormat = LocaleInformation_en_GB.numberFormat; - static final String percentFormat = LocaleInformation_en_GB.percentFormat; - static final String[] weekdays = { null, "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" }; - - static final String[] shortWeekdays = { null, "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" }; - - static final String[] shortMonths = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", null }; - - static final String[] months = { "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd/MM/yy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "\u00A3"; - static final String intlCurrencySymbol = "IEP"; - static final String currencyFormat = "$#,###,##0.00;-$#,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_en_IN.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_en_IN.java deleted file mode 100644 index 2eea83a62..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_en_IN.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_en_IN.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_en_IN extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ","; - static final String numberFormat = "#,##,##0.###"; - static final String percentFormat = "#,##,##0%"; - static final String[] weekdays = { null, "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" }; - - static final String[] shortWeekdays = { null, "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" }; - - static final String[] shortMonths = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", null }; - - static final String[] months = { "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", null }; - - static final String[] ampms = { "AM", "PM" }; - - static final String shortDateFormat = "EEEE dd MMMM yyyy"; - static final String defaultTimeFormat = "hh:m:s a z"; - static final String currencySymbol = "\u20A8"; - static final String intlCurrencySymbol = "INR"; - static final String currencyFormat = "$ #,##,##0.00;-$ #,##,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_en_NZ.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_en_NZ.java deleted file mode 100644 index 0a5c5ceee..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_en_NZ.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_en_NZ.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_en_NZ extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ","; - static final String numberFormat = "#,###,##0.###"; - static final String percentFormat = "#,###,##0%"; - static final String[] weekdays = { null, "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" }; - - static final String[] shortWeekdays = { null, "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" }; - - static final String[] shortMonths = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", null }; - - static final String[] months = { "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd/MM/yy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "$"; - static final String intlCurrencySymbol = "NZD"; - static final String currencyFormat = "$#,###,##0.00;-$#,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_en_PH.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_en_PH.java deleted file mode 100644 index 72debdd7e..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_en_PH.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_en_PH.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_en_PH extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ","; - static final String numberFormat = "#,##0.###"; - static final String percentFormat = "#,##0%"; - static final String[] weekdays = { null, "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" }; - - static final String[] shortWeekdays = { null, "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" }; - - static final String[] shortMonths = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", null }; - - static final String[] months = { "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", null }; - - static final String[] ampms = { "AM", "PM" }; - - static final String shortDateFormat = "EEEE, dd MMMM, yyyy"; - static final String defaultTimeFormat = "hh:m:s a z"; - static final String currencySymbol = "Php"; - static final String intlCurrencySymbol = "PHP"; - static final String currencyFormat = "$#,##0.00;($#,##0.00)"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_en_SG.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_en_SG.java deleted file mode 100644 index f34448636..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_en_SG.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_en_SG.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_en_SG extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ","; - static final String numberFormat = "#,##0.###"; - static final String percentFormat = "#,##0%"; - static final String[] weekdays = { null, "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" }; - - static final String[] shortWeekdays = { null, "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" }; - - static final String[] shortMonths = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", null }; - - static final String[] months = { "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", null }; - - static final String[] ampms = { "AM", "PM" }; - - static final String shortDateFormat = "EEEE dd,MMMM,yyyy"; - static final String defaultTimeFormat = "hh:m:s a z"; - static final String currencySymbol = "$"; - static final String intlCurrencySymbol = "SGD"; - static final String currencyFormat = "$#,##0.00;($#,##0.00)"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_en_US.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_en_US.java deleted file mode 100644 index 7a5fd8332..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_en_US.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_en_US.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_en_US extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ","; - static final String numberFormat = "#,###,##0.###"; - static final String percentFormat = "#,###,##0%"; - static final String[] weekdays = { null, "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" }; - - static final String[] shortWeekdays = { null, "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" }; - - static final String[] shortMonths = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", null }; - - static final String[] months = { "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", null }; - - static final String[] ampms = { "AM", "PM" }; - - static final String shortDateFormat = "MM/dd/yyyy"; - static final String defaultTimeFormat = "hh:m:s a"; - static final String currencySymbol = "$"; - static final String intlCurrencySymbol = "USD"; - static final String currencyFormat = "$#,###,##0.00;-$#,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_en_ZA.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_en_ZA.java deleted file mode 100644 index 36dcb2747..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_en_ZA.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_en_ZA.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_en_ZA extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ","; - static final String numberFormat = "#,###,##0.###"; - static final String percentFormat = "#,###,##0%"; - static final String[] weekdays = { null, "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" }; - - static final String[] shortWeekdays = { null, "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" }; - - static final String[] shortMonths = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", null }; - - static final String[] months = { "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd/MM/yy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "R"; - static final String intlCurrencySymbol = "ZAR"; - static final String currencyFormat = "$#,###,##0.00;-$#,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_en_ZW.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_en_ZW.java deleted file mode 100644 index 0f9fb4a97..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_en_ZW.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_en_ZW.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_en_ZW extends ListResourceBundle -{ - static final String decimalSeparator = LocaleInformation_en_ZA.decimalSeparator; - static final String groupingSeparator = LocaleInformation_en_ZA.groupingSeparator; - static final String numberFormat = LocaleInformation_en_ZA.numberFormat; - static final String percentFormat = LocaleInformation_en_ZA.percentFormat; - static final String[] weekdays = LocaleInformation_en_ZA.weekdays; - - static final String[] shortWeekdays = LocaleInformation_en_ZA.shortWeekdays; - - static final String[] shortMonths = LocaleInformation_en_ZA.shortMonths; - - static final String[] months = LocaleInformation_en_ZA.months; - - static final String[] ampms = LocaleInformation_en_ZA.ampms; - - static final String shortDateFormat = LocaleInformation_en_ZA.shortDateFormat; - static final String defaultTimeFormat = LocaleInformation_en_ZA.defaultTimeFormat; - static final String currencySymbol = "Z$"; - static final String intlCurrencySymbol = "ZWD"; - static final String currencyFormat = "$#,###,##0.00;-$#,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_AR.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_AR.java deleted file mode 100644 index 42d3c76a7..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_AR.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_es_AR.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_es_AR extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = ""; - static final String numberFormat = "#.###"; - static final String percentFormat = "#%"; - static final String[] weekdays = { null, "domingo", "lunes", "martes", "mi\u00E9rcoles", "jueves", "viernes", "s\u00E1bado" }; - - static final String[] shortWeekdays = { null, "dom", "lun", "mar", "mi\u00E9", "jue", "vie", "s\u00E1b" }; - - static final String[] shortMonths = { "ene", "feb", "mar", "abr", "may", "jun", "jul", "ago", "sep", "oct", "nov", "dic", null }; - - static final String[] months = { "enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd/MM/yy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "$"; - static final String intlCurrencySymbol = "ARS"; - static final String currencyFormat = "$ #,###,##0.00;-$ #,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_BO.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_BO.java deleted file mode 100644 index 01a98098d..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_BO.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_es_BO.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_es_BO extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = ""; - static final String numberFormat = "#.###"; - static final String percentFormat = "#%"; - static final String[] weekdays = { null, "domingo", "lunes", "martes", "mi\u00E9rcoles", "jueves", "viernes", "s\u00E1bado" }; - - static final String[] shortWeekdays = { null, "dom", "lun", "mar", "mi\u00E9", "jue", "vie", "s\u00E1b" }; - - static final String[] shortMonths = { "ene", "feb", "mar", "abr", "may", "jun", "jul", "ago", "sep", "oct", "nov", "dic", null }; - - static final String[] months = { "enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd/MM/yy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "$b"; - static final String intlCurrencySymbol = "BOB"; - static final String currencyFormat = "$ #,###,##0.00;-$ #,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_CL.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_CL.java deleted file mode 100644 index 73c93ff84..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_CL.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_es_CL.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_es_CL extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = ""; - static final String numberFormat = "#.###"; - static final String percentFormat = "#%"; - static final String[] weekdays = { null, "domingo", "lunes", "martes", "mi\u00E9rcoles", "jueves", "viernes", "s\u00E1bado" }; - - static final String[] shortWeekdays = { null, "dom", "lun", "mar", "mi\u00E9", "jue", "vie", "s\u00E1b" }; - - static final String[] shortMonths = { "ene", "feb", "mar", "abr", "may", "jun", "jul", "ago", "sep", "oct", "nov", "dic", null }; - - static final String[] months = { "enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd/MM/yy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "$"; - static final String intlCurrencySymbol = "CLP"; - static final String currencyFormat = "$ #,###,##0.00;-$ #,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_CO.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_CO.java deleted file mode 100644 index 25100a04d..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_CO.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_es_CO.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_es_CO extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = ""; - static final String numberFormat = "#.###"; - static final String percentFormat = "#%"; - static final String[] weekdays = { null, "domingo", "lunes", "martes", "mi\u00E9rcoles", "jueves", "viernes", "s\u00E1bado" }; - - static final String[] shortWeekdays = { null, "dom", "lun", "mar", "mi\u00E9", "jue", "vie", "s\u00E1b" }; - - static final String[] shortMonths = { "ene", "feb", "mar", "abr", "may", "jun", "jul", "ago", "sep", "oct", "nov", "dic", null }; - - static final String[] months = { "enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd/MM/yy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "$"; - static final String intlCurrencySymbol = "COP"; - static final String currencyFormat = "$ #,###,##0.00;-$ #,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_CR.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_CR.java deleted file mode 100644 index d0e5a51fe..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_CR.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_es_CR.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_es_CR extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ""; - static final String numberFormat = "#.###"; - static final String percentFormat = "#%"; - static final String[] weekdays = { null, "domingo", "lunes", "martes", "mi\u00E9rcoles", "jueves", "viernes", "s\u00E1bado" }; - - static final String[] shortWeekdays = { null, "dom", "lun", "mar", "mi\u00E9", "jue", "vie", "s\u00E1b" }; - - static final String[] shortMonths = { "ene", "feb", "mar", "abr", "may", "jun", "jul", "ago", "sep", "oct", "nov", "dic", null }; - - static final String[] months = { "enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd/MM/yy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "C"; - static final String intlCurrencySymbol = "CRC"; - static final String currencyFormat = "$ #,###,##0.00;-$ #,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_DO.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_DO.java deleted file mode 100644 index 33d64a9ff..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_DO.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_es_DO.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_es_DO extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ""; - static final String numberFormat = "#.###"; - static final String percentFormat = "#%"; - static final String[] weekdays = { null, "domingo", "lunes", "martes", "mi\u00E9rcoles", "jueves", "viernes", "s\u00E1bado" }; - - static final String[] shortWeekdays = { null, "dom", "lun", "mar", "mi\u00E9", "jue", "vie", "s\u00E1b" }; - - static final String[] shortMonths = { "ene", "feb", "mar", "abr", "may", "jun", "jul", "ago", "sep", "oct", "nov", "dic", null }; - - static final String[] months = { "enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd/MM/yy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "$"; - static final String intlCurrencySymbol = "DOP"; - static final String currencyFormat = "$ #,###,##0.00;-$ #,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_EC.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_EC.java deleted file mode 100644 index d6025461a..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_EC.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_es_EC.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_es_EC extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = ""; - static final String numberFormat = "#.###"; - static final String percentFormat = "#%"; - static final String[] weekdays = { null, "domingo", "lunes", "martes", "mi\u00E9rcoles", "jueves", "viernes", "s\u00E1bado" }; - - static final String[] shortWeekdays = { null, "dom", "lun", "mar", "mi\u00E9", "jue", "vie", "s\u00E1b" }; - - static final String[] shortMonths = { "ene", "feb", "mar", "abr", "may", "jun", "jul", "ago", "sep", "oct", "nov", "dic", null }; - - static final String[] months = { "enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd/MM/yy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "$"; - static final String intlCurrencySymbol = "ECS"; - static final String currencyFormat = "$ #,###,##0.00;-$ #,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_ES.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_ES.java deleted file mode 100644 index 5a25106c8..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_ES.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_es_ES.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_es_ES extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = ""; - static final String numberFormat = "#.###"; - static final String percentFormat = "#%"; - static final String[] weekdays = { null, "domingo", "lunes", "martes", "mi\u00E9rcoles", "jueves", "viernes", "s\u00E1bado" }; - - static final String[] shortWeekdays = { null, "dom", "lun", "mar", "mi\u00E9", "jue", "vie", "s\u00E1b" }; - - static final String[] shortMonths = { "ene", "feb", "mar", "abr", "may", "jun", "jul", "ago", "sep", "oct", "nov", "dic", null }; - - static final String[] months = { "enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd/MM/yy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "Pts"; - static final String intlCurrencySymbol = "ESP"; - static final String currencyFormat = "$ #,###,##0.;-$ #,###,##0."; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_GT.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_GT.java deleted file mode 100644 index 435549bd4..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_GT.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_es_GT.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_es_GT extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ""; - static final String numberFormat = "#.###"; - static final String percentFormat = "#%"; - static final String[] weekdays = { null, "domingo", "lunes", "martes", "mi\u00E9rcoles", "jueves", "viernes", "s\u00E1bado" }; - - static final String[] shortWeekdays = { null, "dom", "lun", "mar", "mi\u00E9", "jue", "vie", "s\u00E1b" }; - - static final String[] shortMonths = { "ene", "feb", "mar", "abr", "may", "jun", "jul", "ago", "sep", "oct", "nov", "dic", null }; - - static final String[] months = { "enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd/MM/yy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "Q"; - static final String intlCurrencySymbol = "GTQ"; - static final String currencyFormat = "$ #,###,##0.00;-$ #,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_HN.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_HN.java deleted file mode 100644 index 90366d417..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_HN.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_es_HN.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_es_HN extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ""; - static final String numberFormat = "#.###"; - static final String percentFormat = "#%"; - static final String[] weekdays = { null, "domingo", "lunes", "martes", "mi\u00E9rcoles", "jueves", "viernes", "s\u00E1bado" }; - - static final String[] shortWeekdays = { null, "dom", "lun", "mar", "mi\u00E9", "jue", "vie", "s\u00E1b" }; - - static final String[] shortMonths = { "ene", "feb", "mar", "abr", "may", "jun", "jul", "ago", "sep", "oct", "nov", "dic", null }; - - static final String[] months = { "enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd/MM/yy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "L."; - static final String intlCurrencySymbol = "HNL"; - static final String currencyFormat = "$ #,###,##0.00;-$ #,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_MX.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_MX.java deleted file mode 100644 index e5060c9b8..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_MX.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_es_MX.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_es_MX extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ""; - static final String numberFormat = "#.###"; - static final String percentFormat = "#%"; - static final String[] weekdays = { null, "domingo", "lunes", "martes", "mi\u00E9rcoles", "jueves", "viernes", "s\u00E1bado" }; - - static final String[] shortWeekdays = { null, "dom", "lun", "mar", "mi\u00E9", "jue", "vie", "s\u00E1b" }; - - static final String[] shortMonths = { "ene", "feb", "mar", "abr", "may", "jun", "jul", "ago", "sep", "oct", "nov", "dic", null }; - - static final String[] months = { "enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd/MM/yy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "$"; - static final String intlCurrencySymbol = "MXP"; - static final String currencyFormat = "$ #,###,##0.00;-$ #,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_NI.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_NI.java deleted file mode 100644 index 4b9bb07d0..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_NI.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_es_NI.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_es_NI extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ""; - static final String numberFormat = "#.###"; - static final String percentFormat = "#%"; - static final String[] weekdays = { null, "domingo", "lunes", "martes", "mi\u00E9rcoles", "jueves", "viernes", "s\u00E1bado" }; - - static final String[] shortWeekdays = { null, "dom", "lun", "mar", "mi\u00E9", "jue", "vie", "s\u00E1b" }; - - static final String[] shortMonths = { "ene", "feb", "mar", "abr", "may", "jun", "jul", "ago", "sep", "oct", "nov", "dic", null }; - - static final String[] months = { "enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd/MM/yy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "$C"; - static final String intlCurrencySymbol = "NIO"; - static final String currencyFormat = "$ #,###,##0.00;-$ #,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_PA.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_PA.java deleted file mode 100644 index 8461d0a95..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_PA.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_es_PA.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_es_PA extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ""; - static final String numberFormat = "#.###"; - static final String percentFormat = "#%"; - static final String[] weekdays = { null, "domingo", "lunes", "martes", "mi\u00E9rcoles", "jueves", "viernes", "s\u00E1bado" }; - - static final String[] shortWeekdays = { null, "dom", "lun", "mar", "mi\u00E9", "jue", "vie", "s\u00E1b" }; - - static final String[] shortMonths = { "ene", "feb", "mar", "abr", "may", "jun", "jul", "ago", "sep", "oct", "nov", "dic", null }; - - static final String[] months = { "enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd/MM/yy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "B/"; - static final String intlCurrencySymbol = "PAB"; - static final String currencyFormat = "$ #,###,##0.00;-$ #,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_PE.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_PE.java deleted file mode 100644 index 49474c7ec..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_PE.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_es_PE.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_es_PE extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ""; - static final String numberFormat = "#.###"; - static final String percentFormat = "#%"; - static final String[] weekdays = { null, "domingo", "lunes", "martes", "mi\u00E9rcoles", "jueves", "viernes", "s\u00E1bado" }; - - static final String[] shortWeekdays = { null, "dom", "lun", "mar", "mi\u00E9", "jue", "vie", "s\u00E1b" }; - - static final String[] shortMonths = { "ene", "feb", "mar", "abr", "may", "jun", "jul", "ago", "sep", "oct", "nov", "dic", null }; - - static final String[] months = { "enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd/MM/yy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "S/"; - static final String intlCurrencySymbol = "PEN"; - static final String currencyFormat = "$ #,###,##0.00;-$ #,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_PR.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_PR.java deleted file mode 100644 index 376f1716d..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_PR.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_es_PR.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_es_PR extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ""; - static final String numberFormat = "#.###"; - static final String percentFormat = "#%"; - static final String[] weekdays = { null, "domingo", "lunes", "martes", "mi\u00E9rcoles", "jueves", "viernes", "s\u00E1bado" }; - - static final String[] shortWeekdays = { null, "dom", "lun", "mar", "mi\u00E9", "jue", "vie", "s\u00E1b" }; - - static final String[] shortMonths = { "ene", "feb", "mar", "abr", "may", "jun", "jul", "ago", "sep", "oct", "nov", "dic", null }; - - static final String[] months = { "enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd/MM/yy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "$"; - static final String intlCurrencySymbol = "USD"; - static final String currencyFormat = "$ #,###,##0.00;-$ #,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_PY.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_PY.java deleted file mode 100644 index 0e649d080..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_PY.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_es_PY.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_es_PY extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = ""; - static final String numberFormat = "#.###"; - static final String percentFormat = "#%"; - static final String[] weekdays = { null, "domingo", "lunes", "martes", "mi\u00E9rcoles", "jueves", "viernes", "s\u00E1bado" }; - - static final String[] shortWeekdays = { null, "dom", "lun", "mar", "mi\u00E9", "jue", "vie", "s\u00E1b" }; - - static final String[] shortMonths = { "ene", "feb", "mar", "abr", "may", "jun", "jul", "ago", "sep", "oct", "nov", "dic", null }; - - static final String[] months = { "enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd/MM/yy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "Gs."; - static final String intlCurrencySymbol = "PYG"; - static final String currencyFormat = "$ #,###,##0.00;-$ #,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_SV.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_SV.java deleted file mode 100644 index ef0b89e73..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_SV.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_es_SV.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_es_SV extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ""; - static final String numberFormat = "#.###"; - static final String percentFormat = "#%"; - static final String[] weekdays = { null, "domingo", "lunes", "martes", "mi\u00E9rcoles", "jueves", "viernes", "s\u00E1bado" }; - - static final String[] shortWeekdays = { null, "dom", "lun", "mar", "mi\u00E9", "jue", "vie", "s\u00E1b" }; - - static final String[] shortMonths = { "ene", "feb", "mar", "abr", "may", "jun", "jul", "ago", "sep", "oct", "nov", "dic", null }; - - static final String[] months = { "enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd/MM/yy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "\u00A2"; - static final String intlCurrencySymbol = "SVC"; - static final String currencyFormat = "$ #,###,##0.00;-$ #,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_US.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_US.java deleted file mode 100644 index 6b5d5db0e..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_US.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_es_US.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_es_US extends ListResourceBundle -{ - static final String decimalSeparator = LocaleInformation_en_US.decimalSeparator; - static final String groupingSeparator = LocaleInformation_en_US.groupingSeparator; - static final String numberFormat = LocaleInformation_en_US.numberFormat; - static final String percentFormat = LocaleInformation_en_US.percentFormat; - static final String[] weekdays = { null, "domingo", "lunes", "martes", "mi\u00E9rcoles", "jueves", "viernes", "s\u00E1bado" }; - - static final String[] shortWeekdays = { null, "dom", "lun", "mar", "mi\u00E9", "jue", "vie", "s\u00E1b" }; - - static final String[] shortMonths = { "ene", "feb", "mar", "abr", "may", "jun", "jul", "ago", "sep", "oct", "nov", "dic", null }; - - static final String[] months = { "enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd/MM/yy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "$"; - static final String intlCurrencySymbol = "USD"; - static final String currencyFormat = "$#,###,##0.00;-$#,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_UY.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_UY.java deleted file mode 100644 index 1be0f3394..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_UY.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_es_UY.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_es_UY extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = ""; - static final String numberFormat = "#.###"; - static final String percentFormat = "#%"; - static final String[] weekdays = { null, "domingo", "lunes", "martes", "mi\u00E9rcoles", "jueves", "viernes", "s\u00E1bado" }; - - static final String[] shortWeekdays = { null, "dom", "lun", "mar", "mi\u00E9", "jue", "vie", "s\u00E1b" }; - - static final String[] shortMonths = { "ene", "feb", "mar", "abr", "may", "jun", "jul", "ago", "sep", "oct", "nov", "dic", null }; - - static final String[] months = { "enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd/MM/yy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "N$"; - static final String intlCurrencySymbol = "UYU"; - static final String currencyFormat = "$ #,###,##0.00;-$ #,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_VE.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_VE.java deleted file mode 100644 index 09f5b177a..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_es_VE.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_es_VE.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_es_VE extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = ""; - static final String numberFormat = "#.###"; - static final String percentFormat = "#%"; - static final String[] weekdays = { null, "domingo", "lunes", "martes", "mi\u00E9rcoles", "jueves", "viernes", "s\u00E1bado" }; - - static final String[] shortWeekdays = { null, "dom", "lun", "mar", "mi\u00E9", "jue", "vie", "s\u00E1b" }; - - static final String[] shortMonths = { "ene", "feb", "mar", "abr", "may", "jun", "jul", "ago", "sep", "oct", "nov", "dic", null }; - - static final String[] months = { "enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd/MM/yy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "Bs."; - static final String intlCurrencySymbol = "VEB"; - static final String currencyFormat = "$ #,###,##0.00;-$ #,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_et_EE.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_et_EE.java deleted file mode 100644 index 314b05d5a..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_et_EE.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_et_EE.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_et_EE extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = "\u00A0"; - static final String numberFormat = "#,###,##0.###"; - static final String percentFormat = "#,###,##0%"; - static final String[] weekdays = { null, "p\u00FChap\u00E4ev", "esmasp\u00E4ev", "teisip\u00E4ev", "kolmap\u00E4ev", "neljap\u00E4ev", "reede", "laup\u00E4ev" }; - - static final String[] shortWeekdays = { null, "P", "E", "T", "K", "N", "R", "L" }; - - static final String[] shortMonths = { "jaan ", "veebr", "m\u00E4rts", "apr ", "mai ", "juuni", "juuli", "aug ", "sept ", "okt ", "nov ", "dets ", null }; - - static final String[] months = { "jaanuar", "veebruar", "m\u00E4rts", "aprill", "mai", "juuni", "juuli", "august", "september", "oktoober", "november", "detsember", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd.MM.yyyy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "kr"; - static final String intlCurrencySymbol = "EEK"; - static final String currencyFormat = "$ #,###,##0.00;-$ #,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_eu_ES.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_eu_ES.java deleted file mode 100644 index 5187fda35..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_eu_ES.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_eu_ES.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_eu_ES extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = ""; - static final String numberFormat = "#.###"; - static final String percentFormat = "#%"; - static final String[] weekdays = { null, "igandea", "astelehena", "asteartea", "asteazkena", "osteguna", "ostirala", "larunbata" }; - - static final String[] shortWeekdays = { null, "iga", "leh", "art", "azk", "teg", "tir", "lar" }; - - static final String[] shortMonths = { "urt", "ots", "mar", "api", "mai", "eka", "uzt", "abu", "ira", "urr", "aza", "abe", null }; - - static final String[] months = { "urtarrila", "otsaila", "martxoa", "apirila", "maiatza", "ekaina", "uztaila", "abuztua", "iraila", "urria", "azaroa", "abendua", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "yy-MM-dd"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "Pts"; - static final String intlCurrencySymbol = "ESP"; - static final String currencyFormat = "$ #,###,##0.;-$ #,###,##0."; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_fa_IR.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_fa_IR.java deleted file mode 100644 index 0decadcd8..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_fa_IR.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_fa_IR.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_fa_IR extends ListResourceBundle -{ - static final String decimalSeparator = "\u066B"; - static final String groupingSeparator = "\u066C"; - static final String numberFormat = "#,##0.###"; - static final String percentFormat = "#,##0%"; - static final String[] weekdays = { null, "\u06CC\u06A9\u200C\u0634\u0646\u0628\u0647", "\u062F\u0648\u0634\u0646\u0628\u0647", "\u0633\u0647\u200C\u0634\u0646\u0628\u0647", "\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647", "\u067E\u0646\u062C\u200C\u0634\u0646\u0628\u0647", "\u062C\u0645\u0639\u0647", "\u0634\u0646\u0628\u0647" }; - - static final String[] shortWeekdays = { null, "\u06CC.", "\u062F.", "\u0633.", "\u0686.", "\u067E.", "\u062C.", "\u0634." }; - - static final String[] shortMonths = { "\u0698\u0627\u0646", "\u0641\u0648\u0631", "\u0645\u0627\u0631", "\u0622\u0648\u0631", "\u0645\u0640\u0647", "\u0698\u0648\u0646", "\u0698\u0648\u06CC", "\u0627\u0648\u062A", "\u0633\u067E\u062A", "\u0627\u0643\u062A", "\u0646\u0648\u0627", "\u062F\u0633\u0627", null }; - - static final String[] months = { "\u0698\u0627\u0646\u0648\u06CC\u0647", "\u0641\u0648\u0631\u06CC\u0647", "\u0645\u0627\u0631\u0633", "\u0622\u0648\u0631\u06CC\u0644", "\u0645\u0647", "\u0698\u0648\u0626\u0646", "\u0698\u0648\u0626\u06CC\u0647", "\u0627\u0648\u062A", "\u0633\u067E\u062A\u0627\u0645\u0628\u0631", "\u0627\u0643\u062A\u0628\u0631", "\u0646\u0648\u0627\u0645\u0628\u0631", "\u062F\u0633\u0627\u0645\u0628\u0631", null }; - - static final String[] ampms = { "\u0635\u0628\u062D", "\u0639\u0635\u0631" }; - - static final String shortDateFormat = "yyyy/MM/dd"; - static final String defaultTimeFormat = "hh:m:s a"; - static final String currencySymbol = "\u0631\u06CC\u0627\u0644"; - static final String intlCurrencySymbol = "IRR"; - static final String currencyFormat = "#,##0. $;-#,##0. $"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_fi_FI.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_fi_FI.java deleted file mode 100644 index 888034af9..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_fi_FI.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_fi_FI.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_fi_FI extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = "."; - static final String numberFormat = "#,###,##0.###"; - static final String percentFormat = "#,###,##0%"; - static final String[] weekdays = { null, "sunnuntai", "maanantai", "tiistai", "keskiviikko", "torstai", "perjantai", "lauantai" }; - - static final String[] shortWeekdays = { null, "su", "ma", "ti", "ke", "to", "pe", "la" }; - - static final String[] shortMonths = { "tammi\u00A0", "helmi\u00A0", "maalis", "huhti\u00A0", "touko\u00A0", "kes\u00E4\u00A0\u00A0", "hein\u00E4\u00A0", "elo\u00A0\u00A0\u00A0", "syys\u00A0\u00A0", "loka\u00A0\u00A0", "marras", "joulu\u00A0", null }; - - static final String[] months = { "tammikuu", "helmikuu", "maaliskuu", "huhtikuu", "toukokuu", "kes\u00E4kuu", "hein\u00E4kuu", "elokuu", "syyskuu", "lokakuu", "marraskuu", "joulukuu", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd.MM.yyyy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "mk"; - static final String intlCurrencySymbol = "FIM"; - static final String currencyFormat = "#,###,##0.00 $;-#,###,##0.00 $"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_fo_FO.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_fo_FO.java deleted file mode 100644 index 1d49612be..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_fo_FO.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_fo_FO.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_fo_FO extends ListResourceBundle -{ - static final String decimalSeparator = LocaleInformation_da_DK.decimalSeparator; - static final String groupingSeparator = LocaleInformation_da_DK.groupingSeparator; - static final String numberFormat = LocaleInformation_da_DK.numberFormat; - static final String percentFormat = LocaleInformation_da_DK.percentFormat; - static final String[] weekdays = { null, "sunnudagur", "m\u00E1nadagur", "t\u00FDsdagur", "mikudagur", "h\u00F3sdagur", "fr\u00EDggjadagur", "leygardagur" }; - - static final String[] shortWeekdays = { null, "sun", "m\u00E1n", "t\u00FDs", "mik", "h\u00F3s", "fr\u00ED", "ley" }; - - static final String[] shortMonths = { "jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des", null }; - - static final String[] months = { "januar", "februar", "mars", "apr\u00EDl", "mai", "juni", "juli", "august", "september", "oktober", "november", "desember", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd/MM-yyyy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = LocaleInformation_da_DK.currencySymbol; - static final String intlCurrencySymbol = LocaleInformation_da_DK.intlCurrencySymbol; - static final String currencyFormat = LocaleInformation_da_DK.currencyFormat; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_fr_BE.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_fr_BE.java deleted file mode 100644 index 999f1fab9..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_fr_BE.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_fr_BE.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_fr_BE extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = "."; - static final String numberFormat = "#.###"; - static final String percentFormat = "#%"; - static final String[] weekdays = { null, "dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi" }; - - static final String[] shortWeekdays = { null, "dim", "lun", "mar", "mer", "jeu", "ven", "sam" }; - - static final String[] shortMonths = { "jan", "f\u00E9v", "mar", "avr", "mai", "jun", "jui", "ao\u00FB", "sep", "oct", "nov", "d\u00E9c", null }; - - static final String[] months = { "janvier", "f\u00E9vrier", "mars", "avril", "mai", "juin", "juillet", "ao\u00FBt", "septembre", "octobre", "novembre", "d\u00E9cembre", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd/MM/yy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "FB"; - static final String intlCurrencySymbol = "BEF"; - static final String currencyFormat = "#,###,##0.00 $;-#,###,##0.00 $"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_fr_CA.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_fr_CA.java deleted file mode 100644 index 1b47cdc50..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_fr_CA.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_fr_CA.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_fr_CA extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = " "; - static final String numberFormat = "#.###"; - static final String percentFormat = "#%"; - static final String[] weekdays = { null, "dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi" }; - - static final String[] shortWeekdays = { null, "dim", "lun", "mar", "mer", "jeu", "ven", "sam" }; - - static final String[] shortMonths = { "jan", "f\u00E9v", "mar", "avr", "mai", "jun", "jui", "ao\u00FB", "sep", "oct", "nov", "d\u00E9c", null }; - - static final String[] months = { "janvier", "f\u00E9vrier", "mars", "avril", "mai", "juin", "juillet", "ao\u00FBt", "septembre", "octobre", "novembre", "d\u00E9cembre", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "yyyy-MM-dd"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "$"; - static final String intlCurrencySymbol = "CAD"; - static final String currencyFormat = "#,###,##0.00 $;(#,###,##0.00 $)"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_fr_CH.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_fr_CH.java deleted file mode 100644 index 7b011a29d..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_fr_CH.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_fr_CH.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_fr_CH extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = ""; - static final String numberFormat = "#.###"; - static final String percentFormat = "#%"; - static final String[] weekdays = { null, "dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi" }; - - static final String[] shortWeekdays = { null, "dim", "lun", "mar", "mer", "jeu", "ven", "sam" }; - - static final String[] shortMonths = { "jan", "f\u00E9v", "mar", "avr", "mai", "jun", "jui", "ao\u00FB", "sep", "oct", "nov", "d\u00E9c", null }; - - static final String[] months = { "janvier", "f\u00E9vrier", "mars", "avril", "mai", "juin", "juillet", "ao\u00FBt", "septembre", "octobre", "novembre", "d\u00E9cembre", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd. MM. yy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = LocaleInformation_de_CH.currencySymbol; - static final String intlCurrencySymbol = LocaleInformation_de_CH.intlCurrencySymbol; - static final String currencyFormat = LocaleInformation_de_CH.currencyFormat; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_fr_FR.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_fr_FR.java deleted file mode 100644 index a53032a42..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_fr_FR.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_fr_FR.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_fr_FR extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = ""; - static final String numberFormat = "#.###"; - static final String percentFormat = "#%"; - static final String[] weekdays = { null, "dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi" }; - - static final String[] shortWeekdays = { null, "dim", "lun", "mar", "mer", "jeu", "ven", "sam" }; - - static final String[] shortMonths = { "jan", "f\u00E9v", "mar", "avr", "mai", "jun", "jui", "ao\u00FB", "sep", "oct", "nov", "d\u00E9c", null }; - - static final String[] months = { "janvier", "f\u00E9vrier", "mars", "avril", "mai", "juin", "juillet", "ao\u00FBt", "septembre", "octobre", "novembre", "d\u00E9cembre", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd.MM.yyyy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "F"; - static final String intlCurrencySymbol = "FRF"; - static final String currencyFormat = "#,###,##0.00 $;-#,###,##0.00 $"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_fr_LU.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_fr_LU.java deleted file mode 100644 index 03080d7b2..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_fr_LU.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_fr_LU.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_fr_LU extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = ""; - static final String numberFormat = "#.###"; - static final String percentFormat = "#%"; - static final String[] weekdays = { null, "dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi" }; - - static final String[] shortWeekdays = { null, "dim", "lun", "mar", "mer", "jeu", "ven", "sam" }; - - static final String[] shortMonths = { "jan", "f\u00E9v", "mar", "avr", "mai", "jun", "jui", "ao\u00FB", "sep", "oct", "nov", "d\u00E9c", null }; - - static final String[] months = { "janvier", "f\u00E9vrier", "mars", "avril", "mai", "juin", "juillet", "ao\u00FBt", "septembre", "octobre", "novembre", "d\u00E9cembre", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd.MM.yyyy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "FLUX"; - static final String intlCurrencySymbol = "LUF"; - static final String currencyFormat = "#,###,##0.00 $;-#,###,##0.00 $"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ga_IE.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ga_IE.java deleted file mode 100644 index e85d8e59b..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ga_IE.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_ga_IE.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_ga_IE extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ","; - static final String numberFormat = "#,###,##0.###"; - static final String percentFormat = "#,###,##0%"; - static final String[] weekdays = { null, "D\u00E9 Domhnaigh", "D\u00E9 Luain", "D\u00E9 M\u00E1irt", "D\u00E9 C\u00E9adaoin", "D\u00E9ardaoin", "D\u00E9 hAoine", "D\u00E9 Sathairn" }; - - static final String[] shortWeekdays = { null, "Domh", "Luan", "M\u00E1irt", "C\u00E9ad", "D\u00E9ar", "Aoine", "Sath" }; - - static final String[] shortMonths = { "Ean", "Feabh", "M\u00E1rta", "Aib", "Beal", "Meith", "I\u00FAil", "L\u00FAn", "MF\u00F3mh", "DF\u00F3mh", "Samh", "Noll", null }; - - static final String[] months = { "Ean\u00E1ir", "Feabhra", "M\u00E1rta", "Aibre\u00E1n", "M\u00ED na Bealtaine", "Meith", "I\u00FAil", "L\u00FAnasa", "Me\u00E1n F\u00F3mhair", "Deireadh F\u00F3mhair", "M\u00ED na Samhna", "M\u00ED na Nollag", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd.MM.yy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "\u00A3"; - static final String intlCurrencySymbol = "IEP"; - static final String currencyFormat = "$#,###,##0.00;-$#,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_gd_GB.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_gd_GB.java deleted file mode 100644 index 0f359782b..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_gd_GB.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_gd_GB.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_gd_GB extends ListResourceBundle -{ - static final String decimalSeparator = LocaleInformation_en_GB.decimalSeparator; - static final String groupingSeparator = LocaleInformation_en_GB.groupingSeparator; - static final String numberFormat = LocaleInformation_en_GB.numberFormat; - static final String percentFormat = LocaleInformation_en_GB.percentFormat; - static final String[] weekdays = { null, "Did\u00F2mhnaich", "Diluain", "Dim\u00E0irt", "Diciadain", "Diardaoin", "Dihaoine", "Disathairne" }; - - static final String[] shortWeekdays = { null, "Dido", "Dilu", "Dim", "Dic", "Diar", "Diha", "Disa" }; - - static final String[] shortMonths = { "Fao", "Gea", "M\u00E0r", "Gib", "Mh\u00E0", "OgM", "luc", "L\u00F9n", "Sul", "Dam", "Sam", "D\u00F9b", null }; - - static final String[] months = { "Am Faoilteach", "An Gearran", "Am M\u00E0rt", "An Giblean", "A' Mh\u00E0igh", "An t-Mh\u00ECos", "An t-luchar", "An L\u00F9nasdal", "An t-Sultain", "An Damhair", "An t-Samhain", "An D\u00F9bhlachd", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd/MM/yy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = LocaleInformation_en_GB.currencySymbol; - static final String intlCurrencySymbol = LocaleInformation_en_GB.intlCurrencySymbol; - static final String currencyFormat = LocaleInformation_en_GB.currencyFormat; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_gl_ES.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_gl_ES.java deleted file mode 100644 index de55c8d23..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_gl_ES.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_gl_ES.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_gl_ES extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = ""; - static final String numberFormat = "#.###"; - static final String percentFormat = "#%"; - static final String[] weekdays = { null, "Domingo", "Luns", "Martes", "M\u00E9rcores", "Xoves", "Venres", "S\u00E1bado" }; - - static final String[] shortWeekdays = { null, "Dom", "Lun", "Mar", "M\u00E9r", "Xov", "Ven", "S\u00E1b" }; - - static final String[] shortMonths = { "Xan", "Feb", "Mar", "Abr", "Mai", "Xu\u00F1", "Xul", "Ago", "Set", "Out", "Nov", "Dec", null }; - - static final String[] months = { "Xaneiro", "Febreiro", "Marzo", "Abril", "Maio", "Xu\u00F1o", "Xullo", "Agosto", "Setembro", "Outubro", "Novembro", "Decembro", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd/MM/yy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "Pta"; - static final String intlCurrencySymbol = "ESP"; - static final String currencyFormat = "$ #,###,##0.;-$ #,###,##0."; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_gv_GB.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_gv_GB.java deleted file mode 100644 index b0e3c1bfa..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_gv_GB.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_gv_GB.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_gv_GB extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ","; - static final String numberFormat = "#,###,##0.###"; - static final String percentFormat = "#,###,##0%"; - static final String[] weekdays = { null, "Jedoonee", "Jelhein", "Jemayrt", "Jercean", "Jerdein", "Jeheiney", "Jesarn" }; - - static final String[] shortWeekdays = { null, "Jed", "Jel", "Jem", "Jerc", "Jerd", "Jeh", "Jes" }; - - static final String[] shortMonths = { "J-guer", "T-arree", "Mayrnt", "Avrril", "Boaldyn", "M-souree", "J-souree", "Luanistyn", "M-fouyir", "J-fouyir", "M.Houney", "M.Nollick", null }; - - static final String[] months = { "Jerrey-geuree", "Toshiaght-arree", "Mayrnt", "Averil", "Boaldyn", "Mean-souree", "Jerrey-souree", "Luanistyn", "Mean-fouyir", "Jerrey-fouyir", "Mee Houney", "Mee ny Nollick", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd/MM/yy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "\u00A3"; - static final String intlCurrencySymbol = "GBP"; - static final String currencyFormat = "$#,###,##0.00;-$#,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_he_IL.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_he_IL.java deleted file mode 100644 index feea0b2de..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_he_IL.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_he_IL.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_he_IL extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ","; - static final String numberFormat = "#,###,##0.###"; - static final String percentFormat = "#,###,##0%"; - static final String[] weekdays = { null, "\u05E8\u05D0\u05E9\u05D5\u05DF", "\u05E9\u05E0\u05D9", "\u05E9\u05DC\u05D9\u05E9\u05D9", "\u05E8\u05D1\u05D9\u05E2\u05D9", "\u05D7\u05DE\u05D9\u05E9\u05D9", "\u05E9\u05D9\u05E9\u05D9", "\u05E9\u05D1\u05EA" }; - - static final String[] shortWeekdays = { null, "\u05D0'", "\u05D1'", "\u05D2'", "\u05D3'", "\u05D4'", "\u05D5'", "\u05E9'" }; - - static final String[] shortMonths = { "\u05D9\u05E0\u05D5", "\u05E4\u05D1\u05E8", "\u05DE\u05E8\u05E5", "\u05D0\u05E4\u05E8", "\u05DE\u05D0\u05D9", "\u05D9\u05D5\u05E0", "\u05D9\u05D5\u05DC", "\u05D0\u05D5\u05D2", "\u05E1\u05E4\u05D8", "\u05D0\u05D5\u05E7", "\u05E0\u05D5\u05D1", "\u05D3\u05E6\u05DE", null }; - - static final String[] months = { "\u05D9\u05E0\u05D5\u05D0\u05E8", "\u05E4\u05D1\u05E8\u05D5\u05D0\u05E8", "\u05DE\u05E8\u05E5", "\u05D0\u05E4\u05E8\u05D9\u05DC", "\u05DE\u05D0\u05D9", "\u05D9\u05D5\u05E0\u05D9", "\u05D9\u05D5\u05DC\u05D9", "\u05D0\u05D5\u05D2\u05D5\u05E1\u05D8", "\u05E1\u05E4\u05D8\u05DE\u05D1\u05E8", "\u05D0\u05D5\u05E7\u05D8\u05D5\u05D1\u05E8", "\u05E0\u05D5\u05D1\u05DE\u05D1\u05E8", "\u05D3\u05E6\u05DE\u05D1\u05E8", null }; - - static final String[] ampms = { "AM", "PM" }; - - static final String shortDateFormat = "dd/MM/yy"; - static final String defaultTimeFormat = "hh:m:s a"; - static final String currencySymbol = "\u05E9\u05D7"; - static final String intlCurrencySymbol = "ILS"; - static final String currencyFormat = "$ #,###,##0.00;$ #,###,##0.00-"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_hi_IN.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_hi_IN.java deleted file mode 100644 index a7ff74cae..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_hi_IN.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_hi_IN.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_hi_IN extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ","; - static final String numberFormat = "#,##0.###"; - static final String percentFormat = "#,##0%"; - static final String[] weekdays = { null, "\u0930\u0935\u093F\u0935\u093E\u0930 ", "\u0938\u094B\u092E\u0935\u093E\u0930 ", "\u092E\u0902\u0917\u0932\u0935\u093E\u0930 ", "\u092C\u0941\u0927\u0935\u093E\u0930 ", "\u0917\u0941\u0930\u0941\u0935\u093E\u0930 ", "\u0936\u0941\u0915\u094D\u0930\u0935\u093E\u0930 ", "\u0936\u0928\u093F\u0935\u093E\u0930 " }; - - static final String[] shortWeekdays = { null, "\u0930\u0935\u093F ", "\u0938\u094B\u092E ", "\u092E\u0902\u0917\u0932 ", "\u092C\u0941\u0927 ", "\u0917\u0941\u0930\u0941 ", "\u0936\u0941\u0915\u094D\u0930 ", "\u0936\u0928\u093F " }; - - static final String[] shortMonths = { "\u091C\u0928\u0935\u0930\u0940", "\u092B\u093C\u0930\u0935\u0930\u0940", "\u092E\u093E\u0930\u094D\u091A", "\u0905\u092A\u094D\u0930\u0947\u0932", "\u092E\u0908", "\u091C\u0942\u0928", "\u091C\u0941\u0932\u093E\u0908", "\u0905\u0917\u0938\u094D\u0924", "\u0938\u093F\u0924\u092E\u094D\u092C\u0930", "\u0905\u0915\u094D\u091F\u0942\u092C\u0930", "\u0928\u0935\u092E\u094D\u092C\u0930", "\u0926\u093F\u0938\u092E\u094D\u092C\u0930", null }; - - static final String[] months = { "\u091C\u0928\u0935\u0930\u0940", "\u092B\u093C\u0930\u0935\u0930\u0940", "\u092E\u093E\u0930\u094D\u091A", "\u0905\u092A\u094D\u0930\u0947\u0932", "\u092E\u0908", "\u091C\u0942\u0928", "\u091C\u0941\u0932\u093E\u0908", "\u0905\u0917\u0938\u094D\u0924", "\u0938\u093F\u0924\u092E\u094D\u092C\u0930", "\u0905\u0915\u094D\u091F\u0942\u092C\u0930", "\u0928\u0935\u092E\u094D\u092C\u0930", "\u0926\u093F\u0938\u092E\u094D\u092C\u0930", null }; - - static final String[] ampms = { "\u092A\u0942\u0930\u094D\u0935\u093E\u0939\u094D\u0928", "\u0905\u092A\u0930\u093E\u0939\u094D\u0928" }; - - static final String shortDateFormat = "EEEE dd MMM yyyy"; - static final String defaultTimeFormat = "hh:m:s a z"; - static final String currencySymbol = "\u0930\u0942"; - static final String intlCurrencySymbol = "INR"; - static final String currencyFormat = "$ #,##0.00;-$ #,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_hr_HR.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_hr_HR.java deleted file mode 100644 index 0719a9748..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_hr_HR.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_hr_HR.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_hr_HR extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = ""; - static final String numberFormat = "#.###"; - static final String percentFormat = "#%"; - static final String[] weekdays = { null, "Nedjelja", "Ponedjeljak", "Utorak", "Srijeda", "\u010Cetvrtak", "Petak", "Subota" }; - - static final String[] shortWeekdays = { null, "Ned", "Pon", "Uto", "Sri", "\u010Cet", "Pet", "Sub" }; - - static final String[] shortMonths = { "Sij", "Vel", "O\u017Eu", "Tra", "Svi", "Lip", "Srp", "Kol", "Ruj", "Lis", "Stu", "Pro", null }; - - static final String[] months = { "Sije\u010Danj", "Velja\u010Da", "O\u017Eujak", "Travanj", "Svibanj", "Lipanj", "Srpanj", "Kolovoz", "Rujan", "Listopad", "Studeni", "Prosinac", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd.MM.yyyy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "Kn"; - static final String intlCurrencySymbol = "HRK"; - static final String currencyFormat = "$ #,###,##0.00;-$ #,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_hu_HU.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_hu_HU.java deleted file mode 100644 index 3491b07e0..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_hu_HU.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_hu_HU.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_hu_HU extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = ""; - static final String numberFormat = "#.###"; - static final String percentFormat = "#%"; - static final String[] weekdays = { null, "VAS\u00C1RNAP", "H\u00C9TF\u0150", "KEDD", "SZERDA", "CS\u00DCT\u00D6RT\u00D6K", "P\u00C9NTEK", "SZOMBAT" }; - - static final String[] shortWeekdays = { null, "V", "H", "K", "SZE", "CS", "P", "SZO" }; - - static final String[] shortMonths = { "JAN", "FEB", "M\u00C1R", "\u00C1PR", "M\u00C1J", "J\u00DAN", "J\u00DAL", "AUG", "SZE", "OKT", "NOV", "DEC", null }; - - static final String[] months = { "JANU\u00C1R", "FEBRU\u00C1R", "M\u00C1RCIUS", "\u00C1PRILIS", "M\u00C1JUS", "J\u00DANIUS", "J\u00DALIUS", "AUGUSZTUS", "SZEPTEMBER", "OKT\u00D3BER", "NOVEMBER", "DECEMBER", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "yyyy-MM-dd"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "FT"; - static final String intlCurrencySymbol = "HUF"; - static final String currencyFormat = "$ #,###,##0.00;-$ #,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_id_ID.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_id_ID.java deleted file mode 100644 index caa9bf518..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_id_ID.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_id_ID.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_id_ID extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = "."; - static final String numberFormat = "#,###,##0.###"; - static final String percentFormat = "#,###,##0%"; - static final String[] weekdays = { null, "Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu" }; - - static final String[] shortWeekdays = { null, "Min", "Sen", "Sel", "Rab", "Kam", "Jum", "Sab" }; - - static final String[] shortMonths = { "Jan", "Peb", "Mar", "Apr", "Mei", "Jun", "Jul", "Agu", "Sep", "Okt", "Nov", "Des", null }; - - static final String[] months = { "Januari", "Pebruari", "Maret", "April", "Mei", "Juni", "Juli", "Agustus", "September", "Oktober", "November", "Desember", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd/MM/yy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "Rp"; - static final String intlCurrencySymbol = "IDR"; - static final String currencyFormat = "$#,###,##0.00;-$#,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_it_CH.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_it_CH.java deleted file mode 100644 index 1b13342b8..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_it_CH.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_it_CH.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_it_CH extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = "'"; - static final String numberFormat = "#,###,##0.###"; - static final String percentFormat = "#,###,##0%"; - static final String[] weekdays = { null, "domenica", "luned\u00EC", "marted\u00EC", "mercoled\u00EC", "gioved\u00EC", "venerd\u00EC", "sabato" }; - - static final String[] shortWeekdays = { null, "dom", "lun", "mar", "mer", "gio", "ven", "sab" }; - - static final String[] shortMonths = { "gen", "feb", "mar", "apr", "mag", "giu", "lug", "ago", "set", "ott", "nov", "dic", null }; - - static final String[] months = { "gennaio", "febbraio", "marzo", "aprile", "maggio", "giugno", "luglio", "agosto", "settembre", "ottobre", "novembre", "dicembre", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd. MM. yy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = LocaleInformation_de_CH.currencySymbol; - static final String intlCurrencySymbol = LocaleInformation_de_CH.intlCurrencySymbol; - static final String currencyFormat = LocaleInformation_de_CH.currencyFormat; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_it_IT.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_it_IT.java deleted file mode 100644 index c261385d4..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_it_IT.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_it_IT.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_it_IT extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = ""; - static final String numberFormat = "#.###"; - static final String percentFormat = "#%"; - static final String[] weekdays = { null, "domenica", "luned\u00EC", "marted\u00EC", "mercoled\u00EC", "gioved\u00EC", "venerd\u00EC", "sabato" }; - - static final String[] shortWeekdays = { null, "dom", "lun", "mar", "mer", "gio", "ven", "sab" }; - - static final String[] shortMonths = { "gen", "feb", "mar", "apr", "mag", "giu", "lug", "ago", "set", "ott", "nov", "dic", null }; - - static final String[] months = { "gennaio", "febbraio", "marzo", "aprile", "maggio", "giugno", "luglio", "agosto", "settembre", "ottobre", "novembre", "dicembre", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd/MM/yyyy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "L."; - static final String intlCurrencySymbol = "ITL"; - static final String currencyFormat = "$ #,###,##0.;-$ #,###,##0."; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_iw_IL.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_iw_IL.java deleted file mode 100644 index 4472d9835..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_iw_IL.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_iw_IL.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_iw_IL extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ","; - static final String numberFormat = "#,###,##0.###"; - static final String percentFormat = "#,###,##0%"; - static final String[] weekdays = { null, "\u05E8\u05D0\u05E9\u05D5\u05DF", "\u05E9\u05E0\u05D9", "\u05E9\u05DC\u05D9\u05E9\u05D9", "\u05E8\u05D1\u05D9\u05E2\u05D9", "\u05D7\u05DE\u05D9\u05E9\u05D9", "\u05E9\u05D9\u05E9\u05D9", "\u05E9\u05D1\u05EA" }; - - static final String[] shortWeekdays = { null, "\u05D0'", "\u05D1'", "\u05D2'", "\u05D3'", "\u05D4'", "\u05D5'", "\u05E9'" }; - - static final String[] shortMonths = { "\u05D9\u05E0\u05D5", "\u05E4\u05D1\u05E8", "\u05DE\u05E8\u05E5", "\u05D0\u05E4\u05E8", "\u05DE\u05D0\u05D9", "\u05D9\u05D5\u05E0", "\u05D9\u05D5\u05DC", "\u05D0\u05D5\u05D2", "\u05E1\u05E4\u05D8", "\u05D0\u05D5\u05E7", "\u05E0\u05D5\u05D1", "\u05D3\u05E6\u05DE", null }; - - static final String[] months = { "\u05D9\u05E0\u05D5\u05D0\u05E8", "\u05E4\u05D1\u05E8\u05D5\u05D0\u05E8", "\u05DE\u05E8\u05E5", "\u05D0\u05E4\u05E8\u05D9\u05DC", "\u05DE\u05D0\u05D9", "\u05D9\u05D5\u05E0\u05D9", "\u05D9\u05D5\u05DC\u05D9", "\u05D0\u05D5\u05D2\u05D5\u05E1\u05D8", "\u05E1\u05E4\u05D8\u05DE\u05D1\u05E8", "\u05D0\u05D5\u05E7\u05D8\u05D5\u05D1\u05E8", "\u05E0\u05D5\u05D1\u05DE\u05D1\u05E8", "\u05D3\u05E6\u05DE\u05D1\u05E8", null }; - - static final String[] ampms = { "AM", "PM" }; - - static final String shortDateFormat = "dd/MM/yy"; - static final String defaultTimeFormat = "hh:m:s a"; - static final String currencySymbol = "\u05E9\u05D7"; - static final String intlCurrencySymbol = "ILS"; - static final String currencyFormat = "$ #,###,##0.00;$ #,###,##0.00-"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ja_JP.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ja_JP.java deleted file mode 100644 index fc93683f0..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ja_JP.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_ja_JP.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_ja_JP extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ","; - static final String numberFormat = "#,##0.###"; - static final String percentFormat = "#,##0%"; - static final String[] weekdays = { null, "\u65E5\u66DC\u65E5", "\u6708\u66DC\u65E5", "\u706B\u66DC\u65E5", "\u6C34\u66DC\u65E5", "\u6728\u66DC\u65E5", "\u91D1\u66DC\u65E5", "\u571F\u66DC\u65E5" }; - - static final String[] shortWeekdays = { null, "\u65E5", "\u6708", "\u706B", "\u6C34", "\u6728", "\u91D1", "\u571F" }; - - static final String[] shortMonths = { " 1\u6708", " 2\u6708", " 3\u6708", " 4\u6708", " 5\u6708", " 6\u6708", " 7\u6708", " 8\u6708", " 9\u6708", "10\u6708", "11\u6708", "12\u6708", null }; - - static final String[] months = { "1\u6708", "2\u6708", "3\u6708", "4\u6708", "5\u6708", "6\u6708", "7\u6708", "8\u6708", "9\u6708", "10\u6708", "11\u6708", "12\u6708", null }; - - static final String[] ampms = { "\u5348\u524D", "\u5348\u5F8C" }; - - static final String shortDateFormat = "yyyyMMdd"; - static final String defaultTimeFormat = "ahhms"; - static final String currencySymbol = "\uFFE5"; - static final String intlCurrencySymbol = "JPY"; - static final String currencyFormat = "$#,##0.;$-#,##0."; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ka_GE.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ka_GE.java deleted file mode 100644 index cbec6aa4f..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ka_GE.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_ka_GE.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_ka_GE extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = "."; - static final String numberFormat = "#,###,##0.###"; - static final String percentFormat = "#,###,##0%"; - static final String[] weekdays = { null, "\u10D9\u10D5\u10D8\u10E0\u10D0", "\u10DD\u10E0\u10E8\u10D0\u10D1\u10D0\u10D7\u10D8", "\u10E1\u10D0\u10DB\u10E8\u10D0\u10D1\u10D0\u10D7\u10D8", "\u10DD\u10D7\u10EE\u10E8\u10D0\u10D1\u10D0\u10D7\u10D8", "\u10EE\u10E3\u10D7\u10E8\u10D0\u10D1\u10D0\u10D7\u10D8", "\u10DE\u10D0\u10E0\u10D0\u10E1\u10D9\u10D4\u10D5\u10D8", "\u10E8\u10D0\u10D1\u10D0\u10D7\u10D8" }; - - static final String[] shortWeekdays = { null, "\u10D9\u10D5\u10D8", "\u10DD\u10E0\u10E8", "\u10E1\u10D0\u10DB", "\u10DD\u10D7\u10EE", "\u10EE\u10E3\u10D7", "\u10DE\u10D0\u10E0", "\u10E8\u10D0\u10D1" }; - - static final String[] shortMonths = { "\u10D8\u10D0\u10DC", "\u10D7\u10D4\u10D1", "\u10DB\u10D0\u10E0", "\u10D0\u10DE\u10E0", "\u10DB\u10D0\u10D8", "\u10D8\u10D5\u10DC", "\u10D8\u10D5\u10DA", "\u10D0\u10D2\u10D5", "\u10E1\u10D4\u10E5", "\u10DD\u10E5\u10E2", "\u10DC\u10DD\u10D4", "\u10D3\u10D4\u10D9", null }; - - static final String[] months = { "\u10D8\u10D0\u10DC\u10D5\u10D0\u10E0\u10D8", "\u10D7\u10D4\u10D1\u10D4\u10E0\u10D5\u10D0\u10DA\u10D8", "\u10DB\u10D0\u10E0\u10E2\u10D8", "\u10D0\u10DE\u10E0\u10D8\u10DA\u10D8", "\u10DB\u10D0\u10D8\u10E1\u10D8", "\u10D8\u10D5\u10DC\u10D8\u10E1\u10D8", "\u10D8\u10D5\u10DA\u10D8\u10E1\u10D8", "\u10D0\u10D2\u10D5\u10D8\u10E1\u10E2\u10DD", "\u10E1\u10D4\u10E5\u10E2\u10D4\u10DB\u10D1\u10D4\u10E0\u10D8", "\u10DD\u10E5\u10E2\u10DD\u10DB\u10D1\u10D4\u10E0\u10D8", "\u10DC\u10DD\u10D4\u10DB\u10D1\u10D4\u10E0\u10D8", "\u10D3\u10D4\u10D9\u10D4\u10DB\u10D1\u10D4\u10E0\u10D8", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "MM/dd/yyyy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "\u10DA"; - static final String intlCurrencySymbol = "GEL"; - static final String currencyFormat = "$#,###,##0.00;-$#,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_kl_GL.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_kl_GL.java deleted file mode 100644 index 23d00a8d4..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_kl_GL.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_kl_GL.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_kl_GL extends ListResourceBundle -{ - static final String decimalSeparator = LocaleInformation_da_DK.decimalSeparator; - static final String groupingSeparator = LocaleInformation_da_DK.groupingSeparator; - static final String numberFormat = LocaleInformation_da_DK.numberFormat; - static final String percentFormat = LocaleInformation_da_DK.percentFormat; - static final String[] weekdays = { null, "sabaat", "ataasinngorneq", "marlunngorneq", "pingasunngorneq", "sisamanngorneq", "tallimanngorneq", "arfininngorneq" }; - - static final String[] shortWeekdays = { null, "sab", "ata", "mar", "pin", "sis", "tal", "arf" }; - - static final String[] shortMonths = { "jan", "feb", "mar", "apr", "maj", "jun", "jul", "aug", "sep", "okt", "nov", "dec", null }; - - static final String[] months = { "januari", "februari", "martsi", "aprili", "maji", "juni", "juli", "augustusi", "septemberi", "oktoberi", "novemberi", "decemberi", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd MMM yyyy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = LocaleInformation_da_DK.currencySymbol; - static final String intlCurrencySymbol = LocaleInformation_da_DK.intlCurrencySymbol; - static final String currencyFormat = LocaleInformation_da_DK.currencyFormat; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ko_KR.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ko_KR.java deleted file mode 100644 index d21ce83f1..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ko_KR.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_ko_KR.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_ko_KR extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ","; - static final String numberFormat = "#,###,##0.###"; - static final String percentFormat = "#,###,##0%"; - static final String[] weekdays = { null, "\uC77C\uC694\uC77C", "\uC6D4\uC694\uC77C", "\uD654\uC694\uC77C", "\uC218\uC694\uC77C", "\uBAA9\uC694\uC77C", "\uAE08\uC694\uC77C", "\uD1A0\uC694\uC77C" }; - - static final String[] shortWeekdays = { null, "\uC77C", "\uC6D4", "\uD654", "\uC218", "\uBAA9", "\uAE08", "\uD1A0" }; - - static final String[] shortMonths = { " 1\uC6D4", " 2\uC6D4", " 3\uC6D4", " 4\uC6D4", " 5\uC6D4", " 6\uC6D4", " 7\uC6D4", " 8\uC6D4", " 9\uC6D4", "10\uC6D4", "11\uC6D4", "12\uC6D4", null }; - - static final String[] months = { "\uC77C\uC6D4", "\uC774\uC6D4", "\uC0BC\uC6D4", "\uC0AC\uC6D4", "\uC624\uC6D4", "\uC720\uC6D4", "\uCE60\uC6D4", "\uD314\uC6D4", "\uAD6C\uC6D4", "\uC2DC\uC6D4", "\uC2ED\uC77C\uC6D4", "\uC2ED\uC774\uC6D4", null }; - - static final String[] ampms = { "\uC624\uC804", "\uC624\uD6C4" }; - - static final String shortDateFormat = "yyyy MM dd"; - static final String defaultTimeFormat = "a hh m s"; - static final String currencySymbol = "\uFFE6"; - static final String intlCurrencySymbol = "KRW"; - static final String currencyFormat = "$#,###,##0.;$-#,###,##0."; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_kw_GB.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_kw_GB.java deleted file mode 100644 index b10edbc2d..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_kw_GB.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_kw_GB.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_kw_GB extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ","; - static final String numberFormat = "#,###,##0.###"; - static final String percentFormat = "#,###,##0%"; - static final String[] weekdays = { null, "De Sul", "De Lun", "De Merth", "De Merher", "De Yow", "De Gwener", "De Sadorn" }; - - static final String[] shortWeekdays = { null, "Sul", "Lun", "Mth", "Mhr", "Yow", "Gwe", "Sad" }; - - static final String[] shortMonths = { "Gen", "Whe>", "Mer", "Ebr", "Me", "Evn", "Gor", "Est", "Gwn", "Hed", "Du", "Kev", null }; - - static final String[] months = { "Mys Genver", "Mys Whevrel", "Mys Merth", "Mys Ebrel", "Mys Me", "Mys Evan", "Mys Gortheren", "Mye Est", "Mys Gwyngala", "Mys Hedra", "Mys Du", "Mys Kevardhu", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd/MM/yy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "\u00A3"; - static final String intlCurrencySymbol = "GBP"; - static final String currencyFormat = "$#,###,##0.00;-$#,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_lt_LT.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_lt_LT.java deleted file mode 100644 index b2074da07..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_lt_LT.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_lt_LT.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_lt_LT extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = "."; - static final String numberFormat = "#,###,##0.###"; - static final String percentFormat = "#,###,##0%"; - static final String[] weekdays = { null, "Sekmadienis", "Pirmadienis", "Antradienis", "Tre\u010Diadienis", "Ketvirtadienis", "Penktadienis", "\u0160e\u0161tadienis" }; - - static final String[] shortWeekdays = { null, "Sk", "Pr", "An", "Tr", "Kt", "Pn", "\u0160t" }; - - static final String[] shortMonths = { "Sau", "Vas", "Kov", "Bal", "Geg", "Bir", "Lie", "Rgp", "Rgs", "Spa", "Lap", "Grd", null }; - - static final String[] months = { "sausio", "vasario", "kovo", "baland\u017Eio", "gegu\u017E\u0117s", "bir\u017Eelio", "liepos", "rugpj\u016B\u010Dio", "rugs\u0117jo", "spalio", "lapkri\u010Dio", "gruod\u017Eio", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "yyyy.MM.dd"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "Lt"; - static final String intlCurrencySymbol = "LTL"; - static final String currencyFormat = "#,###,##0.00 $;-#,###,##0.00 $"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_lv_LV.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_lv_LV.java deleted file mode 100644 index a77651305..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_lv_LV.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_lv_LV.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_lv_LV extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = "\u00A0"; - static final String numberFormat = "#,###,##0.###"; - static final String percentFormat = "#,###,##0%"; - static final String[] weekdays = { null, "sv\u0113tdiena", "pirmdiena", "otrdiena", "tre\u0161diena", "ceturtdiena", "piektdiena", "sestdiena" }; - - static final String[] shortWeekdays = { null, "Sv", "P\u00A0", "O\u00A0", "T\u00A0", "C\u00A0", "Pk", "S\u00A0" }; - - static final String[] shortMonths = { "jan", "feb", "mar", "apr", "mai", "j\u016Bn", "j\u016Bl", "aug", "sep", "okt", "nov", "dec", null }; - - static final String[] months = { "janv\u0101ris", "febru\u0101ris", "marts", "apr\u012Blis", "maijs", "j\u016Bnijs", "j\u016Blijs", "augusts", "septembris", "oktobris", "novembris", "decembris", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "yyyy.MM.dd."; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "Ls"; - static final String intlCurrencySymbol = "LVL"; - static final String currencyFormat = "$ #,###,##0.00;-$ #,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_mi_NZ.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_mi_NZ.java deleted file mode 100644 index 99125bc20..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_mi_NZ.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_mi_NZ.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_mi_NZ extends ListResourceBundle -{ - static final String decimalSeparator = LocaleInformation_en_NZ.decimalSeparator; - static final String groupingSeparator = LocaleInformation_en_NZ.groupingSeparator; - static final String numberFormat = LocaleInformation_en_NZ.numberFormat; - static final String percentFormat = LocaleInformation_en_NZ.percentFormat; - static final String[] weekdays = { null, "R\u0101tapu", "Mane", "T\u016Brei", "Wenerei", "T\u0101ite", "Paraire", "H\u0101tarei" }; - - static final String[] shortWeekdays = { null, "Ta", "Ma", "T\u016B", "We", "T\u0101i", "Pa", "H\u0101" }; - - static final String[] shortMonths = { "Kohi", "Hui", "Pou", "Pae", "Hara", "Pipi", "H\u014Dngoi", "Here", "Mahu", "Whi-nu", "Whi-ra", "Haki", null }; - - static final String[] months = { "Kohi-t\u0101tea", "Hui-tanguru", "Pout\u016B-te-rangi", "Paenga-wh\u0101wh\u0101", "Haratua", "Pipiri", "H\u014Dngoingoi", "Here-turi-k\u014Dk\u0101", "Mahuru", "Whiringa-\u0101-nuku", "Whiringa-\u0101-rangi", "Hakihea", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd/MM/yy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = LocaleInformation_en_NZ.currencySymbol; - static final String intlCurrencySymbol = LocaleInformation_en_NZ.intlCurrencySymbol; - static final String currencyFormat = LocaleInformation_en_NZ.currencyFormat; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_mk_MK.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_mk_MK.java deleted file mode 100644 index 3c109dfd1..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_mk_MK.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_mk_MK.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_mk_MK extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = " "; - static final String numberFormat = "#,###,##0.###"; - static final String percentFormat = "#,###,##0%"; - static final String[] weekdays = { null, "\u043D\u0435\u0434\u0435\u043B\u0430", "\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u043D\u0438\u043A", "\u0432\u0442\u043E\u0440\u043D\u0438\u043A", "\u0441\u0440\u0435\u0434\u0430", "\u0447\u0435\u0442\u0432\u0440\u0442\u043E\u043A", "\u043F\u0435\u0442\u043E\u043A", "\u0441\u0430\u0431\u043E\u0442\u0430" }; - - static final String[] shortWeekdays = { null, "\u043D\u0435\u0434", "\u043F\u043E\u043D", "\u0432\u0442\u043E", "\u0441\u0440\u0435", "\u0447\u0435\u0442", "\u043F\u0435\u0442", "\u0441\u0430\u0431" }; - - static final String[] shortMonths = { "\u0458\u0430\u043D", "\u0444\u0435\u0432", "\u043C\u0430\u0440", "\u0430\u043F\u0440", "\u043C\u0430\u0458", "\u0458\u0443\u043D", "\u0458\u0443\u043B", "\u0430\u0432\u0433", "\u0441\u0435\u043F", "\u043E\u043A\u0442", "\u043D\u043E\u0435", "\u0434\u0435\u043A", null }; - - static final String[] months = { "\u0458\u0430\u043D\u0443\u0430\u0440\u0438", "\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438", "\u043C\u0430\u0440\u0442", "\u0430\u043F\u0440\u0438\u043B", "\u043C\u0430\u0458", "\u0458\u0443\u043D\u0438", "\u0458\u0443\u043B\u0438", "\u0430\u0432\u0433\u0443\u0441\u0442", "\u0441\u0435\u043F\u0442\u0435\u043C\u0432\u0440\u0438", "\u043E\u043A\u0442\u043E\u043C\u0432\u0440\u0438", "\u043D\u043E\u0435\u043C\u0432\u0440\u0438", "\u0434\u0435\u043A\u0435\u043C\u0432\u0440\u0438", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd.MM.yyyy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "\u0434\u0435\u043D"; - static final String intlCurrencySymbol = "MKD"; - static final String currencyFormat = "#,###,##0.00 $;-#,###,##0.00 $"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_mr_IN.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_mr_IN.java deleted file mode 100644 index 7a844b28c..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_mr_IN.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_mr_IN.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_mr_IN extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ","; - static final String numberFormat = "#,##0.###"; - static final String percentFormat = "#,##0%"; - static final String[] weekdays = { null, "\u0930\u0935\u093F\u0935\u093E\u0930", "\u0938\u094B\u092E\u0935\u093E\u0930", "\u092E\u0902\u0917\u0933\u0935\u093E\u0930", "\u092E\u0902\u0917\u0933\u0935\u093E\u0930", "\u0917\u0941\u0930\u0941\u0935\u093E\u0930", "\u0936\u0941\u0915\u094D\u0930\u0935\u093E\u0930", "\u0936\u0928\u093F\u0935\u093E\u0930" }; - - static final String[] shortWeekdays = { null, "\u0930\u0935\u093F", "\u0938\u094B\u092E", "\u092E\u0902\u0917\u0933", "\u092C\u0941\u0927", "\u0917\u0941\u0930\u0941", "\u0936\u0941\u0915\u094D\u0930", "\u0936\u0928\u093F" }; - - static final String[] shortMonths = { "\u091C\u093E\u0928\u0947\u0935\u093E\u0930\u0940", "\u092B\u0947\u092C\u0943\u0935\u093E\u0930\u0940", "\u092E\u093E\u0930\u094D\u091A", "\u090F\u092A\u094D\u0930\u093F\u0932", "\u092E\u0947", "\u091C\u0942\u0928", "\u091C\u0941\u0932\u0948", "\u0913\u0917\u0938\u094D\u091F", "\u0938\u0947\u092A\u094D\u091F\u0947\u0902\u092C\u0930", "\u0913\u0915\u094D\u091F\u094B\u092C\u0930", "\u0928\u094B\u0935\u094D\u0939\u0947\u0902\u092C\u0930", "\u0921\u093F\u0938\u0947\u0902\u092C\u0930", null }; - - static final String[] months = { "\u091C\u093E\u0928\u0947\u0935\u093E\u0930\u0940", "\u092B\u0947\u092C\u0943\u0935\u093E\u0930\u0940", "\u092E\u093E\u0930\u094D\u091A", "\u090F\u092A\u094D\u0930\u093F\u0932", "\u092E\u0947", "\u091C\u0942\u0928", "\u091C\u0941\u0932\u0948", "\u0913\u0917\u0938\u094D\u091F", "\u0938\u0947\u092A\u094D\u091F\u0947\u0902\u092C\u0930", "\u0913\u0915\u094D\u091F\u094B\u092C\u0930", "\u0928\u094B\u0935\u094D\u0939\u0947\u0902\u092C\u0930", "\u0921\u093F\u0938\u0947\u0902\u092C\u0930", null }; - - static final String[] ampms = { "\u092E.\u092A\u0942.", "\u092E.\u0928\u0902." }; - - static final String shortDateFormat = "EEEE dd MMM yyyy"; - static final String defaultTimeFormat = "hh:m:s a z"; - static final String currencySymbol = "\u0930\u0941"; - static final String intlCurrencySymbol = "INR"; - static final String currencyFormat = "$ #,##0.00;-$ #,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_mt_MT.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_mt_MT.java deleted file mode 100644 index 5d867e6c5..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_mt_MT.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_mt_MT.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_mt_MT extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ","; - static final String numberFormat = "#,##0.###"; - static final String percentFormat = "#,##0%"; - static final String[] weekdays = { null, "il-\u0126add", "it-Tnejn", "it-Tlieta", "l-Erbg\u0127a", "il-\u0126amis", "il-\u0120img\u0127a", "is-Sibt" }; - - static final String[] shortWeekdays = { null, "\u0126ad", "Tne", "Tli", "Erb", "\u0126am", "\u0120im", "Sib" }; - - static final String[] shortMonths = { "Jan", "Fra", "Mar", "Apr", "Mej", "\u0120un", "Lul", "Awi", "Set", "Ott", "Nov", "Di\u010B", null }; - - static final String[] months = { "Jannar", "Frar", "Marzu", "April", "Mejju", "\u0120unju", "Lulju", "Awissu", "Settembru", "Ottubru", "Novembru", "Di\u010Bembru ", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "EEEE, dd ta MMM, yyyy"; - static final String defaultTimeFormat = "hh:m:s a z"; - static final String currencySymbol = "Lm"; - static final String intlCurrencySymbol = "MTL"; - static final String currencyFormat = "$#,##0.00;($#,##0.00)"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_nl.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_nl.java deleted file mode 100644 index 27a4d2b2b..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_nl.java +++ /dev/null @@ -1,313 +0,0 @@ -/* LocaleInformation_nl.java -- Dutch locale data - Copyright (C) 1999, 2001 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -/** - * This class contains locale data for the Dutch locale - */ - -public class LocaleInformation_nl extends ListResourceBundle -{ - -/* - * This area is used for defining object values - */ - -/** - * This is the set of collation rules used by java.text.RuleBasedCollator - * to sort strings properly. See the documentation of that class for the - * proper format. - * <p> - * This is the same rule as used in the English locale. - */ -private static final String collation_rules = - "<0<1<2<3<4<5<6<7<8<9<A,a<b,B<c,C<d,D<e,E<f,F<g,G<h,H<i,I<j,J<k,K" + - "<l,L<m,M<n,N<o,O<p,P<q,Q<r,R<s,S<t,T<u,U<v,V<w,W<x,X<y,Y<z,Z"; - -/** - * This is the list of months, fully spelled out - */ -private static final String[] months = { "januari", "februari", "maart", - "april", "mei", "juni", "juli", "augustus", "september", "october", - "november", "december", null }; - -/** - * This is the list of abbreviated month names - */ -private static final String[] shortMonths = { "jan", "feb", "mrt", "apr", "mei", - "jun", "jul", "aug", "sep", "oct", "nov", "dec", null }; - -/** - * This is the list of weekdays, fully spelled out - */ -private static final String[] weekdays = { null, "zondag", "maandag", "dinsdag", - "woensdag", "donderdag", "vrijdag", "zaterdag" }; - -/** - * This is the list of abbreviated weekdays - */ -private static final String[] shortWeekdays = { null, "zo", "ma", "di", "wo", - "do", "vr", "za" }; - -/** - * This is the list of AM/PM strings - * <p> - * Is there a real equivalent in Dutch? "Voormiddag"/"Namiddag"? - * Just using the Latin names for now. - */ -private static final String[] ampms = { "AM", "PM" }; - -/** - * This is the list of era identifiers - * <p> - * Is there a real equivalent in Dutch? "voor Christus"/"na Christus"? - * Just use the Latin/English names for now. - */ -private static final String[] eras = { "BC", "AD" }; - -/** - * This is the list of timezone strings. The JDK appears to include a - * city name as the sixth element. - * XXX - TODO - FIXME - Which timezones should be included here and how are - * they called? - */ -private static final String[][] zoneStrings = -{ - // European time zones. The city names are a little bit random. - { "WET", "West Europese Tijd", "WET", "West Europese Zomertijd", "WEST", "London" }, - { "CET", "Centraal Europese Tijd", "CET", "Centraal Europese Zomertijd", "CEST", "Amsterdam" }, - { "EET", "Oost Europese Tijd", "EET", "Oost Europese Zomertijd", "EEST", "Istanbul" }, -}; - -/** - * This is the list of pattern characters for formatting dates - * <p> - * This is the same as the English locale uses: era (G), year (y), month (M), - * month (d), hour from 1-12 (h), hour 0-23 (H), minute (m), second (s), - * millisecond (S), date of week (E), date of year (D), - * day of week in month (F), week in year (w), week in month (W), am/pm (a), - * hour from 1-24 (k), hour from 0-11 (K), time zone (z). - * Why would you use others? - */ -private static final String localPatternChars = "GyMdhHmsSEDFwWakKz"; // Not a mistake! - -/** - * This is the DateFormat.SHORT date format - */ -private static final String shortDateFormat = "dd-MM-yy"; - -/** - * This is the DateFormat.MEDIUM format - */ -private static final String mediumDateFormat = "dd-MMM-yy"; - -/** - * This is the DateFormat.LONG format - */ -private static final String longDateFormat = "dd MMMM yyyy"; - -/** - * This is the DateFormat.FULL format - */ -private static final String fullDateFormat = "EEEE dd MMMM yyyy"; - -/** - * This is the DateFormat.DEFAULT format - */ -private static final String defaultDateFormat = mediumDateFormat; - -/** - * This is the TimeFormat.SHORT format - */ -private static final String shortTimeFormat = "HH:mm"; - -/** - * This is the TimeFormat.MEDIUM format - */ -private static final String mediumTimeFormat = "HH:mm:ss"; - -/** - * This is the TimeFormat.LONG format - */ -private static final String longTimeFormat = "HH:mm:ss"; - -/** - * This is the TimeFormat.FULL format - */ -private static final String fullTimeFormat = "HH:mm:ss z"; - -/** - * This is the TimeFormat.DEFAULT format - */ -private static final String defaultTimeFormat = shortTimeFormat; - -/** - * This is the currency symbol - */ -private static final String currencySymbol = "fl"; - -/** - * This is the international currency symbol. - */ -private static final String intlCurrencySymbol = "NLG"; - -/** - * This is the decimal point. - */ -private static final String decimalSeparator = ","; - -/** - * This is the exponential symbol - */ -private static final String exponential = "E"; - -/** - * This is the char used for digits in format strings - */ -private static final String digit = "#"; - -/** - * This is the grouping separator symbols - */ -private static final String groupingSeparator = ","; - -/** - * This is the symbols for infinity - */ -private static final String infinity = "\u221e"; - -/** - * This is the symbol for the not a number value - */ -private static final String NaN = "\ufffd"; - -/** - * This is the minus sign symbol. - */ -private static final String minusSign = "-"; - -/** - * This is the decimal separator in monetary values. - */ -private static final String monetarySeparator = ","; - -/** - * This is the separator between positive and negative subpatterns. - */ -private static final String patternSeparator = ";"; - -/** - * This is the percent sign - */ -private static final String percent = "%"; - -/** - * This is the per mille sign - */ -private static final String perMill = "\u2030"; - -/** - * This is the character for zero. - */ -private static final String zeroDigit = "0"; - -/*************************************************************************/ - -/** - * This is the object array used to hold the keys and values - * for this bundle - */ - -private static final Object[][] contents = -{ - // For RuleBasedCollator - { "collation_rules", collation_rules }, - // For SimpleDateFormat/DateFormatSymbols - { "months", months }, - { "shortMonths", shortMonths }, - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "ampms", ampms }, - { "eras", eras }, - { "zoneStrings", zoneStrings }, - { "localPatternChars", localPatternChars }, - { "shortDateFormat", shortDateFormat }, - { "mediumDateFormat", mediumDateFormat }, - { "longDateFormat", longDateFormat }, - { "fullDateFormat", fullDateFormat }, - { "defaultDateFormat", defaultDateFormat }, - { "shortTimeFormat", shortTimeFormat }, - { "mediumTimeFormat", mediumTimeFormat }, - { "longTimeFormat", longTimeFormat }, - { "fullTimeFormat", fullTimeFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - // For DecimalFormat/DecimalFormatSymbols - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "decimalSeparator", decimalSeparator }, - { "digit", digit }, - { "exponential", exponential }, - { "groupingSeparator", groupingSeparator }, - { "infinity", infinity }, - { "NaN", NaN }, - { "minusSign", minusSign }, - { "monetarySeparator", monetarySeparator }, - { "patternSeparator", patternSeparator }, - { "percent", percent }, - { "perMill", perMill }, - { "zeroDigit", zeroDigit }, -}; - -/*************************************************************************/ - -/** - * This method returns the object array of key, value pairs containing - * the data for this bundle. - * - * @return The key, value information. - */ -public Object[][] -getContents() -{ - return(contents); -} - -} // class LocaleInformation_nl diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_nl_BE.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_nl_BE.java deleted file mode 100644 index c6ad6811e..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_nl_BE.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_nl_BE.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_nl_BE extends ListResourceBundle -{ - static final String decimalSeparator = LocaleInformation_fr_BE.decimalSeparator; - static final String groupingSeparator = LocaleInformation_fr_BE.groupingSeparator; - static final String numberFormat = LocaleInformation_fr_BE.numberFormat; - static final String percentFormat = LocaleInformation_fr_BE.percentFormat; - static final String[] weekdays = { null, "zondag", "maandag", "dinsdag", "woensdag", "donderdag", "vrijdag", "zaterdag" }; - - static final String[] shortWeekdays = { null, "zo", "ma", "di", "wo", "do", "vr", "za" }; - - static final String[] shortMonths = { "jan", "feb", "mrt", "apr", "mei", "jun", "jul", "aug", "sep", "okt", "nov", "dec", null }; - - static final String[] months = { "januari", "februari", "maart", "april", "mei", "juni", "juli", "augustus", "september", "oktober", "november", "december", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd-MM-yy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = LocaleInformation_fr_BE.currencySymbol; - static final String intlCurrencySymbol = LocaleInformation_fr_BE.intlCurrencySymbol; - static final String currencyFormat = LocaleInformation_fr_BE.currencyFormat; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_nl_NL.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_nl_NL.java deleted file mode 100644 index 2dfcaa2cc..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_nl_NL.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_nl_NL.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_nl_NL extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = ""; - static final String numberFormat = "#.###"; - static final String percentFormat = "#%"; - static final String[] weekdays = { null, "zondag", "maandag", "dinsdag", "woensdag", "donderdag", "vrijdag", "zaterdag" }; - - static final String[] shortWeekdays = { null, "zo", "ma", "di", "wo", "do", "vr", "za" }; - - static final String[] shortMonths = { "jan", "feb", "mrt", "apr", "mei", "jun", "jul", "aug", "sep", "okt", "nov", "dec", null }; - - static final String[] months = { "januari", "februari", "maart", "april", "mei", "juni", "juli", "augustus", "september", "oktober", "november", "december", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd-MM-yy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "fl"; - static final String intlCurrencySymbol = "NLG"; - static final String currencyFormat = "$ #,###,##0.00;$ #,###,##0.00-"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_nn_NO.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_nn_NO.java deleted file mode 100644 index aa79e5c42..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_nn_NO.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_nn_NO.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_nn_NO extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = "\u00A0"; - static final String numberFormat = "#,##0.###"; - static final String percentFormat = "#,##0%"; - static final String[] weekdays = { null, "sundag ", "m\u00E5ndag ", "tysdag ", "onsdag ", "torsdag ", "fredag ", "laurdag " }; - - static final String[] shortWeekdays = { null, "su ", "m\u00E5 ", "ty ", "on ", "to ", "fr ", "lau " }; - - static final String[] shortMonths = { "jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des", null }; - - static final String[] months = { "januar", "februar", "mars", "april", "mai", "juni", "juli", "august", "september", "oktober", "november", "desember", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd. MMM yyyy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "kr"; - static final String intlCurrencySymbol = "NOK"; - static final String currencyFormat = "$ #,##0.00;-$#,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_no_NO.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_no_NO.java deleted file mode 100644 index 44c812171..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_no_NO.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_no_NO.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_no_NO extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = "."; - static final String numberFormat = "#,###,##0.###"; - static final String percentFormat = "#,###,##0%"; - static final String[] weekdays = { null, "s\u00F8ndag", "mandag", "tirsdag", "onsdag", "torsdag", "fredag", "l\u00F8rdag" }; - - static final String[] shortWeekdays = { null, "s\u00F8n", "man", "tir", "ons", "tor", "fre", "l\u00F8r" }; - - static final String[] shortMonths = { "jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des", null }; - - static final String[] months = { "januar", "februar", "mars", "april", "mai", "juni", "juli", "august", "september", "oktober", "november", "desember", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd-MM-yyyy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "kr"; - static final String intlCurrencySymbol = "NOK"; - static final String currencyFormat = "$#,###,##0.00;$-#,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_oc_FR.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_oc_FR.java deleted file mode 100644 index b7a14a987..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_oc_FR.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_oc_FR.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_oc_FR extends ListResourceBundle -{ - static final String decimalSeparator = LocaleInformation_fr_FR.decimalSeparator; - static final String groupingSeparator = LocaleInformation_fr_FR.groupingSeparator; - static final String numberFormat = LocaleInformation_fr_FR.numberFormat; - static final String percentFormat = LocaleInformation_fr_FR.percentFormat; - static final String[] weekdays = { null, "dimenge", "diluns", "dimars", "dimecres", "dij\u00F3us", "divendres", "disabte" }; - - static final String[] shortWeekdays = { null, "dim", "lun", "mar", "mec", "j\u00F3u", "ven", "sab" }; - - static final String[] shortMonths = { "gen", "feb", "mar", "abr", "mai", "jun", "jul", "ag\u00F3", "set", "oct", "nov", "dec", null }; - - static final String[] months = { "geni\u00E8r", "febri\u00E8r", "mar\u00E7", "abrial", "mai", "junh", "julhet", "ag\u00F3st", "setembre", "octobre", "novembre", "decembre", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd.MM.yyyy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = LocaleInformation_fr_FR.currencySymbol; - static final String intlCurrencySymbol = LocaleInformation_fr_FR.intlCurrencySymbol; - static final String currencyFormat = LocaleInformation_fr_FR.currencyFormat; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_pl_PL.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_pl_PL.java deleted file mode 100644 index 6dc22702b..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_pl_PL.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_pl_PL.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_pl_PL extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = ""; - static final String numberFormat = "#.###"; - static final String percentFormat = "#%"; - static final String[] weekdays = { null, "niedziela", "poniedzia\u0142ek", "wtorek", "\u015Broda", "czwartek", "pi\u0105tek", "sobota" }; - - static final String[] shortWeekdays = { null, "nie", "pon", "wto", "\u015Bro", "czw", "pi\u0105", "sob" }; - - static final String[] shortMonths = { "sty", "lut", "mar", "kwi", "maj", "cze", "lip", "sie", "wrz", "pa\u017A", "lis", "gru", null }; - - static final String[] months = { "stycze\u0144", "luty", "marzec", "kwiecie\u0144", "maj", "czerwiec", "lipiec", "sierpie\u0144", "wrzesie\u0144", "pa\u017Adziernik", "listopad", "grudzie\u0144", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "yyyy-MM-dd"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "Z\u0142"; - static final String intlCurrencySymbol = "PLZ"; - static final String currencyFormat = "$#,###,##0.00;-$#,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_pt_BR.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_pt_BR.java deleted file mode 100644 index 4f3d858e9..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_pt_BR.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_pt_BR.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_pt_BR extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = ""; - static final String numberFormat = "#.###"; - static final String percentFormat = "#%"; - static final String[] weekdays = { null, "domingo", "segunda", "ter\u00E7a", "quarta", "quinta", "sexta", "s\u00E1bado" }; - - static final String[] shortWeekdays = { null, "Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "S\u00E1b" }; - - static final String[] shortMonths = { "Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez", null }; - - static final String[] months = { "janeiro", "fevereiro", "mar\u00E7o", "abril", "maio", "junho", "julho", "agosto", "setembro", "outubro", "novembro", "dezembro", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd-MM-yyyy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "R$"; - static final String intlCurrencySymbol = "BRL"; - static final String currencyFormat = "#,###,##0.00 $;-#,###,##0.00 $"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_pt_PT.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_pt_PT.java deleted file mode 100644 index 38e5e0ef9..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_pt_PT.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_pt_PT.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_pt_PT extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = ""; - static final String numberFormat = "#.###"; - static final String percentFormat = "#%"; - static final String[] weekdays = { null, "Domingo", "Segunda", "Ter\u00E7a", "Quarta", "Quinta", "Sexta", "S\u00E1bado" }; - - static final String[] shortWeekdays = { null, "Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "S\u00E1b" }; - - static final String[] shortMonths = { "Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez", null }; - - static final String[] months = { "Janeiro", "Fevereiro", "Mar\u00E7o", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd-MM-yyyy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "Esc"; - static final String intlCurrencySymbol = "PTE"; - static final String currencyFormat = "#,###,##0.00 $;-#,###,##0.00 $"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ro_RO.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ro_RO.java deleted file mode 100644 index 11e64bfda..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ro_RO.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_ro_RO.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_ro_RO extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = ""; - static final String numberFormat = "#.###"; - static final String percentFormat = "#%"; - static final String[] weekdays = { null, "Duminic\u0102", "Luni", "Mar\u0163i", "Miercuri", "Joi", "Vineri", "S\u00EEmb\u0102t\u0102" }; - - static final String[] shortWeekdays = { null, "Du", "Lu", "Ma", "Mi", "Jo", "Vi", "S\u00EE" }; - - static final String[] shortMonths = { "ian", "feb", "mar", "apr", "mai", "iun", "iul", "aug", "sep", "oct", "nov", "dec", null }; - - static final String[] months = { "Ianuarie", "Februarie", "Martie", "Aprilie", "Mai", "Iunie", "Iulie", "August", "Septembrie", "Octombrie", "Noiembrie", "Decembrie", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "yyyy-MM-dd"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "Lei"; - static final String intlCurrencySymbol = "ROL"; - static final String currencyFormat = "$ #,###,##0.00;-$ #,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ru_RU.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ru_RU.java deleted file mode 100644 index 8cf830c28..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ru_RU.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_ru_RU.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_ru_RU extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = "."; - static final String numberFormat = "#,###,##0.###"; - static final String percentFormat = "#,###,##0%"; - static final String[] weekdays = { null, "\u0412\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435", "\u041F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A", "\u0412\u0442\u043E\u0440\u043D\u0438\u043A", "\u0421\u0440\u0435\u0434\u0430", "\u0427\u0435\u0442\u0432\u0435\u0440\u0433", "\u041F\u044F\u0442\u043D\u0438\u0446\u0430", "\u0421\u0443\u0431\u0431\u043E\u0442\u0430" }; - - static final String[] shortWeekdays = { null, "\u0412\u0441\u043A", "\u041F\u043D\u0434", "\u0412\u0442\u0440", "\u0421\u0440\u0434", "\u0427\u0442\u0432", "\u041F\u0442\u043D", "\u0421\u0431\u0442" }; - - static final String[] shortMonths = { "\u042F\u043D\u0432", "\u0424\u0435\u0432", "\u041C\u0430\u0440", "\u0410\u043F\u0440", "\u041C\u0430\u0439", "\u0418\u044E\u043D", "\u0418\u044E\u043B", "\u0410\u0432\u0433", "\u0421\u0435\u043D", "\u041E\u043A\u0442", "\u041D\u043E\u044F", "\u0414\u0435\u043A", null }; - - static final String[] months = { "\u042F\u043D\u0432\u0430\u0440\u044F", "\u0424\u0435\u0432\u0440\u0430\u043B\u044F", "\u041C\u0430\u0440\u0442\u0430", "\u0410\u043F\u0440\u0435\u043B\u044F", "\u041C\u0430\u044F", "\u0418\u044E\u043D\u044F", "\u0418\u044E\u043B\u044F", "\u0410\u0432\u0433\u0443\u0441\u0442\u0430", "\u0421\u0435\u043D\u0442\u044F\u0431\u0440\u044F", "\u041E\u043A\u0442\u044F\u0431\u0440\u044F", "\u041D\u043E\u044F\u0431\u0440\u044F", "\u0414\u0435\u043A\u0430\u0431\u0440\u044F", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd.MM.yyyy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "\u0440\u0443\u0431"; - static final String intlCurrencySymbol = "RUR"; - static final String currencyFormat = "#,###,##0.00 $;-#,###,##0.00 $"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ru_UA.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ru_UA.java deleted file mode 100644 index ae6050179..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ru_UA.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_ru_UA.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_ru_UA extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = "."; - static final String numberFormat = "#,###,##0.###"; - static final String percentFormat = "#,###,##0%"; - static final String[] weekdays = { null, "\u0412\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435", "\u041F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A", "\u0412\u0442\u043E\u0440\u043D\u0438\u043A", "\u0421\u0440\u0435\u0434\u0430", "\u0427\u0435\u0442\u0432\u0435\u0440\u0433", "\u041F\u044F\u0442\u043D\u0438\u0446\u0430", "\u0421\u0443\u0431\u0431\u043E\u0442\u0430" }; - - static final String[] shortWeekdays = { null, "\u0412\u0441\u043A", "\u041F\u043D\u0434", "\u0412\u0442\u043E", "\u0421\u0440\u0434", "\u0427\u0442\u0432", "\u041F\u0442\u043D", "\u0421\u0443\u0431" }; - - static final String[] shortMonths = { "\u042F\u043D\u0432", "\u0424\u0435\u0432", "\u041C\u0430\u0440", "\u0410\u043F\u0440", "\u041C\u0430\u0439", "\u0418\u044E\u043D", "\u0418\u044E\u043B", "\u0410\u0432\u0433", "\u0421\u0435\u043D", "\u041E\u043A\u0442", "\u041D\u043E\u044F", "\u0414\u0435\u043A", null }; - - static final String[] months = { "\u042F\u043D\u0432\u0430\u0440\u044C", "\u0424\u0435\u0432\u0440\u0430\u043B\u044C", "\u041C\u0430\u0440\u0442", "\u0410\u043F\u0440\u0435\u043B\u044C", "\u041C\u0430\u0439", "\u0418\u044E\u043D\u044C", "\u0418\u044E\u043B\u044C", "\u0410\u0432\u0433\u0443\u0441\u0442", "\u0421\u0435\u043D\u0442\u044F\u0431\u0440\u044C", "\u041E\u043A\u0442\u044F\u0431\u0440\u044C", "\u041D\u043E\u044F\u0431\u0440\u044C", "\u0414\u0435\u043A\u0430\u0431\u0440\u044C", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd.MM.yyyy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "\u0433\u0440"; - static final String intlCurrencySymbol = "UAH"; - static final String currencyFormat = "#,###,##0.00 $;-#,###,##0.00 $"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_se_NO.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_se_NO.java deleted file mode 100644 index 4348d7066..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_se_NO.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_se_NO.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_se_NO extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = "."; - static final String numberFormat = "#,###,##0.###"; - static final String percentFormat = "#,###,##0%"; - static final String[] weekdays = { null, "sotnabeaivi", "vuoss\u00E1rga", "ma\u014B\u014Bebarga", "gaskavahkku", "duorasdat", "bearjadat", "l\u00E1vvardat" }; - - static final String[] shortWeekdays = { null, "sotn", "vuos", "ma\u014B", "gask", "duor", "bear", "l\u00E1v" }; - - static final String[] shortMonths = { "o\u0111\u0111j", "guov", "njuk", "cuo\u014B", "mies", "geas", "suoi", "borg", "\u010Dak\u010D", "golg", "sk\u00E1b", "juov", null }; - - static final String[] months = { "o\u0111\u0111ajagem\u00E1nu", "guovvam\u00E1nu", "njuk\u010Dam\u00E1nu", "cuo\u014Bom\u00E1nu", "miessem\u00E1nu", "geassem\u00E1nu", "suoidnem\u00E1nu", "borgem\u00E1nu", "\u010Dak\u010Dam\u00E1nu", "golggotm\u00E1nu", "sk\u00E1bmam\u00E1nu", "juovlam\u00E1nu", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "yyyy-MM-dd"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = " ru"; - static final String intlCurrencySymbol = "NOK"; - static final String currencyFormat = "$#,###,##0.00;$-#,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_sk_SK.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_sk_SK.java deleted file mode 100644 index 6390e0570..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_sk_SK.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_sk_SK.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_sk_SK extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = "\u00A0"; - static final String numberFormat = "#,###,##0.###"; - static final String percentFormat = "#,###,##0%"; - static final String[] weekdays = { null, "Nede\u013Ea", "Pondelok", "Utorok", "Streda", "\u0160tvrtok", "Piatok", "Sobota" }; - - static final String[] shortWeekdays = { null, "Ne", "Po", "Ut", "St", "\u0160t", "Pi", "So" }; - - static final String[] shortMonths = { "jan", "feb", "mar", "apr", "m\u00E1j", "j\u00FAn", "j\u00FAl", "aug", "sep", "okt", "nov", "dec", null }; - - static final String[] months = { "janu\u00E1r", "febru\u00E1r", "marec", "apr\u00EDl", "m\u00E1j", "j\u00FAn", "j\u00FAl", "august", "september", "okt\u00F3ber", "november", "december", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd.MM.yyyy"; - static final String defaultTimeFormat = "hh:m:s"; - static final String currencySymbol = "Sk"; - static final String intlCurrencySymbol = "SKK"; - static final String currencyFormat = "#,###,##0.00 $;-#,###,##0.00 $"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_sl_SI.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_sl_SI.java deleted file mode 100644 index d79f0d00c..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_sl_SI.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_sl_SI.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_sl_SI extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = " "; - static final String numberFormat = "#.###"; - static final String percentFormat = "#%"; - static final String[] weekdays = { null, "nedelja", "ponedeljek", "torek", "sreda", "\u010Detrtek", "petek", "sobota" }; - - static final String[] shortWeekdays = { null, "ned", "pon", "tor", "sre", "\u010Det", "pet", "sob" }; - - static final String[] shortMonths = { "jan", "feb", "mar", "apr", "maj", "jun", "jul", "avg", "sep", "okt", "nov", "dec", null }; - - static final String[] months = { "januar", "februar", "marec", "april", "maj", "junij", "julij", "avgust", "september", "oktober", "november", "december", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd.MM.yyyy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "SIT"; - static final String intlCurrencySymbol = "SIT"; - static final String currencyFormat = "#,###,##0.00 $;#,###,##0.00 $-"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_sq_AL.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_sq_AL.java deleted file mode 100644 index 64b7b6521..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_sq_AL.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_sq_AL.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_sq_AL extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = "."; - static final String numberFormat = "#,##0.###"; - static final String percentFormat = "#,##0%"; - static final String[] weekdays = { null, "e diel ", "e h\u00EBn\u00EB ", "e mart\u00EB ", "e m\u00EBrkur\u00EB ", "e enjte ", "e premte ", "e shtun\u00EB " }; - - static final String[] shortWeekdays = { null, "Die ", "H\u00EBn ", "Mar ", "M\u00EBr ", "Enj ", "Pre ", "Sht " }; - - static final String[] shortMonths = { "Jan", "Shk", "Mar", "Pri", "Maj", "Qer", "Kor", "Gsh", "Sht", "Tet", "N\u00EBn", "Dhj", null }; - - static final String[] months = { "janar", "shkurt", "mars", "prill", "maj", "qershor", "korrik", "gusht", "shtator", "tetor", "n\u00EBntor", "dhjetor", null }; - - static final String[] ampms = { "PD", "MD" }; - - static final String shortDateFormat = "yyyy-MMM-dd"; - static final String defaultTimeFormat = "hh.m.s.a z"; - static final String currencySymbol = "Lek"; - static final String intlCurrencySymbol = "ALL"; - static final String currencyFormat = "$#,##0.000;-$#,##0.000"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_sr_YU.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_sr_YU.java deleted file mode 100644 index 86e156fb4..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_sr_YU.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_sr_YU.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_sr_YU extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = ""; - static final String numberFormat = "#.###"; - static final String percentFormat = "#%"; - static final String[] weekdays = { null, "nedelja", "ponedeljak", "utorak", "sreda", "\u010Detvrtak", "petak", "subota" }; - - static final String[] shortWeekdays = { null, "ned", "pon", "uto", "sre", "\u010Det", "pet", "sub" }; - - static final String[] shortMonths = { "jan", "feb", "mar", "apr", "maj", "jun", "jul", "avg", "sep", "okt", "nov", "dec", null }; - - static final String[] months = { "januar", "februar", "mart", "april", "maj", "jun", "jul", "avgust", "septembar", "oktobar", "novembar", "decembar", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd-MM-yyyy."; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "din"; - static final String intlCurrencySymbol = "YUN"; - static final String currencyFormat = "$ #,###,##0.;-$ #,###,##0."; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_sv_FI.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_sv_FI.java deleted file mode 100644 index 36c808112..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_sv_FI.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_sv_FI.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_sv_FI extends ListResourceBundle -{ - static final String decimalSeparator = LocaleInformation_fi_FI.decimalSeparator; - static final String groupingSeparator = LocaleInformation_fi_FI.groupingSeparator; - static final String numberFormat = LocaleInformation_fi_FI.numberFormat; - static final String percentFormat = LocaleInformation_fi_FI.percentFormat; - static final String[] weekdays = { null, "s\u00F6ndag", "m\u00E5ndag", "tisdag", "onsdag", "torsdag", "fredag", "l\u00F6rdag" }; - - static final String[] shortWeekdays = { null, "s\u00F6n", "m\u00E5n", "tis", "ons", "tor", "fre", "l\u00F6r" }; - - static final String[] shortMonths = { "jan", "feb", "mar", "apr", "maj", "jun", "jul", "aug", "sep", "okt", "nov", "dec", null }; - - static final String[] months = { "januari", "februari", "mars", "april", "maj", "juni", "juli", "augusti", "september", "oktober", "november", "december", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "yyyy-MM-dd"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = LocaleInformation_fi_FI.currencySymbol; - static final String intlCurrencySymbol = LocaleInformation_fi_FI.intlCurrencySymbol; - static final String currencyFormat = LocaleInformation_fi_FI.currencyFormat; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_sv_SE.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_sv_SE.java deleted file mode 100644 index d9d94a4a8..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_sv_SE.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_sv_SE.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_sv_SE extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = " "; - static final String numberFormat = "#,###,##0.###"; - static final String percentFormat = "#,###,##0%"; - static final String[] weekdays = { null, "s\u00F6ndag", "m\u00E5ndag", "tisdag", "onsdag", "torsdag", "fredag", "l\u00F6rdag" }; - - static final String[] shortWeekdays = { null, "s\u00F6n", "m\u00E5n", "tis", "ons", "tor", "fre", "l\u00F6r" }; - - static final String[] shortMonths = { "jan", "feb", "mar", "apr", "maj", "jun", "jul", "aug", "sep", "okt", "nov", "dec", null }; - - static final String[] months = { "januari", "februari", "mars", "april", "maj", "juni", "juli", "augusti", "september", "oktober", "november", "december", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "yyyy-MM-dd"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "kr"; - static final String intlCurrencySymbol = "SEK"; - static final String currencyFormat = "#,###,##0.00 $;-#,###,##0.00 $"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ta_IN.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ta_IN.java deleted file mode 100644 index 6943d6a7d..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ta_IN.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_ta_IN.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_ta_IN extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ","; - static final String numberFormat = "#,##,##0.###"; - static final String percentFormat = "#,##,##0%"; - static final String[] weekdays = { null, "\u0B9E\u0BBE\u0BAF\u0BBF\u0BB1\u0BC1", "\u0BA4\u0BBF\u0B99\u0BCD\u0B95\u0BB3\u0BCD", "\u0B9A\u0BC6\u0BB5\u0BCD\u0BB5\u0BBE\u0BAF\u0BCD", "\u0BAA\u0BC1\u0BA4\u0BA9\u0BCD", "\u0BB5\u0BBF\u0BAF\u0BBE\u0BB4\u0BA9\u0BCD", "\u0BB5\u0BC6\u0BB3\u0BCD\u0BB3\u0BBF", "\u0B9A\u0BA9\u0BBF" }; - - static final String[] shortWeekdays = { null, "\u0B9E", "\u0BA4", "\u0B9A", "\u0BAA", "\u0BB5", "\u0BB5", "\u0B9A" }; - - static final String[] shortMonths = { "\u0B9C\u0BA9\u0BB5\u0BB0\u0BBF", "\u0BAA\u0BC6\u0BAA\u0BCD\u0BB0\u0BB5\u0BB0\u0BBF", "\u0BAE\u0BBE\u0BB0\u0BCD\u0B9A\u0BCD", "\u0B8F\u0BAA\u0BCD\u0BB0\u0BB2\u0BCD", "\u0BAE\u0BC7", "\u0B9C\u0BC2\u0BA9\u0BCD", "\u0B9C\u0BC2\u0BB2\u0BC8", "\u0B86\u0B95\u0BB8\u0BCD\u0B9F\u0BCD", "\u0B9A\u0BC6\u0BAA\u0BCD\u0B9F\u0BAE\u0BCD\u0BAA\u0BB0\u0BCD", "\u0B85\u0B95\u0BCD\u0B9F\u0BCB\u0BAA\u0BB0\u0BCD", "\u0BA8\u0BB5\u0BAE\u0BCD\u0BAA\u0BB0\u0BCD", "\u0B9F\u0BBF\u0B9A\u0BAE\u0BCD\u0BAA\u0BB0\u0BCDr", null }; - - static final String[] months = { "\u0B9C\u0BA9\u0BB5\u0BB0\u0BBF", "\u0BAA\u0BC6\u0BAA\u0BCD\u0BB0\u0BB5\u0BB0\u0BBF", "\u0BAE\u0BBE\u0BB0\u0BCD\u0B9A\u0BCD", "\u0B8F\u0BAA\u0BCD\u0BB0\u0BB2\u0BCD", "\u0BAE\u0BC7", "\u0B9C\u0BC2\u0BA9\u0BCD", "\u0B9C\u0BC2\u0BB2\u0BC8", "\u0B86\u0B95\u0BB8\u0BCD\u0B9F\u0BCD", "\u0B9A\u0BC6\u0BAA\u0BCD\u0B9F\u0BAE\u0BCD\u0BAA\u0BB0\u0BCD", "\u0B85\u0B95\u0BCD\u0B9F\u0BCB\u0BAA\u0BB0\u0BCD", "\u0BA8\u0BB5\u0BAE\u0BCD\u0BAA\u0BB0\u0BCD", "\u0B9F\u0BBF\u0B9A\u0BAE\u0BCD\u0BAA\u0BB0\u0BCDr", null }; - - static final String[] ampms = { "\u0B95\u0BBE\u0BB2\u0BC8", "\u0BAE\u0BBE\u0BB2\u0BC8" }; - - static final String shortDateFormat = "EEEE dd MMMM yyyy"; - static final String defaultTimeFormat = "hh:m:s a z"; - static final String currencySymbol = "\u20A8"; - static final String intlCurrencySymbol = "INR"; - static final String currencyFormat = "$ #,##,##0.00;-$ #,##,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_te_IN.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_te_IN.java deleted file mode 100644 index 00d8e25c0..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_te_IN.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_te_IN.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_te_IN extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ","; - static final String numberFormat = "#,###,#0.###"; - static final String percentFormat = "#,###,#0%"; - static final String[] weekdays = { null, "\u0C06\u0C26\u0C3F\u0C35\u0C3E\u0C30\u0C02", "\u0C38\u0C4B\u0C2E\u0C35\u0C3E\u0C30\u0C02", "\u0C2E\u0C02\u0C17\u0C33\u0C35\u0C3E\u0C30\u0C02", "\u0C2C\u0C41\u0C27\u0C35\u0C3E\u0C30\u0C02", "\u0C17\u0C41\u0C30\u0C41\u0C35\u0C3E\u0C30\u0C02", "\u0C36\u0C41\u0C15\u0C4D\u0C30\u0C35\u0C3E\u0C30\u0C02", "\u0C36\u0C28\u0C3F\u0C35\u0C3E\u0C30\u0C02" }; - - static final String[] shortWeekdays = { null, "\u0C06\u0C26\u0C3F", "\u0C38\u0C4B\u0C2E", "\u0C2E\u0C02\u0C17\u0C33", "\u0C2C\u0C41\u0C27", "\u0C17\u0C41\u0C30\u0C41", "\u0C36\u0C41\u0C15\u0C4D\u0C30", "\u0C36\u0C28\u0C3F" }; - - static final String[] shortMonths = { "\u0C1C\u0C28\u0C35\u0C30\u0C3F", "\u0C2B\u0C3F\u0C2C\u0C4D\u0C30\u0C35\u0C30\u0C3F", "\u0C2E\u0C3E\u0C30\u0C4D\u0C1A\u0C3F", "\u0C0F\u0C2A\u0C4D\u0C30\u0C3F\u0C32\u0C4D", "\u0C2E\u0C47", "\u0C1C\u0C42\u0C28\u0C4D", "\u0C1C\u0C42\u0C32\u0C48", "\u0C06\u0C17\u0C38\u0C4D\u0C1F\u0C41", "\u0C38\u0C46\u0C2A\u0C4D\u0C1F\u0C46\u0C02\u0C2C\u0C30\u0C4D", "\u0C05\u0C15\u0C4D\u0C1F\u0C4B\u0C2C\u0C30\u0C4D", "\u0C28\u0C35\u0C02\u0C2C\u0C30\u0C4D", "\u0C21\u0C3F\u0C38\u0C46\u0C02\u0C2C\u0C30\u0C4D", null }; - - static final String[] months = { "\u0C1C\u0C28\u0C35\u0C30\u0C3F", "\u0C2B\u0C3F\u0C2C\u0C4D\u0C30\u0C35\u0C30\u0C3F", "\u0C2E\u0C3E\u0C30\u0C4D\u0C1A\u0C3F", "\u0C0F\u0C2A\u0C4D\u0C30\u0C3F\u0C32\u0C4D", "\u0C2E\u0C47", "\u0C1C\u0C42\u0C28\u0C4D", "\u0C1C\u0C42\u0C32\u0C48", "\u0C06\u0C17\u0C38\u0C4D\u0C1F\u0C41", "\u0C38\u0C46\u0C2A\u0C4D\u0C1F\u0C46\u0C02\u0C2C\u0C30\u0C4D", "\u0C05\u0C15\u0C4D\u0C1F\u0C4B\u0C2C\u0C30\u0C4D", "\u0C28\u0C35\u0C02\u0C2C\u0C30\u0C4D", "\u0C21\u0C3F\u0C38\u0C46\u0C02\u0C2C\u0C30\u0C4D", null }; - - static final String[] ampms = { "\u0C2A\u0C42\u0C30\u0C4D\u0C35\u0C3E\u0C39\u0C4D\u0C28", "\u0C05\u0C2A\u0C30\u0C3E\u0C39\u0C4D\u0C28" }; - - static final String shortDateFormat = "EEEE dd MMM yyyy"; - static final String defaultTimeFormat = "hh:m:s a z"; - static final String currencySymbol = "\u0930\u0942"; - static final String intlCurrencySymbol = "INR"; - static final String currencyFormat = "$ #,###,#0.00;-$ #,###,#0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_tg_TJ.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_tg_TJ.java deleted file mode 100644 index 39ab30a39..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_tg_TJ.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_tg_TJ.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_tg_TJ extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = "."; - static final String numberFormat = "#,###,##0.###"; - static final String percentFormat = "#,###,##0%"; - static final String[] weekdays = { null, "\u0412\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435", "\u041F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A", "\u0412\u0442\u043E\u0440\u043D\u0438\u043A", "\u0421\u0440\u0435\u0434\u0430", "\u0427\u0435\u0442\u0432\u0435\u0440\u0433", "\u041F\u044F\u0442\u043D\u0438\u0446\u0430", "\u0421\u0443\u0431\u0431\u043E\u0442\u0430" }; - - static final String[] shortWeekdays = { null, "\u0412\u0441\u043A", "\u041F\u043D\u0434", "\u0412\u0442\u0440", "\u0421\u0440\u0434", "\u0427\u0442\u0432", "\u041F\u0442\u043D", "\u0421\u0431\u0442" }; - - static final String[] shortMonths = { "\u042F\u043D\u0432", "\u0424\u0435\u0432", "\u041C\u0430\u0440", "\u0410\u043F\u0440", "\u041C\u0430\u0439", "\u0418\u044E\u043D", "\u0418\u044E\u043B", "\u0410\u0432\u0433", "\u0421\u0435\u043D", "\u041E\u043A\u0442", "\u041D\u043E\u044F", "\u0414\u0435\u043A", null }; - - static final String[] months = { "\u042F\u043D\u0432\u0430\u0440\u044F", "\u0424\u0435\u0432\u0440\u0430\u043B\u044F", "\u041C\u0430\u0440\u0442\u0430", "\u0410\u043F\u0440\u0435\u043B\u044F", "\u041C\u0430\u044F", "\u0418\u044E\u043D\u044F", "\u0418\u044E\u043B\u044F", "\u0410\u0432\u0433\u0443\u0441\u0442\u0430", "\u0421\u0435\u043D\u0442\u044F\u0431\u0440\u044F", "\u041E\u043A\u0442\u044F\u0431\u0440\u044F", "\u041D\u043E\u044F\u0431\u0440\u044F", "\u0414\u0435\u043A\u0430\u0431\u0440\u044F", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd.MM.yyyy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "\u0440\u0443\u0431"; - static final String intlCurrencySymbol = "RUR"; - static final String currencyFormat = "#,###,##0.00 $;-#,###,##0.00 $"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_tl_PH.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_tl_PH.java deleted file mode 100644 index a49459042..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_tl_PH.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_tl_PH.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_tl_PH extends ListResourceBundle -{ - static final String decimalSeparator = LocaleInformation_en_US.decimalSeparator; - static final String groupingSeparator = LocaleInformation_en_US.groupingSeparator; - static final String numberFormat = LocaleInformation_en_US.numberFormat; - static final String percentFormat = LocaleInformation_en_US.percentFormat; - static final String[] weekdays = { null, "Linggo", "Lunes", "Martes", "Miyerkoles", "Huwebes", "Biyernes", "Sabado" }; - - static final String[] shortWeekdays = { null, "Lin", "Lun", "Mar", "Miy", "Huw", "Biy", "Sab" }; - - static final String[] shortMonths = { "Ene", "Peb", "Mar", "Abr", "May", "Hun", "Hul", "Ago", "Sep", "Okt", "Nob", "Dis", null }; - - static final String[] months = { "Enero", "Pebrero", "Marso", "Abril", "Mayo", "Hunyo", "Hulyo", "Agosto", "Septiyembre", "Oktubre", "Nobiyembre", "Disyembre", null }; - - static final String[] ampms = { "AM", "PM" }; - - static final String shortDateFormat = "MM/dd/yy"; - static final String defaultTimeFormat = "hh:m:s a"; - static final String currencySymbol = "PhP"; - static final String intlCurrencySymbol = "PHP"; - static final String currencyFormat = "$#,###,##0.00;-$ #,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_tr_TR.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_tr_TR.java deleted file mode 100644 index b02f38ed0..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_tr_TR.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_tr_TR.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_tr_TR extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ""; - static final String numberFormat = "#,##############################################################################################################################0.###"; - static final String percentFormat = "#,##############################################################################################################################0%"; - static final String[] weekdays = { null, "Pazar", "Pazartesi", "Sal\u0131", "\u00C7ar\u015Famba", "Per\u015Fembe", "Cuma", "Cumartesi" }; - - static final String[] shortWeekdays = { null, "Paz", "Pzt", "Sal", "\u00C7r\u015F", "Pr\u015F", "Cum", "Cts" }; - - static final String[] shortMonths = { "Oca", "\u015Eub", "Mar", "Nis", "May", "Haz", "Tem", "A\u011Fu", "Eyl", "Eki", "Kas", "Ara", null }; - - static final String[] months = { "Ocak", "\u015Eubat", "Mart", "Nisan", "May\u0131s", "Haziran", "Temmuz", "A\u011Fustos", "Eyl\u00FCl", "Ekim", "Kas\u0131m", "Aral\u0131k", null }; - - static final String[] ampms = { "\u00D6\u00D6", "\u00D6S" }; - - static final String shortDateFormat = "dd-MM-yyyy"; - static final String defaultTimeFormat = "hh:m:s a"; - static final String currencySymbol = "TL"; - static final String intlCurrencySymbol = "TRL"; - static final String currencyFormat = "#,##0.00 $;-#,##0.00 $"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_uk_UA.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_uk_UA.java deleted file mode 100644 index 0eb71f36b..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_uk_UA.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_uk_UA.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_uk_UA extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = "."; - static final String numberFormat = "#,###,##0.###"; - static final String percentFormat = "#,###,##0%"; - static final String[] weekdays = { null, "\u041D\u0435\u0434\u0456\u043B\u044F", "\u041F\u043E\u043D\u0435\u0434\u0456\u043B\u043E\u043A", "\u0412\u0456\u0432\u0442\u043E\u0440\u043E\u043A", "\u0421\u0435\u0440\u0435\u0434\u0430", "\u0427\u0435\u0442\u0432\u0435\u0440", "\u041F'\u044F\u0442\u043D\u0438\u0446\u044F", "\u0421\u0443\u0431\u043E\u0442\u0430" }; - - static final String[] shortWeekdays = { null, "\u041D\u0434\u043B", "\u041F\u043D\u0434", "\u0412\u0442\u0440", "\u0421\u0440\u0434", "\u0427\u0442\u0432", "\u041F\u0442\u043D", "\u0421\u0431\u0442" }; - - static final String[] shortMonths = { "\u0421\u0456\u0447", "\u041B\u044E\u0442", "\u0411\u0435\u0440", "\u041A\u0432\u0456", "\u0422\u0440\u0430", "\u0427\u0435\u0440", "\u041B\u0438\u043F", "\u0421\u0435\u0440", "\u0412\u0435\u0440", "\u0416\u043E\u0432", "\u041B\u0438\u0441", "\u0413\u0440\u0443", null }; - - static final String[] months = { "\u0421\u0456\u0447\u0435\u043D\u044C", "\u041B\u044E\u0442\u0438\u0439", "\u0411\u0435\u0440\u0435\u0437\u0435\u043D\u044C", "\u041A\u0432\u0456\u0442\u0435\u043D\u044C", "\u0422\u0440\u0430\u0432\u0435\u043D\u044C", "\u0427\u0435\u0440\u0432\u0435\u043D\u044C", "\u041B\u0438\u043F\u0435\u043D\u044C", "\u0421\u0435\u0440\u043F\u0435\u043D\u044C", "\u0412\u0435\u0440\u0435\u0441\u0435\u043D\u044C", "\u0416\u043E\u0432\u0442\u0435\u043D\u044C", "\u041B\u0438\u0441\u0442\u043E\u043F\u0430\u0434", "\u0413\u0440\u0443\u0434\u0435\u043D\u044C", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd.MM.yyyy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "\u0433\u0440"; - static final String intlCurrencySymbol = "UAH"; - static final String currencyFormat = "#,###,##0.00 $;-#,###,##0.00 $"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ur_PK.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ur_PK.java deleted file mode 100644 index a74eb6d9c..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_ur_PK.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_ur_PK.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_ur_PK extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ","; - static final String numberFormat = "#,###,##0.###"; - static final String percentFormat = "#,###,##0%"; - static final String[] weekdays = { null, "\u0627\u062A\u0648\u0627\u0631", "\u067E\u064A\u0631", "\u0645\u0646\u06AF\u0644", "\u0628\u062F\u06BE", "\u062C\u0645\u0639\u0631\u0627\u062A", "\u062C\u0645\u0639\u0647", "\u0647\u0641\u062A\u0647" }; - - static final String[] shortWeekdays = { null, "\u0627\u062A\u0648\u0627\u0631", "\u067E\u064A\u0631", "\u0645\u0646\u06AF\u0644", "\u0628\u062F\u06BE", "\u062C\u0645\u0639\u0631\u0627\u062A", "\u062C\u0645\u0639\u0647", "\u0647\u0641\u062A\u0647" }; - - static final String[] shortMonths = { "\u062C\u0646\u0648\u0631\u064A", "\u0641\u0631\u0648\u0631\u064A", "\u0645\u0627\u0631\u0686", "\u0627\u067E\u0631\u064A\u0644", "\u0645\u0653\u06CC", "\u062C\u0648\u0646", "\u062C\u0648\u0644\u0627\u064A", "\u0627\u06AF\u0633\u062A", "\u0633\u062A\u0645\u0628\u0631", "\u0627\u0643\u062A\u0648\u0628\u0631", "\u0646\u0648\u0645\u0628\u0631", "\u062F\u0633\u0645\u0628\u0631", null }; - - static final String[] months = { "\u062C\u0646\u0648\u0631\u064A", "\u0641\u0631\u0648\u0631\u064A", "\u0645\u0627\u0631\u0686", "\u0627\u067E\u0631\u064A\u0644", "\u0645\u0653\u06CC", "\u062C\u0648\u0646", "\u062C\u0648\u0644\u0627\u064A", "\u0627\u06AF\u0633\u062A", "\u0633\u062A\u0645\u0628\u0631", "\u0627\u0643\u062A\u0648\u0628\u0631", "\u0646\u0648\u0645\u0628\u0631", "\u062F\u0633\u0645\u0628\u0631", null }; - - static final String[] ampms = { "\u0635", "\u0634" }; - - static final String shortDateFormat = "dd/MM/yyyy"; - static final String defaultTimeFormat = "a hh:m:s"; - static final String currencySymbol = "Rs"; - static final String intlCurrencySymbol = "PKR"; - static final String currencyFormat = "$ #,###,##0.00;-$#,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_uz_UZ.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_uz_UZ.java deleted file mode 100644 index 29a765c1c..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_uz_UZ.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_uz_UZ.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_uz_UZ extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ","; - static final String numberFormat = "#,###,##0.###"; - static final String percentFormat = "#,###,##0%"; - static final String[] weekdays = { null, "yakshanba", "dushanba", "seshanba", "chorshanba", "payshanba", "juma", "shanba" }; - - static final String[] shortWeekdays = { null, "Yak", "Du", "Se", "Cho", "Pay", "Ju", "Sha" }; - - static final String[] shortMonths = { "Yav", "Fev", "Mar", "Apr", "May", "Iyn", "Iyl", "Avg", "Sen", "Okt", "Noy", "Dek", null }; - - static final String[] months = { "yanvar", "fevral", "mart", "aprel", "may", "iyun", "iyul", "avgust", "senyabr", "oktyabr", "noyabr", "dekabr", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "dd/MM/yy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "so'm"; - static final String intlCurrencySymbol = "UZS"; - static final String currencyFormat = "$#,###,##0.00;-$#,###,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_vi_VN.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_vi_VN.java deleted file mode 100644 index 87d1faecc..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_vi_VN.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_vi_VN.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_vi_VN extends ListResourceBundle -{ - static final String decimalSeparator = ","; - static final String groupingSeparator = "."; - static final String numberFormat = "#,##0.###"; - static final String percentFormat = "#,##0%"; - static final String[] weekdays = { null, "Th\u01B0\u0301 hai ", "Th\u01B0\u0301 ba ", "Th\u01B0\u0301 t\u01B0 ", "Th\u01B0\u0301 n\u0103m ", "Th\u01B0\u0301 s\u00E1u ", "Th\u01B0\u0301 ba\u0309y ", "Chu\u0309 nh\u00E2\u0323t " }; - - static final String[] shortWeekdays = { null, "Th 2 ", "Th 3 ", "Th 4 ", "Th 5 ", "Th 6 ", "Th 7 ", "CN " }; - - static final String[] shortMonths = { "Thg 1", "Thg 2", "Thg 3", "Thg 4", "Thg 5", "Thg 6", "Thg 7", "Thg 8", "Thg 9", "Thg 10", "Thg 11", "Thg 12", null }; - - static final String[] months = { "Th\u00E1ng m\u00F4\u0323t", "Th\u00E1ng hai", "Th\u00E1ng ba", "Th\u00E1ng t\u01B0", "Th\u00E1ng n\u0103m", "Th\u00E1ng s\u00E1u", "Th\u00E1ng ba\u0309y", "Th\u00E1ng t\u00E1m", "Th\u00E1ng ch\u00EDn", "Th\u00E1ng m\u01B0\u01A1\u0300i", "Th\u00E1ng m\u01B0\u01A1\u0300i m\u00F4\u0323t", "Th\u00E1ng m\u01B0\u01A1\u0300i hai", null }; - - static final String[] ampms = { "", "" }; - - static final String shortDateFormat = "EEEE dd MMM yyyy"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "\u20AB"; - static final String intlCurrencySymbol = "VND"; - static final String currencyFormat = "#,##0.0000$;-$#,##0.0000"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_yi_US.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_yi_US.java deleted file mode 100644 index 0d01ac406..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_yi_US.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_yi_US.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_yi_US extends ListResourceBundle -{ - static final String decimalSeparator = LocaleInformation_en_US.decimalSeparator; - static final String groupingSeparator = LocaleInformation_en_US.groupingSeparator; - static final String numberFormat = LocaleInformation_en_US.numberFormat; - static final String percentFormat = LocaleInformation_en_US.percentFormat; - static final String[] weekdays = { null, "\u05D6\u05D5\u05E0\u05D8\u05D9\u05E7", "\u05DE\u05D0\u05B8\u05E0\u05D8\u05D9\u05E7", "\u05D3\u05D9\u05E0\u05E1\u05D8\u05D9\u05E7", "\u05DE\u05D9\u05D8\u05F0\u05D0\u05B8\u05DA", "\u05D3\u05D0\u05B8\u05E0\u05E2\u05E8\u05E9\u05D8\u05D9\u05E7", "\u05E4\u05BF\u05E8\u05F2\u05B7\u05D8\u05D9\u05E7", "\u05E9\u05D1\u05EA" }; - - static final String[] shortWeekdays = { null, "\u05D6\u05D5\u05E0'", "\u05DE\u05D0\u05B8\u05E0'", "\u05D3\u05D9\u05E0'", "\u05DE\u05D9\u05D8'", "\u05D3\u05D0\u05B8\u05E0'", "\u05E4\u05BF\u05E8\u05F2\u05B7'", "\u05E9\u05D1\u05EA" }; - - static final String[] shortMonths = { "\u05D9\u05D0\u05B7\u05E0'", "\u05E4\u05BF\u05E2\u05D1'", "\u05DE\u05D0\u05B7\u05E8'", "\u05D0\u05B7\u05E4\u05BC\u05E8'", "\u05DE\u05F2\u05B7", "\u05D9\u05D5\u05E0'", "\u05D9\u05D5\u05DC'", "\u05D0\u05F1\u05D2'", "\u05E1\u05E2\u05E4\u05BC'", "\u05D0\u05B8\u05E7\u05D8'", "\u05E0\u05D0\u05B8\u05F0'", "\u05D3\u05E2\u05E6'", null }; - - static final String[] months = { "\u05D9\u05D0\u05B7\u05E0\u05D5\u05D0\u05B7\u05E8", "\u05E4\u05BF\u05E2\u05D1\u05E8\u05D5\u05D0\u05B7\u05E8", "\u05DE\u05D0\u05B7\u05E8\u05E5", "\u05D0\u05B7\u05E4\u05BC\u05E8\u05D9\u05DC", "\u05DE\u05F2\u05B7", "\u05D9\u05D5\u05E0\u05D9", "\u05D9\u05D5\u05DC\u05D9", "\u05D0\u05F1\u05D2\u05E1\u05D8", "\u05E1\u05E2\u05E4\u05BC\u05D8\u05E2\u05DE\u05D1\u05E2\u05E8", "\u05D0\u05B8\u05E7\u05D8\u05D0\u05B8\u05D1\u05E2\u05E8", "\u05E0A\u05B8\u05F0\u05E2\u05DE\u05D1\u05E2\u05E8", "\u05D3\u05E6\u05DE\u05D1\u05E8", null }; - - static final String[] ampms = { "AM", "PM" }; - - static final String shortDateFormat = "dd/MM/yy"; - static final String defaultTimeFormat = "hh:m:s a"; - static final String currencySymbol = "$"; - static final String intlCurrencySymbol = "USD"; - static final String currencyFormat = "$ #,###,##0.00;$ #,###,##0.00-"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_zh_CN.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_zh_CN.java deleted file mode 100644 index 98e148de5..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_zh_CN.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_zh_CN.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_zh_CN extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ","; - static final String numberFormat = "#,##0.###"; - static final String percentFormat = "#,##0%"; - static final String[] weekdays = { null, "\u661F\u671F\u65E5", "\u661F\u671F\u4E00", "\u661F\u671F\u4E8C", "\u661F\u671F\u4E09", "\u661F\u671F\u56DB", "\u661F\u671F\u4E94", "\u661F\u671F\u516D" }; - - static final String[] shortWeekdays = { null, "\u65E5", "\u4E00", "\u4E8C", "\u4E09", "\u56DB", "\u4E94", "\u516D" }; - - static final String[] shortMonths = { " 1\u6708", " 2\u6708", " 3\u6708", " 4\u6708", " 5\u6708", " 6\u6708", " 7\u6708", " 8\u6708", " 9\u6708", "10\u6708", "11\u6708", "12\u6708", null }; - - static final String[] months = { "\u4E00\u6708", "\u4E8C\u6708", "\u4E09\u6708", "\u56DB\u6708", "\u4E94\u6708", "\u516D\u6708", "\u4E03\u6708", "\u516B\u6708", "\u4E5D\u6708", "\u5341\u6708", "\u5341\u4E00\u6708", "\u5341\u4E8C\u6708", null }; - - static final String[] ampms = { "\u4E0A\u5348", "\u4E0B\u5348" }; - - static final String shortDateFormat = "yyyyMMdd"; - static final String defaultTimeFormat = "a hhms"; - static final String currencySymbol = "\uFFE5"; - static final String intlCurrencySymbol = "CNY"; - static final String currencyFormat = "$#,##0.00;$-#,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_zh_HK.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_zh_HK.java deleted file mode 100644 index d2a7e8a7f..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_zh_HK.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_zh_HK.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_zh_HK extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ","; - static final String numberFormat = "#,##0.###"; - static final String percentFormat = "#,##0%"; - static final String[] weekdays = { null, "\u661F\u671F\u65E5 ", "\u661F\u671F\u4E00 ", "\u661F\u671F\u4E8C ", "\u661F\u671F\u4E09 ", "\u661F\u671F\u56DB ", "\u661F\u671F\u4E94 ", "\u661F\u671F\u516D " }; - - static final String[] shortWeekdays = { null, "\u65E5 ", "\u4E00 ", "\u4E8C ", "\u4E09 ", "\u56DB ", "\u4E94 ", "\u516D " }; - - static final String[] shortMonths = { "1\u6708", "2\u6708", "3\u6708", "4\u6708", "5\u6708", "6\u6708", "7\u6708", "8\u6708", "9\u6708", "10\u6708", "11\u6708", "12\u6708", null }; - - static final String[] months = { "\u4E00\u6708", "\u4E8C\u6708", "\u4E09\u6708", "\u56DB\u6708", "\u4E94\u6708", "\u516D\u6708", "\u4E03\u6708", "\u516B\u6708", "\u4E5D\u6708", "\u5341\u6708", "\u5341\u4E00\u6708", "\u5341\u4E8C\u6708", null }; - - static final String[] ampms = { "\u4E0A\u5348", "\u4E0B\u5348" }; - - static final String shortDateFormat = "yyyyMMMdd EEEE"; - static final String defaultTimeFormat = "a hh:m:s"; - static final String currencySymbol = "HK$"; - static final String intlCurrencySymbol = "HKD"; - static final String currencyFormat = "$#,##0.00;($#,##0.00)"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_zh_SG.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_zh_SG.java deleted file mode 100644 index f818d1d2b..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_zh_SG.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_zh_SG.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_zh_SG extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ","; - static final String numberFormat = "#,##0.###"; - static final String percentFormat = "#,##0%"; - static final String[] weekdays = { null, "\u661F\u671F\u65E5", "\u661F\u671F\u4E00", "\u661F\u671F\u4E8C", "\u661F\u671F\u4E09", "\u661F\u671F\u56DB", "\u661F\u671F\u4E94", "\u661F\u671F\u516D" }; - - static final String[] shortWeekdays = { null, "\u661F\u671F\u65E5", "\u661F\u671F\u4E00", "\u661F\u671F\u4E8C", "\u661F\u671F\u4E09", "\u661F\u671F\u56DB", "\u661F\u671F\u4E94", "\u661F\u671F\u516D" }; - - static final String[] shortMonths = { "\u4E00\u6708", "\u4E8C\u6708", "\u4E09\u6708", "\u56DB\u6708", "\u4E94\u6708", "\u516D\u6708", "\u4E03\u6708", "\u516B\u6708", "\u4E5D\u6708", "\u5341\u6708", "\u5341\u4E00\u6708", "\u5341\u4E8C\u6708", null }; - - static final String[] months = { "\u4E00\u6708", "\u4E8C\u6708", "\u4E09\u6708", "\u56DB\u6708", "\u4E94\u6708", "\u516D\u6708", "\u4E03\u6708", "\u516B\u6708", "\u4E5D\u6708", "\u5341\u6708", "\u5341\u4E00\u6708", "\u5341\u4E8C\u6708", null }; - - static final String[] ampms = { "\u4E0A\u5348", "\u4E0B\u5348" }; - - static final String shortDateFormat = "yyyyMMdd"; - static final String defaultTimeFormat = ""; - static final String currencySymbol = "$"; - static final String intlCurrencySymbol = "SGD"; - static final String currencyFormat = "$#,##0.00;($#,##0.00)"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_zh_TW.java b/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_zh_TW.java deleted file mode 100644 index 132c6240f..000000000 --- a/gcc-4.2.1/libjava/gnu/java/locale/LocaleInformation_zh_TW.java +++ /dev/null @@ -1,86 +0,0 @@ -/* LocaleInformation_zh_TW.java - Copyright (C) 2002 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -// This file was automatically generated by localedef. - -package gnu.java.locale; - -import java.util.ListResourceBundle; - -public class LocaleInformation_zh_TW extends ListResourceBundle -{ - static final String decimalSeparator = "."; - static final String groupingSeparator = ","; - static final String numberFormat = "#,##0.###"; - static final String percentFormat = "#,##0%"; - static final String[] weekdays = { null, "\u661F\u671F\u65E5", "\u661F\u671F\u4E00", "\u661F\u671F\u4E8C", "\u661F\u671F\u4E09", "\u661F\u671F\u56DB", "\u661F\u671F\u4E94", "\u661F\u671F\u516D" }; - - static final String[] shortWeekdays = { null, "\u9031\u65E5", "\u9031\u4E00", "\u9031\u4E8C", "\u9031\u4E09", "\u9031\u56DB", "\u9031\u4E94", "\u9031\u516D" }; - - static final String[] shortMonths = { " 1\u6708", " 2\u6708", " 3\u6708", " 4\u6708", " 5\u6708", " 6\u6708", " 7\u6708", " 8\u6708", " 9\u6708", "10\u6708", "11\u6708", "12\u6708", null }; - - static final String[] months = { "\u4E00\u6708", "\u4E8C\u6708", "\u4E09\u6708", "\u56DB\u6708", "\u4E94\u6708", "\u516D\u6708", "\u4E03\u6708", "\u516B\u6708", "\u4E5D\u6708", "\u5341\u6708", "\u5341\u4E00\u6708", "\u5341\u4E8C\u6708", null }; - - static final String[] ampms = { "\u4E0A\u5348", "\u4E0B\u5348" }; - - static final String shortDateFormat = "yyyyMMdd"; - static final String defaultTimeFormat = "a hhms"; - static final String currencySymbol = "NT$"; - static final String intlCurrencySymbol = "TWD"; - static final String currencyFormat = "$#,##0.00;-$#,##0.00"; - - private static final Object[][] contents = - { - { "weekdays", weekdays }, - { "shortWeekdays", shortWeekdays }, - { "shortMonths", shortMonths }, - { "months", months }, - { "ampms", ampms }, - { "shortDateFormat", shortDateFormat }, - { "defaultTimeFormat", defaultTimeFormat }, - { "currencySymbol", currencySymbol }, - { "intlCurrencySymbol", intlCurrencySymbol }, - { "currencyFormat", currencyFormat }, - { "decimalSeparator", decimalSeparator }, - { "groupingSeparator", groupingSeparator }, - { "numberFormat", numberFormat }, - { "percentFormat", percentFormat }, - }; - - public Object[][] getContents () { return contents; } -} diff --git a/gcc-4.2.1/libjava/gnu/java/net/PlainDatagramSocketImpl.java b/gcc-4.2.1/libjava/gnu/java/net/PlainDatagramSocketImpl.java deleted file mode 100644 index f72d57331..000000000 --- a/gcc-4.2.1/libjava/gnu/java/net/PlainDatagramSocketImpl.java +++ /dev/null @@ -1,310 +0,0 @@ -/* PlainDatagramSocketImpl.java -- Default DatagramSocket implementation - Copyright (C) 1998, 1999, 2001, 2003, 2004, 2005 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package gnu.java.net; - -import gnu.classpath.Configuration; - -import java.io.IOException; -import java.net.DatagramPacket; -import java.net.DatagramSocketImpl; -import java.net.InetAddress; -import java.net.InetSocketAddress; -import java.net.NetworkInterface; -import java.net.SocketAddress; -import java.net.SocketException; -import java.net.SocketOptions; - -/** - * Written using on-line Java Platform 1.2 API Specification, as well - * as "The Java Class Libraries", 2nd edition (Addison-Wesley, 1998). - * Status: Believed complete and correct. - */ - -/** - * This is the default socket implementation for datagram sockets. - * It makes native calls to C routines that implement BSD style - * SOCK_DGRAM sockets in the AF_INET family. - * - * @author Aaron M. Renn (arenn@urbanophile.com) - * @author Warren Levy (warrenl@cygnus.com) - */ -public final class PlainDatagramSocketImpl extends DatagramSocketImpl -{ - // Static initializer to load native library - static - { - if (Configuration.INIT_LOAD_LIBRARY) - { - System.loadLibrary("javanet"); - } - } - - // These fields are mirrored for use in native code to avoid cpp conflicts - // when the #defines in system header files are the same as the public fields. - static final int _Jv_TCP_NODELAY_ = SocketOptions.TCP_NODELAY, - _Jv_SO_BINDADDR_ = SocketOptions.SO_BINDADDR, - _Jv_SO_REUSEADDR_ = SocketOptions.SO_REUSEADDR, - _Jv_SO_BROADCAST_ = SocketOptions.SO_BROADCAST, - _Jv_SO_OOBINLINE_ = SocketOptions.SO_OOBINLINE, - _Jv_IP_MULTICAST_IF_ = SocketOptions.IP_MULTICAST_IF, - _Jv_IP_MULTICAST_IF2_ = SocketOptions.IP_MULTICAST_IF2, - _Jv_IP_MULTICAST_LOOP_ = SocketOptions.IP_MULTICAST_LOOP, - _Jv_IP_TOS_ = SocketOptions.IP_TOS, - _Jv_SO_LINGER_ = SocketOptions.SO_LINGER, - _Jv_SO_TIMEOUT_ = SocketOptions.SO_TIMEOUT, - _Jv_SO_SNDBUF_ = SocketOptions.SO_SNDBUF, - _Jv_SO_RCVBUF_ = SocketOptions.SO_RCVBUF, - _Jv_SO_KEEPALIVE_ = SocketOptions.SO_KEEPALIVE; - - /** - * This is the actual underlying file descriptor - */ - int native_fd = -1; - - /** - * Lock object to serialize threads wanting to receive - */ - private final Object RECEIVE_LOCK = new Object(); - - /** - * Lock object to serialize threads wanting to send - */ - private final Object SEND_LOCK = new Object(); - - // FIXME: Is this necessary? Could it help w/ DatagramSocket.getLocalAddress? - // InetAddress address; - - // localAddress cache - InetAddress localAddress; - - // 'timeout' is set/read by setOption/getOption. - int timeout = 0; - - /** - * Default do nothing constructor - */ - public PlainDatagramSocketImpl() - { - } - - protected void finalize() throws Throwable - { - synchronized (this) - { - if (native_fd != -1) - close(); - } - super.finalize(); - } - - public int getNativeFD() - { - return native_fd; - } - - /** - * Binds this socket to a particular port and interface - * - * @param port The port to bind to - * @param addr The address to bind to - * - * @exception SocketException If an error occurs - */ - protected native void bind(int port, InetAddress addr) - throws SocketException; - - protected native void connect(InetAddress addr, int port) - throws SocketException; - - protected native void disconnect(); - - /** - * Creates a new datagram socket - * - * @exception SocketException If an error occurs - */ - protected native void create() throws SocketException; - - protected native int peek(InetAddress addr) throws IOException; - - protected native int peekData(DatagramPacket packet) throws IOException; - - /** - * Sets the Time to Live value for the socket - * - * @param ttl The new TTL value - * - * @exception IOException If an error occurs - */ - protected native void setTimeToLive(int ttl) throws IOException; - - /** - * Gets the Time to Live value for the socket - * - * @return The TTL value - * - * @exception IOException If an error occurs - */ - protected native int getTimeToLive() throws IOException; - - /** - * Sends a packet of data to a remote host - * - * @param packet The packet to send - * - * @exception IOException If an error occurs - */ - protected native void send(DatagramPacket packet) throws IOException; - - /** - * Receives a UDP packet from the network - * - * @param packet The packet to fill in with the data received - * - * @exception IOException IOException If an error occurs - */ - protected native void receive(DatagramPacket packet) throws IOException; - - /** - * Sets the value of an option on the socket - * - * @param option_id The identifier of the option to set - * @param val The value of the option to set - * - * @exception SocketException If an error occurs - */ - public native void setOption(int option_id, Object val) - throws SocketException; - - /** - * Retrieves the value of an option on the socket - * - * @param option_id The identifier of the option to retrieve - * - * @return The value of the option - * - * @exception SocketException If an error occurs - */ - public native Object getOption(int option_id) - throws SocketException; - - /** - * Joins or leaves a broadcasting group on a given network interface. - * If the network interface is <code>null</code> the group is join/left on - * all locale network interfaces. - * - * @param inetAddr The broadcast address. - * @param netIf The network interface to join the group on. - * @param join True to join a broadcasting group, fals to leave it. - * - * @exception IOException If an error occurs. - */ - private native void mcastGrp(InetAddress inetAddr, NetworkInterface netIf, - boolean join) - throws IOException; - - /** - * Closes the socket - */ - protected native void close(); - - /** - * Gets the Time to Live value for the socket - * - * @return The TTL value - * - * @exception IOException If an error occurs - * - * @deprecated 1.2 - */ - protected byte getTTL() throws IOException - { - return (byte) getTimeToLive(); - } - - /** - * Sets the Time to Live value for the socket - * - * @param ttl The new TTL value - * - * @exception IOException If an error occurs - * - * @deprecated 1.2 - */ - protected void setTTL(byte ttl) throws IOException - { - setTimeToLive(((int) ttl) & 0xFF); - } - - /** - * Joins a multicast group - * - * @param addr The group to join - * - * @exception IOException If an error occurs - */ - protected void join(InetAddress addr) throws IOException - { - mcastGrp(addr, null, true); - } - - /** - * Leaves a multicast group - * - * @param addr The group to leave - * - * @exception IOException If an error occurs - */ - protected void leave(InetAddress addr) throws IOException - { - mcastGrp(addr, null, false); - } - - protected void joinGroup(SocketAddress mcastaddr, NetworkInterface netIf) - throws IOException - { - mcastGrp(((InetSocketAddress) mcastaddr).getAddress(), netIf, true); - } - - protected void leaveGroup(SocketAddress mcastaddr, NetworkInterface netIf) - throws IOException - { - mcastGrp(((InetSocketAddress) mcastaddr).getAddress(), netIf, false); - } -} diff --git a/gcc-4.2.1/libjava/gnu/java/net/PlainSocketImpl.java b/gcc-4.2.1/libjava/gnu/java/net/PlainSocketImpl.java deleted file mode 100644 index eefee10ee..000000000 --- a/gcc-4.2.1/libjava/gnu/java/net/PlainSocketImpl.java +++ /dev/null @@ -1,455 +0,0 @@ -/* PlainSocketImpl.java -- Default socket implementation - Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 - Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package gnu.java.net; - -import gnu.classpath.Configuration; - -import java.io.IOException; -import java.io.InputStream; -import java.io.OutputStream; -import java.net.InetAddress; -import java.net.InetSocketAddress; -import java.net.SocketAddress; -import java.net.SocketException; -import java.net.SocketImpl; -import java.net.SocketOptions; - -/** - * Written using on-line Java Platform 1.2 API Specification, as well - * as "The Java Class Libraries", 2nd edition (Addison-Wesley, 1998). - * Status: Believed complete and correct. - */ - -/** - * Unless the application installs its own SocketImplFactory, this is the - * default socket implemetation that will be used. It simply uses a - * combination of Java and native routines to implement standard BSD - * style sockets of family AF_INET and types SOCK_STREAM and SOCK_DGRAM - * - * @author Per Bothner (bothner@cygnus.com) - * @author Nic Ferrier (nferrier@tapsellferrier.co.uk) - * @author Aaron M. Renn (arenn@urbanophile.com) - */ -public final class PlainSocketImpl extends SocketImpl -{ - // Static initializer to load native library. - static - { - if (Configuration.INIT_LOAD_LIBRARY) - { - System.loadLibrary("javanet"); - } - } - - // These fields are mirrored for use in native code to avoid cpp conflicts - // when the #defines in system header files are the same as the public fields. - static final int _Jv_TCP_NODELAY_ = SocketOptions.TCP_NODELAY, - _Jv_SO_BINDADDR_ = SocketOptions.SO_BINDADDR, - _Jv_SO_REUSEADDR_ = SocketOptions.SO_REUSEADDR, - _Jv_SO_BROADCAST_ = SocketOptions.SO_BROADCAST, - _Jv_SO_OOBINLINE_ = SocketOptions.SO_OOBINLINE, - _Jv_IP_MULTICAST_IF_ = SocketOptions.IP_MULTICAST_IF, - _Jv_IP_MULTICAST_IF2_ = SocketOptions.IP_MULTICAST_IF2, - _Jv_IP_MULTICAST_LOOP_ = SocketOptions.IP_MULTICAST_LOOP, - _Jv_IP_TOS_ = SocketOptions.IP_TOS, - _Jv_SO_LINGER_ = SocketOptions.SO_LINGER, - _Jv_SO_TIMEOUT_ = SocketOptions.SO_TIMEOUT, - _Jv_SO_SNDBUF_ = SocketOptions.SO_SNDBUF, - _Jv_SO_RCVBUF_ = SocketOptions.SO_RCVBUF, - _Jv_SO_KEEPALIVE_ = SocketOptions.SO_KEEPALIVE; - - /** - * The OS file handle representing the socket. - * This is used for reads and writes to/from the socket and - * to close it. - * - * When the socket is closed this is reset to -1. - */ - int native_fd = -1; - - // This value is set/read by setOption/getOption. - int timeout = 0; - - // localAddress cache - InetAddress localAddress; - - /** - * A cached copy of the in stream for reading from the socket. - */ - private InputStream in; - - /** - * A cached copy of the out stream for writing to the socket. - */ - private OutputStream out; - - /** - * Indicates whether a channel initiated whatever operation - * is being invoked on this socket. - */ - private boolean inChannelOperation; - - /** - * Indicates whether we should ignore whether any associated - * channel is set to non-blocking mode. Certain operations - * throw an <code>IllegalBlockingModeException</code> if the - * associated channel is in non-blocking mode, <i>except</i> - * if the operation is invoked by the channel itself. - */ - public final boolean isInChannelOperation() - { - return inChannelOperation; - } - - /** - * Sets our indicator of whether an I/O operation is being - * initiated by a channel. - */ - public final void setInChannelOperation(boolean b) - { - inChannelOperation = b; - } - - /** - * Default do nothing constructor - */ - public PlainSocketImpl() - { - } - - protected void finalize() throws Throwable - { - synchronized (this) - { - if (native_fd != -1) - try - { - close(); - } - catch (IOException ex) - { - } - } - super.finalize(); - } - - public int getNativeFD() - { - return native_fd; - } - - /** - * Sets the specified option on a socket to the passed in object. For - * options that take an integer argument, the passed in object is an - * Integer. The option_id parameter is one of the defined constants in - * this interface. - * - * @param option_id The identifier of the option - * @param val The value to set the option to - * - * @exception SocketException If an error occurs - */ - public native void setOption(int optID, Object value) throws SocketException; - - /** - * Returns the current setting of the specified option. The Object returned - * will be an Integer for options that have integer values. The option_id - * is one of the defined constants in this interface. - * - * @param option_id The option identifier - * - * @return The current value of the option - * - * @exception SocketException If an error occurs - */ - public native Object getOption(int optID) throws SocketException; - - /** - * Flushes the input stream and closes it. If you read from the input stream - * after calling this method a <code>IOException</code> will be thrown. - * - * @throws IOException if an error occurs - */ - public native void shutdownInput() throws IOException; - - /** - * Flushes the output stream and closes it. If you write to the output stream - * after calling this method a <code>IOException</code> will be thrown. - * - * @throws IOException if an error occurs - */ - public native void shutdownOutput() throws IOException; - - /** - * Creates a new socket that is not bound to any local address/port and - * is not connected to any remote address/port. This will be created as - * a stream socket if the stream parameter is true, or a datagram socket - * if the stream parameter is false. - * - * @param stream true for a stream socket, false for a datagram socket - */ - protected native void create(boolean stream) throws IOException; - - /** - * Connects to the remote hostname and port specified as arguments. - * - * @param hostname The remote hostname to connect to - * @param port The remote port to connect to - * - * @exception IOException If an error occurs - */ - protected void connect(String host, int port) throws IOException - { - connect(InetAddress.getByName(host), port); - } - - /** - * Connects to the remote address and port specified as arguments. - * - * @param addr The remote address to connect to - * @param port The remote port to connect to - * - * @exception IOException If an error occurs - */ - protected void connect(InetAddress host, int port) throws IOException - { - connect (new InetSocketAddress (host, port), 0); - } - - /** - * Connects to the remote socket address with a specified timeout. - * - * @param timeout The timeout to use for this connect, 0 means infinite. - * - * @exception IOException If an error occurs - */ - protected native void connect(SocketAddress addr, int timeout) throws IOException; - - /** - * Binds to the specified port on the specified addr. Note that this addr - * must represent a local IP address. **** How bind to INADDR_ANY? **** - * - * @param addr The address to bind to - * @param port The port number to bind to - * - * @exception IOException If an error occurs - */ - protected native void bind(InetAddress host, int port) - throws IOException; - - /** - * Starts listening for connections on a socket. The queuelen parameter - * is how many pending connections will queue up waiting to be serviced - * before being accept'ed. If the queue of pending requests exceeds this - * number, additional connections will be refused. - * - * @param queuelen The length of the pending connection queue - * - * @exception IOException If an error occurs - */ - protected native void listen(int queuelen) - throws IOException; - - /** - * Accepts a new connection on this socket and returns in in the - * passed in SocketImpl. - * - * @param impl The SocketImpl object to accept this connection. - */ - protected void accept(SocketImpl impl) - throws IOException - { - accept((PlainSocketImpl) impl); - } - - private native void accept(PlainSocketImpl impl) - throws IOException; - - /** - * Returns the number of bytes that the caller can read from this socket - * without blocking. - * - * @return The number of readable bytes before blocking - * - * @exception IOException If an error occurs - */ - protected native int available() throws IOException; - - /** - * Closes the socket. This will cause any InputStream or OutputStream - * objects for this Socket to be closed as well. - * <p> - * Note that if the SO_LINGER option is set on this socket, then the - * operation could block. - * - * @exception IOException If an error occurs - */ - protected native void close() throws IOException; - - protected native void sendUrgentData(int data) throws IOException; - - /** - * Returns an InputStream object for reading from this socket. This will - * be an instance of SocketInputStream. - * - * @return An input stream attached to the socket. - * - * @exception IOException If an error occurs - */ - protected synchronized InputStream getInputStream() throws IOException - { - if (in == null) - in = new SocketInputStream(); - - return in; - } - - /** - * Returns an OutputStream object for writing to this socket. This will - * be an instance of SocketOutputStream. - * - * @return An output stream attached to the socket. - * - * @exception IOException If an error occurs - */ - protected synchronized OutputStream getOutputStream() throws IOException - { - if (out == null) - out = new SocketOutputStream(); - - return out; - } - - /** - * This class contains an implementation of <code>InputStream</code> for - * sockets. It in an internal only class used by <code>PlainSocketImpl</code>. - * - * @author Nic Ferrier <nferrier@tapsellferrier.co.uk> - */ - final class SocketInputStream - extends InputStream - { - /** - * Returns the number of bytes available to be read before blocking - */ - public int available() throws IOException - { - return PlainSocketImpl.this.available(); - } - - /** - * This method not only closes the stream, it closes the underlying socket - * (and thus any connection) and invalidates any other Input/Output streams - * for the underlying impl object - */ - public void close() throws IOException - { - PlainSocketImpl.this.close(); - } - - /** - * Reads the next byte of data and returns it as an int. - * - * @return The byte read (as an int) or -1 if end of stream); - * - * @exception IOException If an error occurs. - */ - public native int read() throws IOException; - - /** - * Reads up to len bytes of data into the caller supplied buffer starting - * at offset bytes from the start of the buffer - * - * @param buf The buffer - * @param offset Offset into the buffer to start reading from - * @param len The number of bytes to read - * - * @return The number of bytes actually read or -1 if end of stream - * - * @exception IOException If an error occurs. - */ - public native int read(byte[] buf, int offset, int len) throws IOException; - } - - /** - * This class is used internally by <code>PlainSocketImpl</code> to be the - * <code>OutputStream</code> subclass returned by its - * <code>getOutputStream method</code>. It expects only to be used in that - * context. - * - * @author Nic Ferrier <nferrier@tapsellferrier.co.uk> - */ - final class SocketOutputStream - extends OutputStream - { - /** - * This method closes the stream and the underlying socket connection. This - * action also effectively closes any other InputStream or OutputStream - * object associated with the connection. - * - * @exception IOException If an error occurs - */ - public void close() throws IOException - { - PlainSocketImpl.this.close(); - } - - /** - * Writes a byte (passed in as an int) to the given output stream - * - * @param b The byte to write - * - * @exception IOException If an error occurs - */ - public native void write(int b) throws IOException; - - /** - * Writes len number of bytes from the array buf to the stream starting - * at offset bytes into the buffer. - * - * @param buf The buffer - * @param offset Offset into the buffer to start writing from - * @param len The number of bytes to write - * - * @exception IOException If an error occurs. - */ - public native void write(byte[] buf, int offset, int len) throws IOException; - } -} diff --git a/gcc-4.2.1/libjava/gnu/java/net/local/LocalSocketImpl.java b/gcc-4.2.1/libjava/gnu/java/net/local/LocalSocketImpl.java deleted file mode 100644 index 35df29804..000000000 --- a/gcc-4.2.1/libjava/gnu/java/net/local/LocalSocketImpl.java +++ /dev/null @@ -1,310 +0,0 @@ -/* LocalSocketImpl.java -- a unix domain client socket implementation. - Copyright (C) 2006 Free Software Foundation, Inc. - -This file is a part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or (at -your option) any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; if not, write to the Free Software -Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 -USA - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package gnu.java.net.local; - -import java.io.FileDescriptor; -import java.io.InputStream; -import java.io.IOException; -import java.io.OutputStream; - -import java.net.InetAddress; -import java.net.SocketAddress; -import java.net.SocketException; -import java.net.SocketImpl; - -final class LocalSocketImpl extends SocketImpl -{ - - // Fields. - // ------------------------------------------------------------------------- - - private boolean created; - private InputStream in; - private OutputStream out; - private int socket_fd; - private LocalSocketAddress local; - private LocalSocketAddress remote; - - // Constructor. - // ------------------------------------------------------------------------- - - LocalSocketImpl () - { - this (false); - } - - LocalSocketImpl (boolean nocreate) - { - created = nocreate; - socket_fd = -1; - fd = new FileDescriptor (); - } - - // Instance methods. - // ------------------------------------------------------------------------- - - public void setOption (int opt, Object value) throws SocketException - { - throw new SocketException ("local sockets do not support options"); - } - - public Object getOption (int opt) throws SocketException - { - throw new SocketException ("local sockets do not support options"); - } - - protected void create (boolean stream) throws IOException { } - protected void listen (int timeout) throws IOException { } - protected void accept (LocalSocketImpl socket) throws IOException { } - protected int available () throws IOException { return -1; } - protected void close () throws IOException { } - protected void sendUrgentData (int data) throws IOException { } - protected void shutdownInput () throws IOException { } - protected void shutdownOutput () throws IOException { } - - void unlink () throws IOException { } - void localBind (LocalSocketAddress addr) throws IOException { } - void localConnect (LocalSocketAddress addr) throws IOException { } - int read (byte[] buf, int off, int len) throws IOException { return -1; } - void write (byte[] buf, int off, int len) throws IOException { } - - void doCreate () throws IOException - { - if (!created) - { - create (true); - } - } - - LocalSocketAddress getLocalAddress () - { - return local; - } - - LocalSocketAddress getRemoteAddress () - { - return remote; - } - - protected InputStream getInputStream() - { - if (in == null) - { - in = new LocalInputStream (this); - } - - return in; - } - - protected OutputStream getOutputStream() - { - if (out == null) - { - out = new LocalOutputStream (this); - } - - return out; - } - - protected void accept (SocketImpl impl) throws IOException - { - if (! (impl instanceof LocalSocketImpl)) - { - throw new IllegalArgumentException ("not a local socket"); - } - accept ((LocalSocketImpl) impl); - } - - protected void connect (String host, int port) throws IOException - { - throw new SocketException ("this is a local socket"); - } - - protected void connect (InetAddress addr, int port) throws IOException - { - throw new SocketException ("this is a local socket"); - } - - protected void connect(SocketAddress addr, int timeout) throws IOException - { - if (! (addr instanceof LocalSocketAddress)) - { - throw new SocketException ("address is not local"); - } - localConnect ((LocalSocketAddress) addr); - } - - protected void bind (InetAddress addr, int port) throws IOException - { - throw new SocketException ("this is a local socket"); - } - - protected void bind (SocketAddress addr) throws IOException - { - if (! (addr instanceof LocalSocketAddress)) - { - throw new SocketException ("address is not local"); - } - localBind ((LocalSocketAddress) addr); - } - -// Inner classes. - // ------------------------------------------------------------------------- - - class LocalInputStream extends InputStream - { - - // Field. - // ----------------------------------------------------------------------- - - private final LocalSocketImpl impl; - - // Constructor. - // ----------------------------------------------------------------------- - - LocalInputStream (LocalSocketImpl impl) - { - this.impl = impl; - } - - // Instance methods. - // ----------------------------------------------------------------------- - - public int available () throws IOException - { - return impl.available(); - } - - public boolean markSupported () - { - return false; - } - - public void mark (int readLimit) - { - } - - public void reset () throws IOException - { - throw new IOException ("mark/reset not supported"); - } - - public void close () throws IOException - { - impl.close(); - } - - public int read () throws IOException - { - byte[] buf = new byte[1]; - int ret = read (buf); - if (ret != -1) - { - return buf[0] & 0xFF; - } - else - { - return -1; - } - } - - public int read (byte[] buf) throws IOException - { - return read (buf, 0, buf.length); - } - - public int read (byte[] buf, int off, int len) throws IOException - { - int ret = impl.read (buf, off, len); - - if (ret == 0) - { - return -1; - } - - return ret; - } - } - - class LocalOutputStream extends OutputStream - { - - // Field. - // ----------------------------------------------------------------------- - - private final LocalSocketImpl impl; - - // Constructor. - // ----------------------------------------------------------------------- - - LocalOutputStream (LocalSocketImpl impl) - { - this.impl = impl; - } - - // Instance methods. - // ----------------------------------------------------------------------- - - public void close () throws IOException - { - impl.close (); - } - - public void flush () throws IOException - { - } - - public void write (int b) throws IOException - { - byte[] buf = new byte [1]; - buf[0] = (byte) b; - write (buf); - } - - public void write (byte[] buf) throws IOException - { - write (buf, 0, buf.length); - } - - public void write (byte[] buf, int off, int len) throws IOException - { - impl.write (buf, off, len); - } - } -} diff --git a/gcc-4.2.1/libjava/gnu/java/net/natPlainDatagramSocketImplNoNet.cc b/gcc-4.2.1/libjava/gnu/java/net/natPlainDatagramSocketImplNoNet.cc deleted file mode 100644 index 7cb5a2e06..000000000 --- a/gcc-4.2.1/libjava/gnu/java/net/natPlainDatagramSocketImplNoNet.cc +++ /dev/null @@ -1,119 +0,0 @@ -/* Copyright (C) 2003 Free Software Foundation - - This file is part of libgcj. - -This software is copyrighted work licensed under the terms of the -Libgcj License. Please consult the file "LIBGCJ_LICENSE" for -details. */ - -#include <config.h> -#include <platform.h> - -#include <gnu/java/net/PlainDatagramSocketImpl.h> -#include <java/io/IOException.h> -#include <java/lang/Object.h> -#include <java/net/BindException.h> -#include <java/net/DatagramPacket.h> -#include <java/net/InetAddress.h> -#include <java/net/NetworkInterface.h> -#include <java/net/SocketException.h> - -void -gnu::java::net::PlainDatagramSocketImpl::create () -{ - throw new ::java::net::SocketException ( - JvNewStringLatin1 ("DatagramSocketImpl.create: unimplemented")); -} - -void -gnu::java::net::PlainDatagramSocketImpl::bind (jint, ::java::net::InetAddress *) -{ - throw new ::java::net::BindException ( - JvNewStringLatin1 ("DatagramSocketImpl.bind: unimplemented")); -} - -void -gnu::java::net::PlainDatagramSocketImpl::connect (::java::net::InetAddress *, jint) -{ - throw new ::java::net::SocketException ( - JvNewStringLatin1 ("DatagramSocketImpl.connect: unimplemented")); -} - -void -gnu::java::net::PlainDatagramSocketImpl::disconnect () -{ - throw new ::java::net::SocketException ( - JvNewStringLatin1 ("DatagramSocketImpl.disconnect: unimplemented")); -} - -jint -gnu::java::net::PlainDatagramSocketImpl::peek (::java::net::InetAddress *) -{ - throw new ::java::io::IOException ( - JvNewStringLatin1 ("DatagramSocketImpl.peek: unimplemented")); -} - -jint -gnu::java::net::PlainDatagramSocketImpl::peekData (::java::net::DatagramPacket *) -{ - throw new ::java::io::IOException ( - JvNewStringLatin1 ("DatagramSocketImpl.peekData: unimplemented")); -} - -void -gnu::java::net::PlainDatagramSocketImpl::close () -{ - throw new ::java::io::IOException ( - JvNewStringLatin1 ("DatagramSocketImpl.close: unimplemented")); -} - -void -gnu::java::net::PlainDatagramSocketImpl::send (::java::net::DatagramPacket *) -{ - throw new ::java::io::IOException ( - JvNewStringLatin1 ("DatagramSocketImpl.send: unimplemented")); -} - -void -gnu::java::net::PlainDatagramSocketImpl::receive (::java::net::DatagramPacket *) -{ - throw new ::java::io::IOException ( - JvNewStringLatin1 ("DatagramSocketImpl.receive: unimplemented")); -} - -void -gnu::java::net::PlainDatagramSocketImpl::setTimeToLive (jint) -{ - throw new ::java::io::IOException ( - JvNewStringLatin1 ("DatagramSocketImpl.setTimeToLive: unimplemented")); -} - -jint -gnu::java::net::PlainDatagramSocketImpl::getTimeToLive () -{ - throw new ::java::io::IOException ( - JvNewStringLatin1 ("DatagramSocketImpl.getTimeToLive: unimplemented")); -} - -void -gnu::java::net::PlainDatagramSocketImpl::mcastGrp (::java::net::InetAddress *, - ::java::net::NetworkInterface *, - jboolean) -{ - throw new ::java::io::IOException ( - JvNewStringLatin1 ("DatagramSocketImpl.mcastGrp: unimplemented")); -} - -void -gnu::java::net::PlainDatagramSocketImpl::setOption (jint, ::java::lang::Object *) -{ - throw new ::java::net::SocketException ( - JvNewStringLatin1 ("DatagramSocketImpl.setOption: unimplemented")); -} - -::java::lang::Object * -gnu::java::net::PlainDatagramSocketImpl::getOption (jint) -{ - throw new ::java::net::SocketException ( - JvNewStringLatin1 ("DatagramSocketImpl.getOption: unimplemented")); -} diff --git a/gcc-4.2.1/libjava/gnu/java/net/natPlainDatagramSocketImplPosix.cc b/gcc-4.2.1/libjava/gnu/java/net/natPlainDatagramSocketImplPosix.cc deleted file mode 100644 index 7cbf011ab..000000000 --- a/gcc-4.2.1/libjava/gnu/java/net/natPlainDatagramSocketImplPosix.cc +++ /dev/null @@ -1,858 +0,0 @@ -/* Copyright (C) 2003, 2005, 2006 Free Software Foundation - - This file is part of libgcj. - -This software is copyrighted work licensed under the terms of the -Libgcj License. Please consult the file "LIBGCJ_LICENSE" for -details. */ - -#include <config.h> -#include <platform.h> - -#ifdef HAVE_NETINET_IN_H -#include <netinet/in.h> -#endif -#ifdef HAVE_ARPA_INET_H -#include <arpa/inet.h> -#endif -#include <errno.h> -#include <string.h> - -#if HAVE_BSTRING_H -// Needed for bzero, implicitly used by FD_ZERO on IRIX 5.2 -#include <bstring.h> -#endif - -#include <gcj/cni.h> -#include <gnu/java/net/PlainDatagramSocketImpl.h> -#include <java/io/IOException.h> -#include <java/io/InterruptedIOException.h> -#include <java/net/BindException.h> -#include <java/net/SocketException.h> -#include <java/net/SocketTimeoutException.h> -#include <java/net/InetAddress.h> -#include <java/net/NetworkInterface.h> -#include <java/net/DatagramPacket.h> -#include <java/net/PortUnreachableException.h> -#include <java/lang/InternalError.h> -#include <java/lang/Object.h> -#include <java/lang/Boolean.h> -#include <java/lang/Integer.h> -#include <java/net/UnknownHostException.h> -#include <java/net/ConnectException.h> -#include <java/lang/NullPointerException.h> - -union SockAddr -{ - struct sockaddr_in address; -#ifdef HAVE_INET6 - struct sockaddr_in6 address6; -#endif -}; - -union McastReq -{ -#if HAVE_STRUCT_IP_MREQ - struct ip_mreq mreq; -#endif -#if HAVE_STRUCT_IPV6_MREQ - struct ipv6_mreq mreq6; -#endif -}; - -union InAddr -{ - struct in_addr addr; -#ifdef HAVE_INET6 - struct in6_addr addr6; -#endif -}; - - -// FIXME: routines here and/or in natPlainSocketImpl.cc could throw -// NoRouteToHostException; also consider UnknownHostException, ConnectException. - -void -gnu::java::net::PlainDatagramSocketImpl::create () -{ - int sock = _Jv_socket (AF_INET, SOCK_DGRAM, 0); - - if (sock < 0) - { - char* strerr = strerror (errno); - throw new ::java::net::SocketException (JvNewStringUTF (strerr)); - } - - // We use native_fd in place of fd here. From leaving fd null we avoid - // the double close problem in FileDescriptor.finalize. - native_fd = sock; -} - -void -gnu::java::net::PlainDatagramSocketImpl::bind (jint lport, - ::java::net::InetAddress *host) -{ - union SockAddr u; - struct sockaddr *ptr = (struct sockaddr *) &u.address; - // FIXME: Use getaddrinfo() to get actual protocol instead of assuming ipv4. - jbyteArray haddress = host->addr; - jbyte *bytes = elements (haddress); - int len = haddress->length; - - if (len == 4) - { - u.address.sin_family = AF_INET; - - if (host != NULL) - memcpy (&u.address.sin_addr, bytes, len); - else - u.address.sin_addr.s_addr = htonl (INADDR_ANY); - - len = sizeof (struct sockaddr_in); - u.address.sin_port = htons (lport); - } -#ifdef HAVE_INET6 - else if (len == 16) - { - u.address6.sin6_family = AF_INET6; - memcpy (&u.address6.sin6_addr, bytes, len); - len = sizeof (struct sockaddr_in6); - u.address6.sin6_port = htons (lport); - } -#endif - else - throw new ::java::net::SocketException (JvNewStringUTF ("invalid length")); - - if (_Jv_bind (native_fd, ptr, len) == 0) - { - socklen_t addrlen = sizeof(u); - - if (lport != 0) - localPort = lport; - else if (::getsockname (native_fd, (sockaddr*) &u, &addrlen) == 0) - localPort = ntohs (u.address.sin_port); - else - goto error; - - /* Allow broadcast by default. */ - int broadcast = 1; - if (::setsockopt (native_fd, SOL_SOCKET, SO_BROADCAST, (char *) &broadcast, - sizeof (broadcast)) != 0) - goto error; - - return; - } - - error: - char* strerr = strerror (errno); - throw new ::java::net::BindException (JvNewStringUTF (strerr)); -} - -void -gnu::java::net::PlainDatagramSocketImpl::connect (::java::net::InetAddress *host, - jint rport) -{ - if (! host) - throw new ::java::lang::NullPointerException; - - union SockAddr u; - jbyteArray haddress = host->addr; - jbyte *bytes = elements (haddress); - int len = haddress->length; - struct sockaddr *ptr = (struct sockaddr *) &u.address; - if (len == 4) - { - u.address.sin_family = AF_INET; - memcpy (&u.address.sin_addr, bytes, len); - len = sizeof (struct sockaddr_in); - u.address.sin_port = htons (rport); - } -#ifdef HAVE_INET6 - else if (len == 16) - { - u.address6.sin6_family = AF_INET6; - memcpy (&u.address6.sin6_addr, bytes, len); - len = sizeof (struct sockaddr_in6); - u.address6.sin6_port = htons (rport); - } -#endif - else - throw new ::java::net::SocketException (JvNewStringUTF ("invalid length")); - - if (_Jv_connect (native_fd, ptr, len) == 0) - return; - char* strerr = strerror (errno); - throw new ::java::net::ConnectException (JvNewStringUTF (strerr)); -} - -void -gnu::java::net::PlainDatagramSocketImpl::disconnect () -{ - struct sockaddr addr; - addr.sa_family = AF_UNSPEC; - // Ignore errors. This is lame but apparently required. - _Jv_connect (native_fd, &addr, sizeof (addr)); -} - -jint -gnu::java::net::PlainDatagramSocketImpl::peek (::java::net::InetAddress *i) -{ - // FIXME: Deal with Multicast and if the socket is connected. - union SockAddr u; - socklen_t addrlen = sizeof(u); - ssize_t retlen = - ::recvfrom (native_fd, (char *) NULL, 0, MSG_PEEK, (sockaddr*) &u, - &addrlen); - if (retlen < 0) - goto error; - // FIXME: Deal with Multicast addressing and if the socket is connected. - jbyteArray raddr; - jint rport; - if (u.address.sin_family == AF_INET) - { - raddr = JvNewByteArray (4); - memcpy (elements (raddr), &u.address.sin_addr, 4); - rport = ntohs (u.address.sin_port); - } -#ifdef HAVE_INET6 - else if (u.address.sin_family == AF_INET6) - { - raddr = JvNewByteArray (16); - memcpy (elements (raddr), &u.address6.sin6_addr, 16); - rport = ntohs (u.address6.sin6_port); - } -#endif - else - throw new ::java::net::SocketException (JvNewStringUTF ("invalid family")); - - i->addr = raddr; - return rport; - error: - char* strerr = strerror (errno); - - if (errno == ECONNREFUSED) - throw new ::java::net::PortUnreachableException (JvNewStringUTF (strerr)); - - throw new ::java::io::IOException (JvNewStringUTF (strerr)); -} - -jint -gnu::java::net::PlainDatagramSocketImpl::peekData (::java::net::DatagramPacket *p) -{ - // FIXME: Deal with Multicast and if the socket is connected. - union SockAddr u; - socklen_t addrlen = sizeof(u); - jbyte *dbytes = elements (p->getData()) + p->getOffset(); - jint maxlen = p->maxlen - p->getOffset(); - ssize_t retlen = 0; - - // Do timeouts via select since SO_RCVTIMEO is not always available. - if (timeout > 0 && native_fd >= 0 && native_fd < FD_SETSIZE) - { - fd_set rset; - struct timeval tv; - FD_ZERO(&rset); - FD_SET(native_fd, &rset); - tv.tv_sec = timeout / 1000; - tv.tv_usec = (timeout % 1000) * 1000; - int retval; - if ((retval = _Jv_select (native_fd + 1, &rset, NULL, NULL, &tv)) < 0) - goto error; - else if (retval == 0) - throw new ::java::net::SocketTimeoutException - (JvNewStringUTF ("PeekData timed out") ); - } - - retlen = - ::recvfrom (native_fd, (char *) dbytes, maxlen, MSG_PEEK, (sockaddr*) &u, - &addrlen); - if (retlen < 0) - goto error; - // FIXME: Deal with Multicast addressing and if the socket is connected. - jbyteArray raddr; - jint rport; - if (u.address.sin_family == AF_INET) - { - raddr = JvNewByteArray (4); - memcpy (elements (raddr), &u.address.sin_addr, 4); - rport = ntohs (u.address.sin_port); - } -#ifdef HAVE_INET6 - else if (u.address.sin_family == AF_INET6) - { - raddr = JvNewByteArray (16); - memcpy (elements (raddr), &u.address6.sin6_addr, 16); - rport = ntohs (u.address6.sin6_port); - } -#endif - else - throw new ::java::net::SocketException (JvNewStringUTF ("invalid family")); - - p->setAddress (::java::net::InetAddress::getByAddress (raddr)); - p->setPort (rport); - p->length = (int) retlen; - return rport; - - error: - char* strerr = strerror (errno); - - if (errno == ECONNREFUSED) - throw new ::java::net::PortUnreachableException (JvNewStringUTF (strerr)); - - throw new ::java::io::IOException (JvNewStringUTF (strerr)); -} - -// Close(shutdown) the socket. -void -gnu::java::net::PlainDatagramSocketImpl::close () -{ - // Avoid races from asynchronous finalization. - JvSynchronize sync (this); - - // The method isn't declared to throw anything, so we disregard - // the return value. - _Jv_close (native_fd); - native_fd = -1; - timeout = 0; -} - -void -gnu::java::net::PlainDatagramSocketImpl::send (::java::net::DatagramPacket *p) -{ - JvSynchronize lock (SEND_LOCK); - - // FIXME: Deal with Multicast. - - ::java::net::InetAddress *host = p->getAddress(); - if (host == NULL) - { - // If there is no host, maybe this socket was connected, in - // which case we try a plain send(). - jbyte *dbytes = elements (p->getData()) + p->getOffset(); - if (::send (native_fd, (char *) dbytes, p->getLength(), 0) >= 0) - return; - } - else - { - jint rport = p->getPort(); - union SockAddr u; - - jbyteArray haddress = host->addr; - jbyte *bytes = elements (haddress); - int len = haddress->length; - struct sockaddr *ptr = (struct sockaddr *) &u.address; - jbyte *dbytes = elements (p->getData()) + p->getOffset(); - if (len == 4) - { - u.address.sin_family = AF_INET; - memcpy (&u.address.sin_addr, bytes, len); - len = sizeof (struct sockaddr_in); - u.address.sin_port = htons (rport); - } -#ifdef HAVE_INET6 - else if (len == 16) - { - u.address6.sin6_family = AF_INET6; - memcpy (&u.address6.sin6_addr, bytes, len); - len = sizeof (struct sockaddr_in6); - u.address6.sin6_port = htons (rport); - } -#endif - else - throw new ::java::net::SocketException (JvNewStringUTF ("invalid length")); - - if (::sendto (native_fd, (char *) dbytes, p->getLength(), 0, ptr, len) - >= 0) - return; - } - - char* strerr = strerror (errno); - - if (errno == ECONNREFUSED) - throw new ::java::net::PortUnreachableException (JvNewStringUTF (strerr)); - - throw new ::java::io::IOException (JvNewStringUTF (strerr)); -} - -void -gnu::java::net::PlainDatagramSocketImpl::receive (::java::net::DatagramPacket *p) -{ - JvSynchronize lock (RECEIVE_LOCK); - - // FIXME: Deal with Multicast and if the socket is connected. - union SockAddr u; - socklen_t addrlen = sizeof(u); - jbyte *dbytes = elements (p->getData()) + p->getOffset(); - jint maxlen = p->maxlen - p->getOffset(); - ssize_t retlen = 0; - - // Do timeouts via select since SO_RCVTIMEO is not always available. - if (timeout > 0 && native_fd >= 0 && native_fd < FD_SETSIZE) - { - fd_set rset; - struct timeval tv; - FD_ZERO(&rset); - FD_SET(native_fd, &rset); - tv.tv_sec = timeout / 1000; - tv.tv_usec = (timeout % 1000) * 1000; - int retval; - if ((retval = _Jv_select (native_fd + 1, &rset, NULL, NULL, &tv)) < 0) - goto error; - else if (retval == 0) - throw new ::java::net::SocketTimeoutException - (JvNewStringUTF ("Receive timed out") ); - } - - retlen = - ::recvfrom (native_fd, (char *) dbytes, maxlen, 0, (sockaddr*) &u, - &addrlen); - if (retlen < 0) - goto error; - // FIXME: Deal with Multicast addressing and if the socket is connected. - jbyteArray raddr; - jint rport; - if (u.address.sin_family == AF_INET) - { - raddr = JvNewByteArray (4); - memcpy (elements (raddr), &u.address.sin_addr, 4); - rport = ntohs (u.address.sin_port); - } -#ifdef HAVE_INET6 - else if (u.address.sin_family == AF_INET6) - { - raddr = JvNewByteArray (16); - memcpy (elements (raddr), &u.address6.sin6_addr, 16); - rport = ntohs (u.address6.sin6_port); - } -#endif - else - throw new ::java::net::SocketException (JvNewStringUTF ("invalid family")); - - p->setAddress (::java::net::InetAddress::getByAddress (raddr)); - p->setPort (rport); - p->length = (jint) retlen; - return; - - error: - char* strerr = strerror (errno); - - if (errno == ECONNREFUSED) - throw new ::java::net::PortUnreachableException (JvNewStringUTF (strerr)); - - throw new ::java::io::IOException (JvNewStringUTF (strerr)); -} - -void -gnu::java::net::PlainDatagramSocketImpl::setTimeToLive (jint ttl) -{ - // Assumes IPPROTO_IP rather than IPPROTO_IPV6 since socket created is IPv4. - char val = (char) ttl; - socklen_t val_len = sizeof(val); - - if (::setsockopt (native_fd, IPPROTO_IP, IP_MULTICAST_TTL, &val, val_len) == 0) - return; - - char* strerr = strerror (errno); - throw new ::java::io::IOException (JvNewStringUTF (strerr)); -} - -jint -gnu::java::net::PlainDatagramSocketImpl::getTimeToLive () -{ - // Assumes IPPROTO_IP rather than IPPROTO_IPV6 since socket created is IPv4. - char val; - socklen_t val_len = sizeof(val); - - if (::getsockopt (native_fd, IPPROTO_IP, IP_MULTICAST_TTL, &val, &val_len) == 0) - return ((int) val) & 0xFF; - - char* strerr = strerror (errno); - throw new ::java::io::IOException (JvNewStringUTF (strerr)); -} - -void -gnu::java::net::PlainDatagramSocketImpl::mcastGrp (::java::net::InetAddress *inetaddr, - ::java::net::NetworkInterface *, - jboolean join) -{ - // FIXME: implement use of NetworkInterface - - jbyteArray haddress = inetaddr->addr; -#if HAVE_STRUCT_IP_MREQ || HAVE_STRUCT_IPV6_MREQ - union McastReq u; - jbyte *bytes = elements (haddress); -#endif - - int len = haddress->length; - int level, opname; - const char *ptr; - if (0) - ; -#if HAVE_STRUCT_IP_MREQ - else if (len == 4) - { - level = IPPROTO_IP; - opname = join ? IP_ADD_MEMBERSHIP : IP_DROP_MEMBERSHIP; - memcpy (&u.mreq.imr_multiaddr, bytes, len); - // FIXME: If a non-default interface is set, use it; see Stevens p. 501. - // Maybe not, see note in last paragraph at bottom of Stevens p. 497. - u.mreq.imr_interface.s_addr = htonl (INADDR_ANY); - len = sizeof (struct ip_mreq); - ptr = (const char *) &u.mreq; - } -#endif -#if HAVE_STRUCT_IPV6_MREQ - else if (len == 16) - { - level = IPPROTO_IPV6; - - /* Prefer new RFC 2553 names. */ -#ifndef IPV6_JOIN_GROUP -#define IPV6_JOIN_GROUP IPV6_ADD_MEMBERSHIP -#endif -#ifndef IPV6_LEAVE_GROUP -#define IPV6_LEAVE_GROUP IPV6_DROP_MEMBERSHIP -#endif - - opname = join ? IPV6_JOIN_GROUP : IPV6_LEAVE_GROUP; - memcpy (&u.mreq6.ipv6mr_multiaddr, bytes, len); - // FIXME: If a non-default interface is set, use it; see Stevens p. 501. - // Maybe not, see note in last paragraph at bottom of Stevens p. 497. - u.mreq6.ipv6mr_interface = 0; - len = sizeof (struct ipv6_mreq); - ptr = (const char *) &u.mreq6; - } -#endif - else - throw new ::java::net::SocketException (JvNewStringUTF ("invalid length")); - - if (::setsockopt (native_fd, level, opname, ptr, len) == 0) - return; - - char* strerr = strerror (errno); - throw new ::java::io::IOException (JvNewStringUTF (strerr)); -} - -// Helper function to get the InetAddress for a given socket (file -// descriptor). -static ::java::net::InetAddress * -getLocalAddress (int native_fd) -{ - jbyteArray laddr; - union SockAddr u; - socklen_t addrlen = sizeof(u); - - if (::getsockname (native_fd, (sockaddr*) &u, &addrlen) != 0) - { - char* strerr = strerror (errno); - throw new ::java::net::SocketException (JvNewStringUTF (strerr)); - } - if (u.address.sin_family == AF_INET) - { - laddr = JvNewByteArray (4); - memcpy (elements (laddr), &u.address.sin_addr, 4); - } -#ifdef HAVE_INET6 - else if (u.address.sin_family == AF_INET6) - { - laddr = JvNewByteArray (16); - memcpy (elements (laddr), &u.address6.sin6_addr, 16); - } -#endif - else - throw new ::java::net::SocketException (JvNewStringUTF ("invalid family")); - - return ::java::net::InetAddress::getByAddress (laddr); -} - -void -gnu::java::net::PlainDatagramSocketImpl::setOption (jint optID, - ::java::lang::Object *value) -{ - int val; - socklen_t val_len = sizeof (val); - - if (native_fd < 0) - throw new ::java::net::SocketException (JvNewStringUTF ("Socket closed")); - - if (_Jv_IsInstanceOf (value, &::java::lang::Boolean::class$)) - { - ::java::lang::Boolean *boolobj = - static_cast< ::java::lang::Boolean *> (value); - val = boolobj->booleanValue() ? 1 : 0; - } - else if (_Jv_IsInstanceOf (value, &::java::lang::Integer::class$)) - { - ::java::lang::Integer *intobj = - static_cast< ::java::lang::Integer *> (value); - val = (int) intobj->intValue(); - } - // Else assume value to be an InetAddress for use with IP_MULTICAST_IF. - - switch (optID) - { - case _Jv_TCP_NODELAY_ : - throw new ::java::net::SocketException ( - JvNewStringUTF ("TCP_NODELAY not valid for UDP")); - return; - case _Jv_SO_LINGER_ : - throw new ::java::net::SocketException ( - JvNewStringUTF ("SO_LINGER not valid for UDP")); - return; - case _Jv_SO_KEEPALIVE_ : - throw new ::java::net::SocketException ( - JvNewStringUTF ("SO_KEEPALIVE not valid for UDP")); - return; - - case _Jv_SO_BROADCAST_ : - if (::setsockopt (native_fd, SOL_SOCKET, SO_BROADCAST, (char *) &val, - val_len) != 0) - goto error; - return; - - case _Jv_SO_OOBINLINE_ : - throw new ::java::net::SocketException ( - JvNewStringUTF ("SO_OOBINLINE: not valid for UDP")); - return; - - case _Jv_SO_SNDBUF_ : - case _Jv_SO_RCVBUF_ : -#if defined(SO_SNDBUF) && defined(SO_RCVBUF) - int opt; - optID == _Jv_SO_SNDBUF_ ? opt = SO_SNDBUF : opt = SO_RCVBUF; - if (::setsockopt (native_fd, SOL_SOCKET, opt, (char *) &val, val_len) != 0) - goto error; -#else - throw new ::java::lang::InternalError ( - JvNewStringUTF ("SO_RCVBUF/SO_SNDBUF not supported")); -#endif - return; - case _Jv_SO_REUSEADDR_ : -#if defined(SO_REUSEADDR) - if (::setsockopt (native_fd, SOL_SOCKET, SO_REUSEADDR, (char *) &val, - val_len) != 0) - goto error; -#else - throw new ::java::lang::InternalError ( - JvNewStringUTF ("SO_REUSEADDR not supported")); -#endif - return; - case _Jv_SO_BINDADDR_ : - throw new ::java::net::SocketException ( - JvNewStringUTF ("SO_BINDADDR: read only option")); - return; - case _Jv_IP_MULTICAST_IF_ : - union InAddr u; - jbyteArray haddress; - jbyte *bytes; - int len; - int level, opname; - const char *ptr; - - haddress = ((::java::net::InetAddress *) value)->addr; - bytes = elements (haddress); - len = haddress->length; - if (len == 4) - { - level = IPPROTO_IP; - opname = IP_MULTICAST_IF; - memcpy (&u.addr, bytes, len); - len = sizeof (struct in_addr); - ptr = (const char *) &u.addr; - } -// Tru64 UNIX V5.0 has struct sockaddr_in6, but no IPV6_MULTICAST_IF -#if defined (HAVE_INET6) && defined (IPV6_MULTICAST_IF) - else if (len == 16) - { - level = IPPROTO_IPV6; - opname = IPV6_MULTICAST_IF; - memcpy (&u.addr6, bytes, len); - len = sizeof (struct in6_addr); - ptr = (const char *) &u.addr6; - } -#endif - else - throw - new ::java::net::SocketException (JvNewStringUTF ("invalid length")); - - if (::setsockopt (native_fd, level, opname, ptr, len) != 0) - goto error; - return; - - case _Jv_IP_MULTICAST_IF2_ : - throw new ::java::net::SocketException ( - JvNewStringUTF ("IP_MULTICAST_IF2: not yet implemented")); - return; - - case _Jv_IP_MULTICAST_LOOP_ : - // cache the local address - if (localAddress == NULL) - localAddress = getLocalAddress (native_fd); - len = localAddress->addr->length; - if (len == 4) - { - level = IPPROTO_IP; - opname = IP_MULTICAST_LOOP; - } -#if defined (HAVE_INET6) && defined (IPV6_MULTICAST_LOOP) - else if (len == 16) - { - level = IPPROTO_IPV6; - opname = IPV6_MULTICAST_LOOP; - } -#endif - else - throw - new ::java::net::SocketException (JvNewStringUTF ("invalid address length")); - if (::setsockopt (native_fd, level, opname, (char *) &val, - val_len) != 0) - goto error; - return; - - case _Jv_IP_TOS_ : - if (::setsockopt (native_fd, SOL_SOCKET, IP_TOS, (char *) &val, - val_len) != 0) - goto error; - return; - - case _Jv_SO_TIMEOUT_ : - timeout = val; - return; - default : - errno = ENOPROTOOPT; - } - - error: - char* strerr = strerror (errno); - throw new ::java::net::SocketException (JvNewStringUTF (strerr)); -} - -::java::lang::Object * -gnu::java::net::PlainDatagramSocketImpl::getOption (jint optID) -{ - int val; - socklen_t val_len = sizeof(val); - int level, opname; - - switch (optID) - { - case _Jv_TCP_NODELAY_ : - throw new ::java::net::SocketException ( - JvNewStringUTF ("TCP_NODELAY not valid for UDP")); - break; - case _Jv_SO_LINGER_ : - throw new ::java::net::SocketException ( - JvNewStringUTF ("SO_LINGER not valid for UDP")); - break; - case _Jv_SO_KEEPALIVE_ : - throw new ::java::net::SocketException ( - JvNewStringUTF ("SO_KEEPALIVE not valid for UDP")); - break; - - case _Jv_SO_BROADCAST_ : - if (::getsockopt (native_fd, SOL_SOCKET, SO_BROADCAST, (char *) &val, - &val_len) != 0) - goto error; - return new ::java::lang::Boolean (val != 0); - - case _Jv_SO_OOBINLINE_ : - throw new ::java::net::SocketException ( - JvNewStringUTF ("SO_OOBINLINE not valid for UDP")); - break; - - case _Jv_SO_RCVBUF_ : - case _Jv_SO_SNDBUF_ : -#if defined(SO_SNDBUF) && defined(SO_RCVBUF) - int opt; - optID == _Jv_SO_SNDBUF_ ? opt = SO_SNDBUF : opt = SO_RCVBUF; - if (::getsockopt (native_fd, SOL_SOCKET, opt, (char *) &val, &val_len) != 0) - goto error; - else - return new ::java::lang::Integer (val); -#else - throw new ::java::lang::InternalError ( - JvNewStringUTF ("SO_RCVBUF/SO_SNDBUF not supported")); -#endif - break; - case _Jv_SO_BINDADDR_: - // cache the local address - if (localAddress == NULL) - localAddress = getLocalAddress (native_fd); - return localAddress; - break; - case _Jv_SO_REUSEADDR_ : -#if defined(SO_REUSEADDR) - if (::getsockopt (native_fd, SOL_SOCKET, SO_REUSEADDR, (char *) &val, - &val_len) != 0) - goto error; - return new ::java::lang::Boolean (val != 0); -#else - throw new ::java::lang::InternalError ( - JvNewStringUTF ("SO_REUSEADDR not supported")); -#endif - break; - case _Jv_IP_MULTICAST_IF_ : -#ifdef HAVE_INET_NTOA - struct in_addr inaddr; - socklen_t inaddr_len; - char *bytes; - - inaddr_len = sizeof(inaddr); - if (::getsockopt (native_fd, IPPROTO_IP, IP_MULTICAST_IF, (char *) &inaddr, - &inaddr_len) != 0) - goto error; - - bytes = inet_ntoa (inaddr); - - return ::java::net::InetAddress::getByName (JvNewStringLatin1 (bytes)); -#else - throw new ::java::net::SocketException ( - JvNewStringUTF ("IP_MULTICAST_IF: not available - no inet_ntoa()")); -#endif - break; - case _Jv_SO_TIMEOUT_ : - return new ::java::lang::Integer (timeout); - break; - - case _Jv_IP_MULTICAST_IF2_ : - throw new ::java::net::SocketException ( - JvNewStringUTF ("IP_MULTICAST_IF2: not yet implemented")); - break; - - case _Jv_IP_MULTICAST_LOOP_ : - // cache the local address - localAddress = getLocalAddress (native_fd); - if (localAddress->addr->length == 4) - { - level = IPPROTO_IP; - opname = IP_MULTICAST_LOOP; - } -#if defined (HAVE_INET6) && defined (IPV6_MULTICAST_LOOP) - else if (localAddress->addr->length == 16) - { - level = IPPROTO_IPV6; - opname = IPV6_MULTICAST_LOOP; - } -#endif - else - throw - new ::java::net::SocketException (JvNewStringUTF ("invalid address length")); - if (::getsockopt (native_fd, level, opname, (char *) &val, - &val_len) != 0) - goto error; - return new ::java::lang::Boolean (val != 0); - - case _Jv_IP_TOS_ : - if (::getsockopt (native_fd, SOL_SOCKET, IP_TOS, (char *) &val, - &val_len) != 0) - goto error; - return new ::java::lang::Integer (val); - - default : - errno = ENOPROTOOPT; - } - - error: - char* strerr = strerror (errno); - throw new ::java::net::SocketException (JvNewStringUTF (strerr)); -} diff --git a/gcc-4.2.1/libjava/gnu/java/net/natPlainDatagramSocketImplWin32.cc b/gcc-4.2.1/libjava/gnu/java/net/natPlainDatagramSocketImplWin32.cc deleted file mode 100644 index bda03fb6c..000000000 --- a/gcc-4.2.1/libjava/gnu/java/net/natPlainDatagramSocketImplWin32.cc +++ /dev/null @@ -1,712 +0,0 @@ -/* Copyright (C) 2003 Free Software Foundation - - This file is part of libgcj. - -This software is copyrighted work licensed under the terms of the -Libgcj License. Please consult the file "LIBGCJ_LICENSE" for -details. */ - -#include <config.h> -#include <platform.h> -#include <string.h> - -#if HAVE_BSTRING_H -// Needed for bzero, implicitly used by FD_ZERO on IRIX 5.2 -#include <bstring.h> -#endif - -#include <gnu/java/net/PlainDatagramSocketImpl.h> -#include <java/io/IOException.h> -#include <java/net/BindException.h> -#include <java/net/SocketException.h> -#include <java/net/InetAddress.h> -#include <java/net/NetworkInterface.h> -#include <java/net/DatagramPacket.h> -#include <java/net/PortUnreachableException.h> -#include <java/net/SocketTimeoutException.h> -#include <java/lang/InternalError.h> -#include <java/lang/Object.h> -#include <java/lang/Boolean.h> -#include <java/lang/Integer.h> - -union SockAddr -{ - struct sockaddr_in address; -#ifdef HAVE_INET6 - struct sockaddr_in6 address6; -#endif -}; - -union McastReq -{ -#if HAVE_STRUCT_IP_MREQ - struct ip_mreq mreq; -#endif -#if HAVE_STRUCT_IPV6_MREQ - struct ipv6_mreq mreq6; -#endif -}; - -union InAddr -{ - struct in_addr addr; -#ifdef HAVE_INET6 - struct in6_addr addr6; -#endif -}; - -// FIXME: routines here and/or in natPlainSocketImpl.cc could throw -// NoRouteToHostException; also consider UnknownHostException, ConnectException. - -void -gnu::java::net::PlainDatagramSocketImpl::create () -{ - SOCKET sock = ::socket (AF_INET, SOCK_DGRAM, 0); - - if (sock == INVALID_SOCKET) - { - _Jv_ThrowSocketException (); - } - - // Cast this to a HANDLE so we can make - // it non-inheritable via _Jv_platform_close_on_exec. - HANDLE hSocket = (HANDLE) sock; - _Jv_platform_close_on_exec (hSocket); - - // We use native_fd in place of fd here. From leaving fd null we avoid - // the double close problem in FileDescriptor.finalize. - native_fd = (jint) hSocket; -} - -void -gnu::java::net::PlainDatagramSocketImpl::bind (jint lport, - ::java::net::InetAddress *host) -{ - union SockAddr u; - struct sockaddr *ptr = (struct sockaddr *) &u.address; - // FIXME: Use getaddrinfo() to get actual protocol instead of assuming ipv4. - jbyteArray haddress = host->addr; - jbyte *bytes = elements (haddress); - int len = haddress->length; - - if (len == 4) - { - u.address.sin_family = AF_INET; - - if (host != NULL) - memcpy (&u.address.sin_addr, bytes, len); - else - u.address.sin_addr.s_addr = htonl (INADDR_ANY); - - len = sizeof (struct sockaddr_in); - u.address.sin_port = htons (lport); - } -#ifdef HAVE_INET6 - else if (len == 16) - { - u.address6.sin6_family = AF_INET6; - memcpy (&u.address6.sin6_addr, bytes, len); - len = sizeof (struct sockaddr_in6); - u.address6.sin6_port = htons (lport); - } -#endif - else - throw new ::java::net::SocketException (JvNewStringUTF ("invalid length")); - - if (::bind (native_fd, ptr, len) == 0) - { - socklen_t addrlen = sizeof(u); - - if (lport != 0) - localPort = lport; - else if (::getsockname (native_fd, (sockaddr*) &u, &addrlen) == 0) - localPort = ntohs (u.address.sin_port); - else - goto error; - - /* Allow broadcast by default. */ - int broadcast = 1; - if (::setsockopt (native_fd, SOL_SOCKET, SO_BROADCAST, (char *) &broadcast, - sizeof (broadcast)) != 0) - goto error; - - return; - } - -error: - DWORD dwErrorCode = WSAGetLastError (); - throw new ::java::net::BindException (_Jv_WinStrError (dwErrorCode)); -} - -void -gnu::java::net::PlainDatagramSocketImpl::connect (::java::net::InetAddress *, jint) -{ - throw new ::java::lang::InternalError (JvNewStringLatin1 ( - "PlainDatagramSocketImpl::connect: not implemented yet")); -} - -void -gnu::java::net::PlainDatagramSocketImpl::disconnect () -{ - throw new ::java::lang::InternalError (JvNewStringLatin1 ( - "PlainDatagramSocketImpl::disconnect: not implemented yet")); -} - -jint -gnu::java::net::PlainDatagramSocketImpl::peek (::java::net::InetAddress *i) -{ - // FIXME: Deal with Multicast and if the socket is connected. - union SockAddr u; - socklen_t addrlen = sizeof(u); - ssize_t retlen = - ::recvfrom (native_fd, (char *) NULL, 0, MSG_PEEK, (sockaddr*) &u, - &addrlen); - if (retlen < 0) - goto error; - // FIXME: Deal with Multicast addressing and if the socket is connected. - jbyteArray raddr; - jint rport; - if (u.address.sin_family == AF_INET) - { - raddr = JvNewByteArray (4); - memcpy (elements (raddr), &u.address.sin_addr, 4); - rport = ntohs (u.address.sin_port); - } -#ifdef HAVE_INET6 - else if (u.address.sin_family == AF_INET6) - { - raddr = JvNewByteArray (16); - memcpy (elements (raddr), &u.address6.sin6_addr, 16); - rport = ntohs (u.address6.sin6_port); - } -#endif - else - throw new ::java::net::SocketException (JvNewStringUTF ("invalid family")); - - i->addr = raddr; - return rport; -error: - DWORD dwErrorCode = WSAGetLastError (); - if (dwErrorCode == WSAECONNRESET) - throw new ::java::net::PortUnreachableException (_Jv_WinStrError (dwErrorCode)); - - _Jv_ThrowIOException (); - return -1; - // we should never get here -} - -jint -gnu::java::net::PlainDatagramSocketImpl::peekData(::java::net::DatagramPacket *p) -{ - // FIXME: Deal with Multicast and if the socket is connected. - union SockAddr u; - socklen_t addrlen = sizeof(u); - jbyte *dbytes = elements (p->getData()) + p->getOffset(); - jint maxlen = p->maxlen - p->getOffset(); - ssize_t retlen = 0; - - if (timeout > 0) - { - int nRet= ::setsockopt(native_fd, SOL_SOCKET, SO_RCVTIMEO, - (char*)&timeout, sizeof(timeout)); - if (nRet != NO_ERROR) - goto error; - } - - retlen = - ::recvfrom (native_fd, (char *) dbytes, maxlen, MSG_PEEK, (sockaddr*) &u, - &addrlen); - if (retlen == SOCKET_ERROR) - goto error; - // FIXME: Deal with Multicast addressing and if the socket is connected. - jbyteArray raddr; - jint rport; - if (u.address.sin_family == AF_INET) - { - raddr = JvNewByteArray (4); - memcpy (elements (raddr), &u.address.sin_addr, 4); - rport = ntohs (u.address.sin_port); - } -#ifdef HAVE_INET6 - else if (u.address.sin_family == AF_INET6) - { - raddr = JvNewByteArray (16); - memcpy (elements (raddr), &u.address6.sin6_addr, 16); - rport = ntohs (u.address6.sin6_port); - } -#endif - else - throw new ::java::net::SocketException (JvNewStringUTF ("invalid family")); - - p->setAddress (new ::java::net::InetAddress (raddr, NULL)); - p->setPort (rport); - p->length = (jint) retlen; - return rport; - -error: - DWORD dwErrorCode = WSAGetLastError (); - if (dwErrorCode == WSAECONNRESET) - throw new ::java::net::PortUnreachableException (_Jv_WinStrError (dwErrorCode)); - else if (dwErrorCode == WSAETIMEDOUT) - throw new ::java::net::SocketTimeoutException (_Jv_WinStrError (dwErrorCode)); - else - _Jv_ThrowIOException (); - - return -1; - // we should never get here -} - -// Close(shutdown) the socket. -void -gnu::java::net::PlainDatagramSocketImpl::close () -{ - // Avoid races from asynchronous finalization. - JvSynchronize sync (this); - - // The method isn't declared to throw anything, so we disregard - // the return value. - ::closesocket (native_fd); - native_fd = -1; - timeout = 0; -} - -void -gnu::java::net::PlainDatagramSocketImpl::send (::java::net::DatagramPacket *p) -{ - JvSynchronize lock (SEND_LOCK); - - // FIXME: Deal with Multicast and if the socket is connected. - jint rport = p->getPort(); - union SockAddr u; - jbyteArray haddress = p->getAddress()->addr; - jbyte *bytes = elements (haddress); - int len = haddress->length; - struct sockaddr *ptr = (struct sockaddr *) &u.address; - jbyte *dbytes = elements (p->getData()) + p->getOffset(); - if (len == 4) - { - u.address.sin_family = AF_INET; - memcpy (&u.address.sin_addr, bytes, len); - len = sizeof (struct sockaddr_in); - u.address.sin_port = htons (rport); - } -#ifdef HAVE_INET6 - else if (len == 16) - { - u.address6.sin6_family = AF_INET6; - memcpy (&u.address6.sin6_addr, bytes, len); - len = sizeof (struct sockaddr_in6); - u.address6.sin6_port = htons (rport); - } -#endif - else - throw new ::java::net::SocketException (JvNewStringUTF ("invalid length")); - - if (::sendto (native_fd, (char *) dbytes, p->getLength(), 0, ptr, len) >= 0) - return; - - DWORD dwErrorCode = WSAGetLastError (); - if (dwErrorCode == WSAECONNRESET) - throw new ::java::net::PortUnreachableException (_Jv_WinStrError (dwErrorCode)); - - _Jv_ThrowIOException (); -} - -void -gnu::java::net::PlainDatagramSocketImpl::receive (::java::net::DatagramPacket *p) -{ - JvSynchronize lock (RECEIVE_LOCK); - - // FIXME: Deal with Multicast and if the socket is connected. - union SockAddr u; - socklen_t addrlen = sizeof(u); - jbyte *dbytes = elements (p->getData()) + p->getOffset(); - jint maxlen = p->maxlen - p->getOffset(); - ssize_t retlen = 0; - - if (timeout > 0) - { - // This implementation doesn't allow specifying an infinite - // timeout after specifying a finite one, but Sun's JDK 1.4.1 - // didn't seem to allow this either.... - int nRet= ::setsockopt(native_fd, SOL_SOCKET, SO_RCVTIMEO, - (char*)&timeout, sizeof(timeout)); - if (nRet != NO_ERROR) - goto error; - } - - retlen = - ::recvfrom (native_fd, (char *) dbytes, maxlen, 0, (sockaddr*) &u, - &addrlen); - if (retlen < 0) - goto error; - // FIXME: Deal with Multicast addressing and if the socket is connected. - jbyteArray raddr; - jint rport; - if (u.address.sin_family == AF_INET) - { - raddr = JvNewByteArray (4); - memcpy (elements (raddr), &u.address.sin_addr, 4); - rport = ntohs (u.address.sin_port); - } -#ifdef HAVE_INET6 - else if (u.address.sin_family == AF_INET6) - { - raddr = JvNewByteArray (16); - memcpy (elements (raddr), &u.address6.sin6_addr, 16); - rport = ntohs (u.address6.sin6_port); - } -#endif - else - throw new ::java::net::SocketException (JvNewStringUTF ("invalid family")); - - p->setAddress (new ::java::net::InetAddress (raddr, NULL)); - p->setPort (rport); - p->length = (jint) retlen; - return; - - error: - DWORD dwErrorCode = WSAGetLastError(); - if (dwErrorCode == WSAECONNRESET) - throw new ::java::net::PortUnreachableException (_Jv_WinStrError (dwErrorCode)); - else if (dwErrorCode == WSAETIMEDOUT) - throw new ::java::net::SocketTimeoutException (_Jv_WinStrError (dwErrorCode)); - else - throw new ::java::io::IOException (_Jv_WinStrError (dwErrorCode)); -} - -void -gnu::java::net::PlainDatagramSocketImpl::setTimeToLive (jint ttl) -{ - // Assumes IPPROTO_IP rather than IPPROTO_IPV6 since socket created is IPv4. - char val = (char) ttl; - socklen_t val_len = sizeof(val); - - if (::setsockopt (native_fd, IPPROTO_IP, IP_MULTICAST_TTL, &val, val_len) == 0) - return; - - _Jv_ThrowIOException (); -} - -jint -gnu::java::net::PlainDatagramSocketImpl::getTimeToLive () -{ - // Assumes IPPROTO_IP rather than IPPROTO_IPV6 since socket created is IPv4. - char val; - socklen_t val_len = sizeof(val); - - if (::getsockopt (native_fd, IPPROTO_IP, IP_MULTICAST_TTL, &val, &val_len) == 0) - return ((int) val) & 0xFF; - - _Jv_ThrowIOException (); - - return -1; - // we should never get here -} - -void -gnu::java::net::PlainDatagramSocketImpl::mcastGrp (::java::net::InetAddress *inetaddr, - ::java::net::NetworkInterface *, - jboolean join) -{ - // FIXME: implement use of NetworkInterface - jbyteArray haddress = inetaddr->addr; - int len = haddress->length; - int level, opname; - const char *ptr; - if (0) - ; -#if HAVE_STRUCT_IP_MREQ - else if (len == 4) - { - level = IPPROTO_IP; - opname = join ? IP_ADD_MEMBERSHIP : IP_DROP_MEMBERSHIP; - memcpy (&u.mreq.imr_multiaddr, bytes, len); - // FIXME: If a non-default interface is set, use it; see Stevens p. 501. - // Maybe not, see note in last paragraph at bottom of Stevens p. 497. - u.mreq.imr_interface.s_addr = htonl (INADDR_ANY); - len = sizeof (struct ip_mreq); - ptr = (const char *) &u.mreq; - } -#endif -#if HAVE_STRUCT_IPV6_MREQ - else if (len == 16) - { - level = IPPROTO_IPV6; - - /* Prefer new RFC 2553 names. */ -#ifndef IPV6_JOIN_GROUP -#define IPV6_JOIN_GROUP IPV6_ADD_MEMBERSHIP -#endif -#ifndef IPV6_LEAVE_GROUP -#define IPV6_LEAVE_GROUP IPV6_DROP_MEMBERSHIP -#endif - - opname = join ? IPV6_JOIN_GROUP : IPV6_LEAVE_GROUP; - memcpy (&u.mreq6.ipv6mr_multiaddr, bytes, len); - // FIXME: If a non-default interface is set, use it; see Stevens p. 501. - // Maybe not, see note in last paragraph at bottom of Stevens p. 497. - u.mreq6.ipv6mr_interface = 0; - len = sizeof (struct ipv6_mreq); - ptr = (const char *) &u.mreq6; - } -#endif - else - throw new ::java::net::SocketException (JvNewStringUTF ("invalid length")); - - if (::setsockopt (native_fd, level, opname, ptr, len) == 0) - return; - - _Jv_ThrowIOException (); -} - -void -gnu::java::net::PlainDatagramSocketImpl::setOption (jint optID, - ::java::lang::Object *value) -{ - int val; - socklen_t val_len = sizeof (val); - - if (native_fd < 0) - throw new ::java::net::SocketException (JvNewStringUTF ("Socket closed")); - - if (_Jv_IsInstanceOf (value, &::java::lang::Boolean::class$)) - { - ::java::lang::Boolean *boolobj = - static_cast< ::java::lang::Boolean *> (value); - val = boolobj->booleanValue() ? 1 : 0; - } - else if (_Jv_IsInstanceOf (value, &::java::lang::Integer::class$)) - { - ::java::lang::Integer *intobj = - static_cast< ::java::lang::Integer *> (value); - val = (int) intobj->intValue(); - } - // Else assume value to be an InetAddress for use with IP_MULTICAST_IF. - - switch (optID) - { - case _Jv_TCP_NODELAY_ : - throw new ::java::net::SocketException ( - JvNewStringUTF ("TCP_NODELAY not valid for UDP")); - return; - case _Jv_SO_LINGER_ : - throw new ::java::net::SocketException ( - JvNewStringUTF ("SO_LINGER not valid for UDP")); - return; - case _Jv_SO_KEEPALIVE_ : - throw new ::java::net::SocketException ( - JvNewStringUTF ("SO_KEEPALIVE not valid for UDP")); - return; - - case _Jv_SO_BROADCAST_ : - if (::setsockopt (native_fd, SOL_SOCKET, SO_BROADCAST, (char *) &val, - val_len) != 0) - goto error; - break; - - case _Jv_SO_OOBINLINE_ : - throw new ::java::net::SocketException ( - JvNewStringUTF ("SO_OOBINLINE: not valid for UDP")); - break; - - case _Jv_SO_SNDBUF_ : - case _Jv_SO_RCVBUF_ : - int opt; - optID == _Jv_SO_SNDBUF_ ? opt = SO_SNDBUF : opt = SO_RCVBUF; - if (::setsockopt (native_fd, SOL_SOCKET, opt, (char *) &val, val_len) != 0) - goto error; - return; - case _Jv_SO_REUSEADDR_ : - if (::setsockopt (native_fd, SOL_SOCKET, SO_REUSEADDR, (char *) &val, - val_len) != 0) - goto error; - return; - case _Jv_SO_BINDADDR_ : - throw new ::java::net::SocketException ( - JvNewStringUTF ("SO_BINDADDR: read only option")); - return; - case _Jv_IP_MULTICAST_IF_ : - union InAddr u; - jbyteArray haddress; - jbyte *bytes; - int len; - int level, opname; - const char *ptr; - - haddress = ((::java::net::InetAddress *) value)->addr; - bytes = elements (haddress); - len = haddress->length; - if (len == 4) - { - level = IPPROTO_IP; - opname = IP_MULTICAST_IF; - memcpy (&u.addr, bytes, len); - len = sizeof (struct in_addr); - ptr = (const char *) &u.addr; - } -// Tru64 UNIX V5.0 has struct sockaddr_in6, but no IPV6_MULTICAST_IF -#if defined (HAVE_INET6) && defined (IPV6_MULTICAST_IF) - else if (len == 16) - { - level = IPPROTO_IPV6; - opname = IPV6_MULTICAST_IF; - memcpy (&u.addr6, bytes, len); - len = sizeof (struct in6_addr); - ptr = (const char *) &u.addr6; - } -#endif - else - throw - new ::java::net::SocketException (JvNewStringUTF ("invalid length")); - - if (::setsockopt (native_fd, level, opname, ptr, len) != 0) - goto error; - return; - - case _Jv_IP_MULTICAST_IF2_ : - throw new ::java::net::SocketException ( - JvNewStringUTF ("IP_MULTICAST_IF2: not yet implemented")); - break; - - case _Jv_IP_MULTICAST_LOOP_ : - throw new ::java::net::SocketException ( - JvNewStringUTF ("IP_MULTICAST_LOOP: not yet implemented")); - break; - - case _Jv_IP_TOS_ : - if (::setsockopt (native_fd, SOL_SOCKET, IP_TOS, (char *) &val, - val_len) != 0) - goto error; - return; - - case _Jv_SO_TIMEOUT_ : - timeout = val; - return; - default : - WSASetLastError (WSAENOPROTOOPT); - } - - error: - _Jv_ThrowSocketException (); -} - -::java::lang::Object * -gnu::java::net::PlainDatagramSocketImpl::getOption (jint optID) -{ - int val; - socklen_t val_len = sizeof(val); - union SockAddr u; - socklen_t addrlen = sizeof(u); - - switch (optID) - { - case _Jv_TCP_NODELAY_ : - throw new ::java::net::SocketException ( - JvNewStringUTF ("TCP_NODELAY not valid for UDP")); - break; - case _Jv_SO_LINGER_ : - throw new ::java::net::SocketException ( - JvNewStringUTF ("SO_LINGER not valid for UDP")); - break; - case _Jv_SO_KEEPALIVE_ : - throw new ::java::net::SocketException ( - JvNewStringUTF ("SO_KEEPALIVE not valid for UDP")); - break; - - case _Jv_SO_BROADCAST_ : - if (::getsockopt (native_fd, SOL_SOCKET, SO_BROADCAST, (char *) &val, - &val_len) != 0) - goto error; - return new ::java::lang::Boolean (val != 0); - - case _Jv_SO_OOBINLINE_ : - throw new ::java::net::SocketException ( - JvNewStringUTF ("SO_OOBINLINE not valid for UDP")); - break; - - case _Jv_SO_RCVBUF_ : - case _Jv_SO_SNDBUF_ : - int opt; - optID == _Jv_SO_SNDBUF_ ? opt = SO_SNDBUF : opt = SO_RCVBUF; - if (::getsockopt (native_fd, SOL_SOCKET, opt, (char *) &val, &val_len) != 0) - goto error; - else - return new ::java::lang::Integer (val); - break; - case _Jv_SO_BINDADDR_: - // cache the local address - if (localAddress == NULL) - { - jbyteArray laddr; - if (::getsockname (native_fd, (sockaddr*) &u, &addrlen) != 0) - goto error; - if (u.address.sin_family == AF_INET) - { - laddr = JvNewByteArray (4); - memcpy (elements (laddr), &u.address.sin_addr, 4); - } -#ifdef HAVE_INET6 - else if (u.address.sin_family == AF_INET6) - { - laddr = JvNewByteArray (16); - memcpy (elements (laddr), &u.address6.sin6_addr, 16); - } -#endif - else - throw new ::java::net::SocketException ( - JvNewStringUTF ("invalid family")); - localAddress = new ::java::net::InetAddress (laddr, NULL); - } - return localAddress; - break; - case _Jv_SO_REUSEADDR_ : - if (::getsockopt (native_fd, SOL_SOCKET, SO_REUSEADDR, (char *) &val, - &val_len) != 0) - goto error; - return new ::java::lang::Boolean (val != 0); - break; - case _Jv_IP_MULTICAST_IF_ : - struct in_addr inaddr; - socklen_t inaddr_len; - char *bytes; - - inaddr_len = sizeof(inaddr); - if (::getsockopt (native_fd, IPPROTO_IP, IP_MULTICAST_IF, (char *) &inaddr, - &inaddr_len) != 0) - goto error; - - bytes = inet_ntoa (inaddr); - - return ::java::net::InetAddress::getByName (JvNewStringLatin1 (bytes)); - break; - case _Jv_SO_TIMEOUT_ : - return new ::java::lang::Integer (timeout); - break; - - case _Jv_IP_MULTICAST_IF2_ : - throw new ::java::net::SocketException ( - JvNewStringUTF ("IP_MULTICAST_IF2: not yet implemented")); - break; - - case _Jv_IP_MULTICAST_LOOP_ : - if (::getsockopt (native_fd, SOL_SOCKET, IP_MULTICAST_LOOP, (char *) &val, - &val_len) != 0) - goto error; - return new ::java::lang::Boolean (val != 0); - - case _Jv_IP_TOS_ : - if (::getsockopt (native_fd, SOL_SOCKET, IP_TOS, (char *) &val, - &val_len) != 0) - goto error; - return new ::java::lang::Integer (val); - - default : - WSASetLastError (WSAENOPROTOOPT); - } - -error: - _Jv_ThrowSocketException (); - return 0; - // we should never get here -} diff --git a/gcc-4.2.1/libjava/gnu/java/net/natPlainSocketImplNoNet.cc b/gcc-4.2.1/libjava/gnu/java/net/natPlainSocketImplNoNet.cc deleted file mode 100644 index a9138aff4..000000000 --- a/gcc-4.2.1/libjava/gnu/java/net/natPlainSocketImplNoNet.cc +++ /dev/null @@ -1,132 +0,0 @@ -/* Copyright (C) 2003 Free Software Foundation - - This file is part of libgcj. - -This software is copyrighted work licensed under the terms of the -Libgcj License. Please consult the file "LIBGCJ_LICENSE" for -details. */ - -#include <config.h> -#include <platform.h> - -#include <gnu/java/net/PlainSocketImpl.h> -#include <gnu/java/net/PlainSocketImpl$SocketInputStream.h> -#include <gnu/java/net/PlainSocketImpl$SocketOutputStream.h> -#include <java/io/IOException.h> -#include <java/net/BindException.h> -#include <java/net/ConnectException.h> -#include <java/net/SocketException.h> - -void -gnu::java::net::PlainSocketImpl::create (jboolean) -{ - throw new ::java::io::IOException ( - JvNewStringLatin1 ("SocketImpl.create: unimplemented")); -} - -void -gnu::java::net::PlainSocketImpl::bind (::java::net::InetAddress *, jint) -{ - throw new ::java::net::BindException ( - JvNewStringLatin1 ("SocketImpl.bind: unimplemented")); -} - -void -gnu::java::net::PlainSocketImpl::connect (::java::net::SocketAddress *, jint) -{ - throw new ::java::net::ConnectException ( - JvNewStringLatin1 ("SocketImpl.connect: unimplemented")); -} - -void -gnu::java::net::PlainSocketImpl::listen (jint) -{ - throw new ::java::io::IOException ( - JvNewStringLatin1 ("SocketImpl.listen: unimplemented")); -} - -void -gnu::java::net::PlainSocketImpl::accept (gnu::java::net::PlainSocketImpl *) -{ - throw new ::java::io::IOException ( - JvNewStringLatin1 ("SocketImpl.accept: unimplemented")); -} - -void -gnu::java::net::PlainSocketImpl::setOption (jint, ::java::lang::Object *) -{ - throw new ::java::net::SocketException ( - JvNewStringLatin1 ("SocketImpl.setOption: unimplemented")); -} - -::java::lang::Object * -gnu::java::net::PlainSocketImpl::getOption (jint) -{ - throw new ::java::net::SocketException ( - JvNewStringLatin1 ("SocketImpl.getOption: unimplemented")); -} - -jint -gnu::java::net::PlainSocketImpl$SocketInputStream::read(void) -{ - throw new ::java::net::SocketException ( - JvNewStringLatin1 ("SocketImpl.read: unimplemented")); -} - -jint -gnu::java::net::PlainSocketImpl$SocketInputStream::read(jbyteArray buffer, - jint offset, jint count) -{ - throw new ::java::net::SocketException ( - JvNewStringLatin1 ("SocketImpl.read: unimplemented")); -} - -void -gnu::java::net::PlainSocketImpl$SocketOutputStream::write(jint b) -{ - throw new ::java::net::SocketException ( - JvNewStringLatin1 ("SocketImpl.write: unimplemented")); -} - -void -gnu::java::net::PlainSocketImpl$SocketOutputStream::write(jbyteArray b, - jint offset, jint len) -{ - throw new ::java::net::SocketException ( - JvNewStringLatin1 ("SocketImpl.write: unimplemented")); -} - -void -gnu::java::net::PlainSocketImpl::sendUrgentData(jint data) -{ - throw new ::java::net::SocketException ( - JvNewStringLatin1 ("SocketImpl.sendUrgentData: unimplemented")); -} - -jint -gnu::java::net::PlainSocketImpl::available(void) -{ - throw new ::java::net::SocketException ( - JvNewStringLatin1 ("SocketImpl.available: unimplemented")); -} - -void -gnu::java::net::PlainSocketImpl::close(void) -{ - throw new ::java::net::SocketException ( - JvNewStringLatin1 ("SocketImpl.close: unimplemented")); -} - -void -gnu::java::net::PlainSocketImpl::shutdownInput (void) -{ - throw new ::java::net::SocketException ( - JvNewStringLatin1 ("SocketImpl.shutdownInput: unimplemented")); -} - -void -gnu::java::net::PlainSocketImpl::shutdownOutput (void) -{ - throw new ::java::net::SocketException ( - JvNewStringLatin1 ("SocketImpl.shutdownOutput: unimplemented")); -} diff --git a/gcc-4.2.1/libjava/gnu/java/net/natPlainSocketImplPosix.cc b/gcc-4.2.1/libjava/gnu/java/net/natPlainSocketImplPosix.cc deleted file mode 100644 index e017cdfbe..000000000 --- a/gcc-4.2.1/libjava/gnu/java/net/natPlainSocketImplPosix.cc +++ /dev/null @@ -1,870 +0,0 @@ -/* Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation - - This file is part of libgcj. - -This software is copyrighted work licensed under the terms of the -Libgcj License. Please consult the file "LIBGCJ_LICENSE" for -details. */ - -#include <config.h> -#include <platform.h> - -#ifdef HAVE_SYS_IOCTL_H -#define BSD_COMP /* Get FIONREAD on Solaris2. */ -#include <sys/ioctl.h> -#endif - -// Pick up FIONREAD on Solaris 2.5. -#ifdef HAVE_SYS_FILIO_H -#include <sys/filio.h> -#endif - -#include <netinet/in.h> -#include <netinet/tcp.h> -#include <errno.h> -#include <string.h> - -#if HAVE_BSTRING_H -// Needed for bzero, implicitly used by FD_ZERO on IRIX 5.2 -#include <bstring.h> -#endif - -#include <gcj/cni.h> -#include <gcj/javaprims.h> -#include <gnu/java/net/PlainSocketImpl.h> -#include <gnu/java/net/PlainSocketImpl$SocketInputStream.h> -#include <gnu/java/net/PlainSocketImpl$SocketOutputStream.h> -#include <java/io/IOException.h> -#include <java/io/InterruptedIOException.h> -#include <java/net/BindException.h> -#include <java/net/ConnectException.h> -#include <java/net/InetAddress.h> -#include <java/net/InetSocketAddress.h> -#include <java/net/SocketException.h> -#include <java/net/SocketTimeoutException.h> -#include <java/lang/InternalError.h> -#include <java/lang/Object.h> -#include <java/lang/Boolean.h> -#include <java/lang/Class.h> -#include <java/lang/Integer.h> -#include <java/lang/Thread.h> -#include <java/lang/NullPointerException.h> -#include <java/lang/ArrayIndexOutOfBoundsException.h> -#include <java/lang/IllegalArgumentException.h> -#include <java/net/UnknownHostException.h> - -union SockAddr -{ - struct sockaddr_in address; -#ifdef HAVE_INET6 - struct sockaddr_in6 address6; -#endif -}; - -void -gnu::java::net::PlainSocketImpl::create (jboolean stream) -{ - int sock = _Jv_socket (AF_INET, stream ? SOCK_STREAM : SOCK_DGRAM, 0); - - if (sock < 0) - { - char* strerr = strerror (errno); - throw new ::java::io::IOException (JvNewStringUTF (strerr)); - } - - // We use native_fd in place of fd here. From leaving fd null we avoid - // the double close problem in FileDescriptor.finalize. - native_fd = sock; -} - -void -gnu::java::net::PlainSocketImpl::bind (::java::net::InetAddress *host, jint lport) -{ - union SockAddr u; - struct sockaddr *ptr = (struct sockaddr *) &u.address; - jbyteArray haddress = host->addr; - jbyte *bytes = elements (haddress); - int len = haddress->length; - int i = 1; - - // The following is needed for OS X/PPC, otherwise bind() fails with an - // error. I found the issue and following fix on some mailing list, but - // no explanation was given as to why this solved the problem. - memset (&u, 0, sizeof (u)); - - if (len == 4) - { - u.address.sin_family = AF_INET; - - if (host != NULL) - memcpy (&u.address.sin_addr, bytes, len); - else - u.address.sin_addr.s_addr = htonl (INADDR_ANY); - - len = sizeof (struct sockaddr_in); - u.address.sin_port = htons (lport); - } -#ifdef HAVE_INET6 - else if (len == 16) - { - u.address6.sin6_family = AF_INET6; - memcpy (&u.address6.sin6_addr, bytes, len); - len = sizeof (struct sockaddr_in6); - u.address6.sin6_port = htons (lport); - } -#endif - else - throw new ::java::net::SocketException (JvNewStringUTF ("invalid length")); - - // Enable SO_REUSEADDR, so that servers can reuse ports left in TIME_WAIT. - ::setsockopt(native_fd, SOL_SOCKET, SO_REUSEADDR, (char *) &i, sizeof(i)); - - if (_Jv_bind (native_fd, ptr, len) == 0) - { - socklen_t addrlen = sizeof(u); - - if (lport != 0) - localport = lport; - else if (::getsockname (native_fd, (sockaddr*) &u, &addrlen) == 0) - localport = ntohs (u.address.sin_port); - else - goto error; - - return; - } - - error: - char* strerr = strerror (errno); - throw new ::java::net::BindException (JvNewStringUTF (strerr)); -} - -void -gnu::java::net::PlainSocketImpl::connect (::java::net::SocketAddress *addr, - jint timeout) -{ - ::java::net::InetSocketAddress *tmp = (::java::net::InetSocketAddress*) addr; - ::java::net::InetAddress *host = tmp->getAddress(); - if (! host) - throw new ::java::net::UnknownHostException(tmp->toString()); - - jint rport = tmp->getPort(); - - // Set the SocketImpl's address and port fields before we try to - // connect. Note that the fact that these are set doesn't imply - // that we're actually connected to anything. We need to record - // this data before we attempt the connect, since non-blocking - // SocketChannels will use this and almost certainly throw timeout - // exceptions. - address = host; - port = rport; - - union SockAddr u; - socklen_t addrlen = sizeof(u); - jbyteArray haddress = host->addr; - jbyte *bytes = elements (haddress); - int len = haddress->length; - struct sockaddr *ptr = (struct sockaddr *) &u.address; - if (len == 4) - { - u.address.sin_family = AF_INET; - memcpy (&u.address.sin_addr, bytes, len); - len = sizeof (struct sockaddr_in); - u.address.sin_port = htons (rport); - } -#ifdef HAVE_INET6 - else if (len == 16) - { - u.address6.sin6_family = AF_INET6; - memcpy (&u.address6.sin6_addr, bytes, len); - len = sizeof (struct sockaddr_in6); - u.address6.sin6_port = htons (rport); - } -#endif - else - throw new ::java::net::SocketException (JvNewStringUTF ("invalid length")); - - if (timeout > 0) - { - int flags = ::fcntl (native_fd, F_GETFL); - ::fcntl (native_fd, F_SETFL, flags | O_NONBLOCK); - - if ((_Jv_connect (native_fd, ptr, len) != 0) && (errno != EINPROGRESS)) - goto error; - - fd_set fset; - struct timeval tv; - FD_ZERO(&fset); - FD_SET(native_fd, &fset); - tv.tv_sec = timeout / 1000; - tv.tv_usec = (timeout % 1000) * 1000; - int retval; - - if ((retval = _Jv_select (native_fd + 1, &fset, &fset, NULL, &tv)) < 0) - goto error; - else if (retval == 0) - throw new ::java::net::SocketTimeoutException - (JvNewStringUTF ("Connect timed out")); - // Set the socket back into a blocking state. - ::fcntl (native_fd, F_SETFL, flags); - } - else - { - if (_Jv_connect (native_fd, ptr, len) != 0) - goto error; - } - - // A bind may not have been done on this socket; if so, set localport now. - if (localport == 0) - { - if (::getsockname (native_fd, (sockaddr*) &u, &addrlen) == 0) - localport = ntohs (u.address.sin_port); - else - goto error; - } - - return; - - error: - char* strerr = strerror (errno); - throw new ::java::net::ConnectException (JvNewStringUTF (strerr)); -} - -void -gnu::java::net::PlainSocketImpl::listen (jint backlog) -{ - if (::listen (native_fd, backlog) != 0) - { - char* strerr = strerror (errno); - throw new ::java::io::IOException (JvNewStringUTF (strerr)); - } -} - -static void -throw_on_sock_closed (gnu::java::net::PlainSocketImpl *soc_impl) -{ - // Avoid races from asynchronous close(). - JvSynchronize sync (soc_impl); - if (soc_impl->native_fd == -1) - { - using namespace java::net; - // Socket was closed. - SocketException *se = - new SocketException (JvNewStringUTF ("Socket Closed")); - throw se; - } -} - -void -gnu::java::net::PlainSocketImpl::accept (gnu::java::net::PlainSocketImpl *s) -{ - union SockAddr u; - socklen_t addrlen = sizeof(u); - int new_socket = 0; - - // Do timeouts via select since SO_RCVTIMEO is not always available. - if (timeout > 0 && native_fd >= 0 && native_fd < FD_SETSIZE) - { - fd_set fset; - struct timeval tv; - FD_ZERO(&fset); - FD_SET(native_fd, &fset); - tv.tv_sec = timeout / 1000; - tv.tv_usec = (timeout % 1000) * 1000; - int retval; - if ((retval = _Jv_select (native_fd + 1, &fset, &fset, NULL, &tv)) < 0) - goto error; - else if (retval == 0) - throw new ::java::net::SocketTimeoutException ( - JvNewStringUTF("Accept timed out")); - } - - new_socket = _Jv_accept (native_fd, (sockaddr*) &u, &addrlen); - - if (new_socket < 0) - goto error; - - jbyteArray raddr; - jint rport; - if (u.address.sin_family == AF_INET) - { - raddr = JvNewByteArray (4); - memcpy (elements (raddr), &u.address.sin_addr, 4); - rport = ntohs (u.address.sin_port); - } -#ifdef HAVE_INET6 - else if (u.address.sin_family == AF_INET6) - { - raddr = JvNewByteArray (16); - memcpy (elements (raddr), &u.address6.sin6_addr, 16); - rport = ntohs (u.address6.sin6_port); - } -#endif - else - throw new ::java::net::SocketException (JvNewStringUTF ("invalid family")); - - s->native_fd = new_socket; - s->localport = localport; - s->address = ::java::net::InetAddress::getByAddress (raddr); - s->port = rport; - return; - - error: - char* strerr = strerror (errno); - throw_on_sock_closed (this); - throw new ::java::io::IOException (JvNewStringUTF (strerr)); -} - -// Close(shutdown) the socket. -void -gnu::java::net::PlainSocketImpl::close() -{ - // Avoid races from asynchronous finalization. - JvSynchronize sync (this); - - // Should we use shutdown here? Yes. - // How would that effect so_linger? Uncertain. - ::shutdown (native_fd, 2); - // Ignore errors in shutdown as we are closing and all the same - // errors are handled in the close. - int res = _Jv_close (native_fd); - - if (res == -1) - { - // These three errors are not errors according to tests performed - // on the reference implementation. - if (errno != ENOTCONN && errno != ECONNRESET && errno != EBADF) - throw new ::java::io::IOException (JvNewStringUTF (strerror (errno))); - } - // Safe place to reset the file pointer. - native_fd = -1; - timeout = 0; -} - -static void -write_helper (jint native_fd, jbyte *bytes, jint len); - -// Write a byte to the socket. -void -gnu::java::net::PlainSocketImpl$SocketOutputStream::write(jint b) -{ - jbyte data = (jbyte) b; - write_helper (this$0->native_fd, &data, 1); -} - -// Write some bytes to the socket. -void -gnu::java::net::PlainSocketImpl$SocketOutputStream::write(jbyteArray b, jint offset, jint len) -{ - if (! b) - throw new ::java::lang::NullPointerException; - if (offset < 0 || len < 0 || offset + len > JvGetArrayLength (b)) - throw new ::java::lang::ArrayIndexOutOfBoundsException; - - write_helper (this$0->native_fd, elements (b) + offset * sizeof (jbyte), len); -} - -static void -write_helper(jint native_fd, jbyte *bytes, jint len) -{ - int written = 0; - - while (len > 0) - { - int r = _Jv_write (native_fd, bytes, len); - - if (r == -1) - { - if (::java::lang::Thread::interrupted()) - { - ::java::io::InterruptedIOException *iioe - = new ::java::io::InterruptedIOException - (JvNewStringLatin1 (strerror (errno))); - iioe->bytesTransferred = written; - throw iioe; - } - // Some errors should not cause exceptions. - if (errno != ENOTCONN && errno != ECONNRESET && errno != EBADF) - throw new ::java::io::IOException (JvNewStringUTF (strerror (errno))); - break; - } - - written += r; - len -= r; - bytes += r; - } -} - -void -gnu::java::net::PlainSocketImpl::sendUrgentData (jint) -{ - throw new ::java::net::SocketException (JvNewStringLatin1 ( - "PlainSocketImpl: sending of urgent data not supported by this socket")); -} - -static jint -read_helper (gnu::java::net::PlainSocketImpl *soc_impl, - jbyte *bytes, jint count); - -// Read a single byte from the socket. -jint -gnu::java::net::PlainSocketImpl$SocketInputStream::read(void) -{ - jbyte data; - - if (read_helper (this$0, &data, 1) == 1) - return data & 0xFF; - - return -1; -} - -// Read count bytes into the buffer, starting at offset. -jint -gnu::java::net::PlainSocketImpl$SocketInputStream::read(jbyteArray buffer, - jint offset, - jint count) -{ - if (! buffer) - throw new ::java::lang::NullPointerException; - - jsize bsize = JvGetArrayLength (buffer); - - if (offset < 0 || count < 0 || offset + count > bsize) - throw new ::java::lang::ArrayIndexOutOfBoundsException; - - return read_helper (this$0, - elements (buffer) + offset * sizeof (jbyte), count); -} - -static jint -read_helper (gnu::java::net::PlainSocketImpl *soc_impl, - jbyte *bytes, jint count) -{ - // If zero bytes were requested, short circuit so that recv - // doesn't signal EOF. - if (count == 0) - return 0; - - // Do timeouts via select. - if (soc_impl->timeout > 0 - && soc_impl->native_fd >= 0 - && soc_impl->native_fd < FD_SETSIZE) - { - // Create the file descriptor set. - fd_set read_fds; - FD_ZERO (&read_fds); - FD_SET (soc_impl->native_fd, &read_fds); - // Create the timeout struct based on our internal timeout value. - struct timeval timeout_value; - timeout_value.tv_sec = soc_impl->timeout / 1000; - timeout_value.tv_usec =(soc_impl->timeout % 1000) * 1000; - // Select on the fds. - int sel_retval = - _Jv_select (soc_impl->native_fd + 1, - &read_fds, NULL, NULL, &timeout_value); - // We're only interested in the 0 return. - // error returns still require us to try to read - // the socket to see what happened. - if (sel_retval == 0) - { - ::java::net::SocketTimeoutException *timeoutException = - new ::java::net::SocketTimeoutException - (JvNewStringUTF ("Read timed out")); - throw timeoutException; - } - } - - // Read the socket. - int r = ::recv (soc_impl->native_fd, (char *) bytes, count, 0); - - if (r == 0) - { - throw_on_sock_closed (soc_impl); - return -1; - } - - if (::java::lang::Thread::interrupted()) - { - ::java::io::InterruptedIOException *iioe = - new ::java::io::InterruptedIOException - (JvNewStringUTF ("Read interrupted")); - iioe->bytesTransferred = r == -1 ? 0 : r; - throw iioe; - } - else if (r == -1) - { - throw_on_sock_closed (soc_impl); - // Some errors cause us to return end of stream... - if (errno == ENOTCONN) - return -1; - - // Other errors need to be signalled. - throw new ::java::io::IOException (JvNewStringUTF (strerror (errno))); - } - - return r; -} - -// How many bytes are available? -jint -gnu::java::net::PlainSocketImpl::available(void) -{ -#if defined(FIONREAD) || defined(HAVE_SELECT) - int num = 0; - int r = 0; - bool num_set = false; - -#if defined(FIONREAD) - r = ::ioctl (native_fd, FIONREAD, &num); - - if (r == -1 && errno == ENOTTY) - { - // If the ioctl doesn't work, we don't care. - r = 0; - num = 0; - } - else - num_set = true; -#elif defined(HAVE_SELECT) - if (native_fd < 0) - { - errno = EBADF; - r = -1; - } -#endif - - if (r == -1) - { - posix_error: - throw new ::java::io::IOException(JvNewStringUTF(strerror(errno))); - } - - // If we didn't get anything we can use select. - -#if defined(HAVE_SELECT) - if (! num_set) - if (! num_set && native_fd >= 0 && native_fd < FD_SETSIZE) - { - fd_set rd; - FD_ZERO (&rd); - FD_SET (native_fd, &rd); - struct timeval tv; - tv.tv_sec = 0; - tv.tv_usec = 0; - r = _Jv_select (native_fd + 1, &rd, NULL, NULL, &tv); - if(r == -1) - goto posix_error; - num = r == 0 ? 0 : 1; - } -#endif /* HAVE_SELECT */ - - return (jint) num; -#else - throw new ::java::io::IOException (JvNewStringUTF ("unimplemented")); -#endif -} - -void -gnu::java::net::PlainSocketImpl::setOption (jint optID, ::java::lang::Object *value) -{ - int val; - socklen_t val_len = sizeof (val); - - if (native_fd < 0) - throw new ::java::net::SocketException (JvNewStringUTF ("Socket closed")); - - if (_Jv_IsInstanceOf (value, &::java::lang::Boolean::class$)) - { - ::java::lang::Boolean *boolobj = - static_cast< ::java::lang::Boolean *> (value); - if (boolobj->booleanValue()) - val = 1; - else - { - if (optID == _Jv_SO_LINGER_) - val = -1; - else - val = 0; - } - } - else if (_Jv_IsInstanceOf (value, &::java::lang::Integer::class$)) - { - ::java::lang::Integer *intobj = - static_cast< ::java::lang::Integer *> (value); - val = (int) intobj->intValue(); - } - else - { - throw new ::java::lang::IllegalArgumentException ( - JvNewStringLatin1 ("`value' must be Boolean or Integer")); - } - - switch (optID) - { - case _Jv_TCP_NODELAY_ : -#ifdef TCP_NODELAY - if (::setsockopt (native_fd, IPPROTO_TCP, TCP_NODELAY, (char *) &val, - val_len) != 0) - goto error; -#else - throw new ::java::lang::InternalError - (JvNewStringUTF ("TCP_NODELAY not supported")); -#endif /* TCP_NODELAY */ - return; - - case _Jv_SO_KEEPALIVE_ : - if (::setsockopt (native_fd, SOL_SOCKET, SO_KEEPALIVE, (char *) &val, - val_len) != 0) - goto error; - return; - - case _Jv_SO_BROADCAST_ : - throw new ::java::net::SocketException - (JvNewStringUTF ("SO_BROADCAST not valid for TCP")); - return; - - case _Jv_SO_OOBINLINE_ : - if (::setsockopt (native_fd, SOL_SOCKET, SO_OOBINLINE, (char *) &val, - val_len) != 0) - goto error; - return; - - case _Jv_SO_LINGER_ : -#ifdef SO_LINGER - struct linger l_val; - l_val.l_onoff = (val != -1); - l_val.l_linger = val; - - if (::setsockopt (native_fd, SOL_SOCKET, SO_LINGER, (char *) &l_val, - sizeof(l_val)) != 0) - goto error; -#else - throw new ::java::lang::InternalError ( - JvNewStringUTF ("SO_LINGER not supported")); -#endif /* SO_LINGER */ - return; - - case _Jv_SO_SNDBUF_ : - case _Jv_SO_RCVBUF_ : -#if defined(SO_SNDBUF) && defined(SO_RCVBUF) - int opt; - optID == _Jv_SO_SNDBUF_ ? opt = SO_SNDBUF : opt = SO_RCVBUF; - if (::setsockopt (native_fd, SOL_SOCKET, opt, (char *) &val, val_len) != 0) - goto error; -#else - throw new ::java::lang::InternalError ( - JvNewStringUTF ("SO_RCVBUF/SO_SNDBUF not supported")); -#endif - return; - - case _Jv_SO_BINDADDR_ : - throw new ::java::net::SocketException ( - JvNewStringUTF ("SO_BINDADDR: read only option")); - return; - - case _Jv_IP_MULTICAST_IF_ : - throw new ::java::net::SocketException ( - JvNewStringUTF ("IP_MULTICAST_IF: not valid for TCP")); - return; - - case _Jv_IP_MULTICAST_IF2_ : - throw new ::java::net::SocketException ( - JvNewStringUTF ("IP_MULTICAST_IF2: not valid for TCP")); - return; - - case _Jv_IP_MULTICAST_LOOP_ : - throw new ::java::net::SocketException ( - JvNewStringUTF ("IP_MULTICAST_LOOP: not valid for TCP")); - return; - - case _Jv_IP_TOS_ : - if (::setsockopt (native_fd, SOL_SOCKET, IP_TOS, (char *) &val, - val_len) != 0) - goto error; - return; - - case _Jv_SO_REUSEADDR_ : -#if defined(SO_REUSEADDR) - if (::setsockopt (native_fd, SOL_SOCKET, SO_REUSEADDR, (char *) &val, - val_len) != 0) - goto error; - return; -#else - throw new ::java::lang::InternalError ( - JvNewStringUTF ("SO_REUSEADDR not supported")); -#endif - - case _Jv_SO_TIMEOUT_ : - timeout = val; - return; - - default : - errno = ENOPROTOOPT; - } - - error: - char* strerr = strerror (errno); - throw new ::java::net::SocketException (JvNewStringUTF (strerr)); -} - -::java::lang::Object * -gnu::java::net::PlainSocketImpl::getOption (jint optID) -{ - int val; - socklen_t val_len = sizeof(val); - union SockAddr u; - socklen_t addrlen = sizeof(u); - struct linger l_val; - socklen_t l_val_len = sizeof(l_val); - - switch (optID) - { -#ifdef TCP_NODELAY - case _Jv_TCP_NODELAY_ : - if (::getsockopt (native_fd, IPPROTO_TCP, TCP_NODELAY, (char *) &val, - &val_len) != 0) - goto error; - else - return new ::java::lang::Boolean (val != 0); -#else - throw new ::java::lang::InternalError - (JvNewStringUTF ("TCP_NODELAY not supported")); -#endif - break; - - case _Jv_SO_LINGER_ : -#ifdef SO_LINGER - if (::getsockopt (native_fd, SOL_SOCKET, SO_LINGER, (char *) &l_val, - &l_val_len) != 0) - goto error; - - if (l_val.l_onoff) - return new ::java::lang::Integer (l_val.l_linger); - else - return new ::java::lang::Boolean ((jboolean)false); -#else - throw new ::java::lang::InternalError - (JvNewStringUTF ("SO_LINGER not supported")); -#endif - break; - - case _Jv_SO_KEEPALIVE_ : - if (::getsockopt (native_fd, SOL_SOCKET, SO_KEEPALIVE, (char *) &val, - &val_len) != 0) - goto error; - else - return new ::java::lang::Boolean (val != 0); - - case _Jv_SO_BROADCAST_ : - if (::getsockopt (native_fd, SOL_SOCKET, SO_BROADCAST, (char *) &val, - &val_len) != 0) - goto error; - return new ::java::lang::Boolean ((jboolean)val); - - case _Jv_SO_OOBINLINE_ : - if (::getsockopt (native_fd, SOL_SOCKET, SO_OOBINLINE, (char *) &val, - &val_len) != 0) - goto error; - return new ::java::lang::Boolean ((jboolean)val); - - case _Jv_SO_RCVBUF_ : - case _Jv_SO_SNDBUF_ : -#if defined(SO_SNDBUF) && defined(SO_RCVBUF) - int opt; - optID == _Jv_SO_SNDBUF_ ? opt = SO_SNDBUF : opt = SO_RCVBUF; - if (::getsockopt (native_fd, SOL_SOCKET, opt, (char *) &val, &val_len) != 0) - goto error; - else - return new ::java::lang::Integer (val); -#else - throw new ::java::lang::InternalError - (JvNewStringUTF ("SO_RCVBUF/SO_SNDBUF not supported")); -#endif - break; - case _Jv_SO_BINDADDR_: - // cache the local address - if (localAddress == NULL) - { - jbyteArray laddr; - - if (::getsockname (native_fd, (sockaddr*) &u, &addrlen) != 0) - goto error; - - if (u.address.sin_family == AF_INET) - { - laddr = JvNewByteArray (4); - memcpy (elements (laddr), &u.address.sin_addr, 4); - } -#ifdef HAVE_INET6 - else if (u.address.sin_family == AF_INET6) - { - laddr = JvNewByteArray (16); - memcpy (elements (laddr), &u.address6.sin6_addr, 16); - } -#endif - else - throw new ::java::net::SocketException - (JvNewStringUTF ("invalid family")); - localAddress = ::java::net::InetAddress::getByAddress (laddr); - } - - return localAddress; - break; - case _Jv_IP_MULTICAST_IF_ : - throw new ::java::net::SocketException - (JvNewStringUTF ("IP_MULTICAST_IF: not valid for TCP")); - break; - - case _Jv_IP_MULTICAST_IF2_ : - throw new ::java::net::SocketException - (JvNewStringUTF ("IP_MULTICAST_IF2: not valid for TCP")); - break; - - case _Jv_IP_MULTICAST_LOOP_ : - throw new ::java::net::SocketException - (JvNewStringUTF ("IP_MULTICAST_LOOP: not valid for TCP")); - break; - - case _Jv_IP_TOS_ : - if (::getsockopt (native_fd, SOL_SOCKET, IP_TOS, (char *) &val, - &val_len) != 0) - goto error; - return new ::java::lang::Integer (val); - break; - - case _Jv_SO_REUSEADDR_ : -#if defined(SO_REUSEADDR) - if (::getsockopt (native_fd, SOL_SOCKET, SO_REUSEADDR, (char *) &val, - &val_len) != 0) - goto error; -#else - throw new ::java::lang::InternalError ( - JvNewStringUTF ("SO_REUSEADDR not supported")); -#endif - break; - - case _Jv_SO_TIMEOUT_ : - return new ::java::lang::Integer (timeout); - break; - - default : - errno = ENOPROTOOPT; - } - - error: - char* strerr = strerror (errno); - throw new ::java::net::SocketException (JvNewStringUTF (strerr)); -} - -void -gnu::java::net::PlainSocketImpl::shutdownInput (void) -{ - if (::shutdown (native_fd, 0)) - throw new ::java::net::SocketException (JvNewStringUTF (strerror (errno))); -} - -void -gnu::java::net::PlainSocketImpl::shutdownOutput (void) -{ - if (::shutdown (native_fd, 1)) - throw new ::java::net::SocketException (JvNewStringUTF (strerror (errno))); -} diff --git a/gcc-4.2.1/libjava/gnu/java/net/natPlainSocketImplWin32.cc b/gcc-4.2.1/libjava/gnu/java/net/natPlainSocketImplWin32.cc deleted file mode 100644 index f54edb546..000000000 --- a/gcc-4.2.1/libjava/gnu/java/net/natPlainSocketImplWin32.cc +++ /dev/null @@ -1,796 +0,0 @@ -/* Copyright (C) 2003, 2004, 2005 Free Software Foundation - - This file is part of libgcj. - -This software is copyrighted work licensed under the terms of the -Libgcj License. Please consult the file "LIBGCJ_LICENSE" for -details. */ - -#include <config.h> -#include <platform.h> - -#undef STRICT -#undef MAX_PRIORITY -#undef MIN_PRIORITY - -#include <gnu/java/net/PlainSocketImpl.h> -#include <gnu/java/net/PlainSocketImpl$SocketInputStream.h> -#include <gnu/java/net/PlainSocketImpl$SocketOutputStream.h> -#include <java/io/IOException.h> -#include <java/net/BindException.h> -#include <java/net/ConnectException.h> -#include <java/net/InetAddress.h> -#include <java/net/InetSocketAddress.h> -#include <java/net/SocketException.h> -#include <java/net/SocketTimeoutException.h> -#include <java/lang/InternalError.h> -#include <java/lang/Object.h> -#include <java/lang/Boolean.h> -#include <java/lang/Class.h> -#include <java/lang/Integer.h> -#include <java/lang/Thread.h> -#include <java/lang/NullPointerException.h> -#include <java/lang/ArrayIndexOutOfBoundsException.h> -#include <java/lang/IllegalArgumentException.h> - -union SockAddr -{ - struct sockaddr_in address; -#ifdef HAVE_INET6 - struct sockaddr_in6 address6; -#endif -}; - -void -gnu::java::net::PlainSocketImpl::create (jboolean stream) -{ - SOCKET sock = ::socket (AF_INET, stream ? SOCK_STREAM : SOCK_DGRAM, 0); - - if (sock == INVALID_SOCKET) - { - _Jv_ThrowIOException (); - } - - // Cast this to a HANDLE so we can make - // it non-inheritable via _Jv_platform_close_on_exec. - HANDLE hSocket = (HANDLE) sock; - _Jv_platform_close_on_exec (hSocket); - - // We use native_fd in place of fd here. From leaving fd null we avoid - // the double close problem in FileDescriptor.finalize. - native_fd = (jint) hSocket; -} - -void -gnu::java::net::PlainSocketImpl::bind (::java::net::InetAddress *host, jint lport) -{ - union SockAddr u; - struct sockaddr *ptr = (struct sockaddr *) &u.address; - jbyteArray haddress = host->addr; - jbyte *bytes = elements (haddress); - int len = haddress->length; - - if (len == 4) - { - u.address.sin_family = AF_INET; - - if (host != NULL) - memcpy (&u.address.sin_addr, bytes, len); - else - u.address.sin_addr.s_addr = htonl (INADDR_ANY); - - len = sizeof (struct sockaddr_in); - u.address.sin_port = htons (lport); - } -#ifdef HAVE_INET6 - else if (len == 16) - { - u.address6.sin6_family = AF_INET6; - memcpy (&u.address6.sin6_addr, bytes, len); - len = sizeof (struct sockaddr_in6); - u.address6.sin6_port = htons (lport); - } -#endif - else - throw new ::java::net::SocketException (JvNewStringUTF ("invalid length")); - - if (::bind (native_fd, ptr, len) != SOCKET_ERROR) - { - socklen_t addrlen = sizeof(u); - - if (lport != 0) - localport = lport; - else if (::getsockname (native_fd, (sockaddr*) &u, &addrlen) != SOCKET_ERROR) - localport = ntohs (u.address.sin_port); - else - goto error; - - return; - } - -error: - DWORD dwErrorCode = WSAGetLastError (); - throw new ::java::net::BindException (_Jv_WinStrError (dwErrorCode)); -} - -static void -throwConnectException (DWORD dwErrorCode) -{ - throw new ::java::net::ConnectException (_Jv_WinStrError (dwErrorCode)); -} - -static void -throwConnectException () -{ - throwConnectException (WSAGetLastError ()); -} - -void -gnu::java::net::PlainSocketImpl::connect (::java::net::SocketAddress *addr, - jint timeout) -{ - ::java::net::InetSocketAddress *tmp = (::java::net::InetSocketAddress*) addr; - ::java::net::InetAddress *host = tmp->getAddress(); - jint rport = tmp->getPort(); - - // Set the SocketImpl's address and port fields before we try to - // connect. Note that the fact that these are set doesn't imply - // that we're actually connected to anything. We need to record - // this data before we attempt the connect, since non-blocking - // SocketChannels will use this and almost certainly throw timeout - // exceptions. - address = host; - port = rport; - - union SockAddr u; - socklen_t addrlen = sizeof(u); - jbyteArray haddress = host->addr; - jbyte *bytes = elements (haddress); - int len = haddress->length; - struct sockaddr *ptr = (struct sockaddr *) &u.address; - - if (len == 4) - { - u.address.sin_family = AF_INET; - memcpy (&u.address.sin_addr, bytes, len); - len = sizeof (struct sockaddr_in); - u.address.sin_port = htons (rport); - } -#ifdef HAVE_INET6 - else if (len == 16) - { - u.address6.sin6_family = AF_INET6; - memcpy (&u.address6.sin6_addr, bytes, len); - len = sizeof (struct sockaddr_in6); - u.address6.sin6_port = htons (rport); - } -#endif - else - throw new ::java::net::SocketException (JvNewStringUTF ("invalid length")); - - if (timeout > 0) - { - // FIXME: we're creating a fresh WSAEVENT for each connect(). - WSAEventWrapper aWSAEventWrapper(native_fd, FD_CONNECT); - WSAEVENT hEvent = aWSAEventWrapper.getEventHandle (); - - if (::connect (native_fd, ptr, len) == SOCKET_ERROR) - { - if (WSAGetLastError () != WSAEWOULDBLOCK) - throwConnectException (); - - DWORD dwRet = - WSAWaitForMultipleEvents (1, &hEvent, true, timeout, false); - // use true, false instead of TRUE, FALSE because the - // MS constants got undefined - - // Reset and ignore our thread's interrupted flag. - // It's not possible to interrupt these sort of - // operations on Win32 anyway. - ::java::lang::Thread::interrupted(); - - if (dwRet == WSA_WAIT_FAILED) - throwConnectException (); - else if (dwRet == WSA_WAIT_TIMEOUT) - throw new ::java::net::SocketTimeoutException - (JvNewStringUTF ("connect timed out")); - - // If we get here, we still need to check whether the actual - // connect() succeeded. Use any socket-specific error code - // instead of the thread-based one. - int nErrCode; int nErrLen=sizeof(nErrCode); - if (::getsockopt(native_fd, SOL_SOCKET, SO_ERROR, (char*) &nErrCode, - &nErrLen) == SOCKET_ERROR) - { - throwConnectException (); - } - - if (nErrCode != NO_ERROR) - { - throwConnectException (nErrCode); - } - } - } - else - { - if (::connect (native_fd, ptr, len) == SOCKET_ERROR) - throwConnectException(); - } - - // A bind may not have been done on this socket; if so, set localport now. - if (localport == 0) - { - if (::getsockname (native_fd, (sockaddr*) &u, &addrlen) != SOCKET_ERROR) - localport = ntohs (u.address.sin_port); - else - throwConnectException(); - } -} - -void -gnu::java::net::PlainSocketImpl::listen (jint backlog) -{ - if (::listen (native_fd, backlog) == SOCKET_ERROR) - { - _Jv_ThrowIOException (); - } -} - -void -gnu::java::net::PlainSocketImpl::accept (gnu::java::net::PlainSocketImpl *s) -{ - union SockAddr u; - socklen_t addrlen = sizeof(u); - HANDLE hSocket = 0; - SOCKET new_socket = 0; - - if (timeout > 0) - { - // FIXME: we're creating a fresh WSAEVENT for each accept(). - // One possible alternative would be that native_fd really points - // to an extended structure consisting of the SOCKET, its - // associated WSAEVENT, etc. - WSAEventWrapper aWSAEventWrapper(native_fd, FD_ACCEPT); - WSAEVENT hEvent = aWSAEventWrapper.getEventHandle (); - - for (;;) - { - new_socket = ::accept (native_fd, (sockaddr*) &u, &addrlen); - - if (new_socket != INVALID_SOCKET) - { - // This new child socket is nonblocking because the parent - // socket became nonblocking via the WSAEventSelect() call, - // so we set its mode back to blocking. - WSAEventSelect (new_socket, hEvent, 0); - // undo the hEvent <-> FD_ACCEPT association inherited - // inherited from our parent socket - - unsigned long lSockOpt = 0L; - // blocking mode - if (ioctlsocket(new_socket, FIONBIO, &lSockOpt) == SOCKET_ERROR) - { - goto error; - } - break; - } - else if (WSAGetLastError () != WSAEWOULDBLOCK) - { - goto error; - } - - DWORD dwRet = - WSAWaitForMultipleEvents (1, &hEvent, true, timeout, false); - // use true, false instead of TRUE, FALSE because the - // MS constants got undefined - - // Reset and ignore our thread's interrupted flag. - ::java::lang::Thread::interrupted(); - - if (dwRet == WSA_WAIT_FAILED) - goto error; - else if (dwRet == WSA_WAIT_TIMEOUT) - throw new ::java::net::SocketTimeoutException - (JvNewStringUTF ("Accept timed out")); - } - } - else - { - new_socket = ::accept (native_fd, (sockaddr*) &u, &addrlen); - } - - if (new_socket == INVALID_SOCKET) - goto error; - - // Cast this to a HANDLE so we can make - // it non-inheritable via _Jv_platform_close_on_exec. - hSocket = (HANDLE) new_socket; - _Jv_platform_close_on_exec (hSocket); - - jbyteArray raddr; - jint rport; - if (u.address.sin_family == AF_INET) - { - raddr = JvNewByteArray (4); - memcpy (elements (raddr), &u.address.sin_addr, 4); - rport = ntohs (u.address.sin_port); - } -#ifdef HAVE_INET6 - else if (u.address.sin_family == AF_INET6) - { - raddr = JvNewByteArray (16); - memcpy (elements (raddr), &u.address6.sin6_addr, 16); - rport = ntohs (u.address6.sin6_port); - } -#endif - else - throw new ::java::net::SocketException (JvNewStringUTF ("invalid family")); - - s->native_fd = (jint) hSocket; - s->localport = localport; - s->address = new ::java::net::InetAddress (raddr, NULL); - s->port = rport; - return; - - error: - _Jv_ThrowIOException (); -} - -// Close(shutdown) the socket. -void -gnu::java::net::PlainSocketImpl::close() -{ - // Avoid races from asynchronous finalization. - JvSynchronize sync (this); - - // should we use shutdown here? how would that effect so_linger? - int res = ::closesocket (native_fd); - - if (res == -1) - { - // These three errors are not errors according to tests performed - // on the reference implementation. - DWORD dwErr = WSAGetLastError(); - if (dwErr != WSAENOTCONN && dwErr != WSAECONNRESET - && dwErr != WSAENOTSOCK) - _Jv_ThrowIOException (); - } - // Safe place to reset the file pointer. - native_fd = -1; - timeout = 0; -} - -// Write a byte to the socket. -void -gnu::java::net::PlainSocketImpl$SocketOutputStream::write(jint b) -{ - jbyte d =(jbyte) b; - int r = 0; - - while (r != 1) - { - r = ::send (this$0->native_fd, (char*) &d, 1, 0); - if (r == -1) - { - DWORD dwErr = WSAGetLastError(); - - // Reset and ignore our thread's interrupted flag. - // It's not possible to interrupt these sort of - // operations on Win32 anyway. - ::java::lang::Thread::interrupted(); - - // Some errors should not cause exceptions. - if (dwErr != WSAENOTCONN && dwErr != WSAECONNRESET - && dwErr != WSAENOTSOCK) - _Jv_ThrowIOException (); - break; - } - } -} - -// Write some bytes to the socket. -void -gnu::java::net::PlainSocketImpl$SocketOutputStream::write(jbyteArray b, - jint offset, jint len) -{ - if (! b) - throw new ::java::lang::NullPointerException; - if (offset < 0 || len < 0 || offset + len > JvGetArrayLength (b)) - throw new ::java::lang::ArrayIndexOutOfBoundsException; - - jbyte *bytes = elements (b) + offset; - int written = 0; - while (len > 0) - { - int r = ::send (this$0->native_fd, (char*) bytes, len, 0); - - if (r == -1) - { - DWORD dwErr = WSAGetLastError(); - - // Reset and ignore our thread's interrupted flag. - ::java::lang::Thread::interrupted(); - - // Some errors should not cause exceptions. - if (dwErr != WSAENOTCONN && dwErr != WSAECONNRESET - && dwErr != WSAENOTSOCK) - _Jv_ThrowIOException (); - break; - } - - written += r; - len -= r; - bytes += r; - } -} - -void -gnu::java::net::PlainSocketImpl::sendUrgentData (jint) -{ - throw new ::java::net::SocketException (JvNewStringLatin1 ( - "PlainSocketImpl: sending of urgent data not supported by this socket")); -} - -// read() helper -static jint -doRead(int native_fd, void* buf, int count, int timeout) -{ - int r = 0; - DWORD dwErrorCode = 0; - // we are forced to declare this here because - // a call to Thread::interrupted() blanks out - // WSAGetLastError(). - - // FIXME: we unconditionally set SO_RCVTIMEO here - // because we can't detect whether someone has - // gone from a non-zero to zero timeout. What we'd - // really need is a member state variable in addition - // to timeout - int nRet= ::setsockopt(native_fd, SOL_SOCKET, SO_RCVTIMEO, - (char*)&timeout, sizeof(timeout)); - if (nRet != NO_ERROR) - { - dwErrorCode = WSAGetLastError (); - goto error; - } - - r = ::recv (native_fd, (char*) buf, count, 0); - - if (r == 0) - return -1; - - dwErrorCode = WSAGetLastError (); - // save WSAGetLastError() before calling Thread.interrupted() - - // Reset and ignore our thread's interrupted flag. - ::java::lang::Thread::interrupted(); - - if (r == -1) - { -error: - // Some errors cause us to return end of stream... - if (dwErrorCode == WSAENOTCONN) - return -1; - - // Other errors need to be signalled. - if (dwErrorCode == WSAETIMEDOUT) - throw new ::java::net::SocketTimeoutException - (JvNewStringUTF ("Read timed out") ); - else - _Jv_ThrowIOException (dwErrorCode); - } - - return r; -} - -// Read a single byte from the socket. -jint -gnu::java::net::PlainSocketImpl$SocketInputStream::read(void) -{ - jbyte b; - doRead(this$0->native_fd, &b, 1, this$0->timeout); - return b & 0xFF; -} - -// Read count bytes into the buffer, starting at offset. -jint -gnu::java::net::PlainSocketImpl$SocketInputStream::read(jbyteArray buffer, - jint offset, jint count) -{ - // If zero bytes were requested, short circuit so that recv - // doesn't signal EOF. - if (count == 0) - return 0; - - if (! buffer) - throw new ::java::lang::NullPointerException; - - jsize bsize = JvGetArrayLength (buffer); - - if (offset < 0 || count < 0 || offset + count > bsize) - throw new ::java::lang::ArrayIndexOutOfBoundsException; - - jbyte *bytes = elements (buffer) + offset; - - // Read the socket. - return doRead(this$0->native_fd, bytes, count, this$0->timeout); -} - -// How many bytes are available? -jint -gnu::java::net::PlainSocketImpl::available(void) -{ - unsigned long num = 0; - - if (::ioctlsocket (native_fd, FIONREAD, &num) == SOCKET_ERROR) - _Jv_ThrowIOException (); - - return (jint) num; -} - -void -gnu::java::net::PlainSocketImpl::setOption (jint optID, ::java::lang::Object *value) -{ - int val; - socklen_t val_len = sizeof (val); - - if (native_fd < 0) - throw new ::java::net::SocketException (JvNewStringUTF ("Socket closed")); - - if (_Jv_IsInstanceOf (value, &::java::lang::Boolean::class$)) - { - ::java::lang::Boolean *boolobj = - static_cast< ::java::lang::Boolean *> (value); - if (boolobj->booleanValue()) - val = 1; - else - { - if (optID == _Jv_SO_LINGER_) - val = -1; - else - val = 0; - } - } - else if (_Jv_IsInstanceOf (value, &::java::lang::Integer::class$)) - { - ::java::lang::Integer *intobj = - static_cast< ::java::lang::Integer *> (value); - val = (int) intobj->intValue(); - } - else - { - throw new ::java::lang::IllegalArgumentException ( - JvNewStringLatin1 ("`value' must be Boolean or Integer")); - } - - switch (optID) - { - case _Jv_TCP_NODELAY_ : - if (::setsockopt (native_fd, IPPROTO_TCP, TCP_NODELAY, (char *) &val, - val_len) == SOCKET_ERROR) - goto error; - return; - - case _Jv_SO_KEEPALIVE_ : - if (::setsockopt (native_fd, SOL_SOCKET, SO_KEEPALIVE, (char *) &val, - val_len) == SOCKET_ERROR) - goto error; - break; - - case _Jv_SO_BROADCAST_ : - throw new ::java::net::SocketException - (JvNewStringUTF ("SO_BROADCAST not valid for TCP")); - break; - - case _Jv_SO_OOBINLINE_ : - if (::setsockopt (native_fd, SOL_SOCKET, SO_OOBINLINE, (char *) &val, - val_len) == SOCKET_ERROR) - goto error; - break; - - case _Jv_SO_LINGER_ : - struct linger l_val; - l_val.l_onoff = (val != -1); - l_val.l_linger = val; - - if (::setsockopt (native_fd, SOL_SOCKET, SO_LINGER, (char *) &l_val, - sizeof(l_val)) == SOCKET_ERROR) - goto error; - return; - - case _Jv_SO_SNDBUF_ : - case _Jv_SO_RCVBUF_ : - int opt; - optID == _Jv_SO_SNDBUF_ ? opt = SO_SNDBUF : opt = SO_RCVBUF; - if (::setsockopt (native_fd, SOL_SOCKET, opt, (char *) &val, - val_len) == SOCKET_ERROR) - goto error; - return; - - case _Jv_SO_BINDADDR_ : - throw new ::java::net::SocketException ( - JvNewStringUTF ("SO_BINDADDR: read only option")); - return; - - case _Jv_IP_MULTICAST_IF_ : - throw new ::java::net::SocketException ( - JvNewStringUTF ("IP_MULTICAST_IF: not valid for TCP")); - return; - - case _Jv_IP_MULTICAST_IF2_ : - throw new ::java::net::SocketException ( - JvNewStringUTF ("IP_MULTICAST_IF2: not valid for TCP")); - break; - - case _Jv_IP_MULTICAST_LOOP_ : - throw new ::java::net::SocketException ( - JvNewStringUTF ("IP_MULTICAST_LOOP: not valid for TCP")); - break; - - case _Jv_IP_TOS_ : - if (::setsockopt (native_fd, SOL_SOCKET, IP_TOS, (char *) &val, - val_len) == SOCKET_ERROR) - goto error; - break; - - case _Jv_SO_REUSEADDR_ : - throw new ::java::net::SocketException ( - JvNewStringUTF ("SO_REUSEADDR: not valid for TCP")); - return; - - case _Jv_SO_TIMEOUT_ : - timeout = val; - return; - - default : - WSASetLastError (WSAENOPROTOOPT); - } - -error: - _Jv_ThrowSocketException (); -} - -::java::lang::Object * -gnu::java::net::PlainSocketImpl::getOption (jint optID) -{ - int val; - socklen_t val_len = sizeof(val); - union SockAddr u; - socklen_t addrlen = sizeof(u); - struct linger l_val; - socklen_t l_val_len = sizeof(l_val); - - switch (optID) - { - case _Jv_TCP_NODELAY_ : - if (::getsockopt (native_fd, IPPROTO_TCP, TCP_NODELAY, (char *) &val, - &val_len) == SOCKET_ERROR) - goto error; - else - return new ::java::lang::Boolean (val != 0); - break; - - case _Jv_SO_LINGER_ : - if (::getsockopt (native_fd, SOL_SOCKET, SO_LINGER, (char *) &l_val, - &l_val_len) == SOCKET_ERROR) - goto error; - - if (l_val.l_onoff) - return new ::java::lang::Integer (l_val.l_linger); - else - return new ::java::lang::Boolean ((jboolean)false); - break; - - case _Jv_SO_KEEPALIVE_ : - if (::getsockopt (native_fd, SOL_SOCKET, SO_KEEPALIVE, (char *) &val, - &val_len) == SOCKET_ERROR) - goto error; - else - return new ::java::lang::Boolean (val != 0); - - case _Jv_SO_BROADCAST_ : - if (::getsockopt (native_fd, SOL_SOCKET, SO_BROADCAST, (char *) &val, - &val_len) == SOCKET_ERROR) - goto error; - return new ::java::lang::Boolean ((jboolean)val); - - case _Jv_SO_OOBINLINE_ : - if (::getsockopt (native_fd, SOL_SOCKET, SO_OOBINLINE, (char *) &val, - &val_len) == SOCKET_ERROR) - goto error; - return new ::java::lang::Boolean ((jboolean)val); - - case _Jv_SO_RCVBUF_ : - case _Jv_SO_SNDBUF_ : - int opt; - optID == _Jv_SO_SNDBUF_ ? opt = SO_SNDBUF : opt = SO_RCVBUF; - if (::getsockopt (native_fd, SOL_SOCKET, opt, (char *) &val, - &val_len) == SOCKET_ERROR) - goto error; - else - return new ::java::lang::Integer (val); - break; - case _Jv_SO_BINDADDR_: - // cache the local address - if (localAddress == NULL) - { - jbyteArray laddr; - - if (::getsockname (native_fd, (sockaddr*) &u, - &addrlen) == SOCKET_ERROR) - goto error; - - if (u.address.sin_family == AF_INET) - { - laddr = JvNewByteArray (4); - memcpy (elements (laddr), &u.address.sin_addr, 4); - } -#ifdef HAVE_INET6 - else if (u.address.sin_family == AF_INET6) - { - laddr = JvNewByteArray (16); - memcpy (elements (laddr), &u.address6.sin6_addr, 16); - } -#endif - else - throw new ::java::net::SocketException - (JvNewStringUTF ("invalid family")); - localAddress = new ::java::net::InetAddress (laddr, NULL); - } - - return localAddress; - break; - case _Jv_IP_MULTICAST_IF_ : - throw new ::java::net::SocketException - (JvNewStringUTF ("IP_MULTICAST_IF: not valid for TCP")); - break; - - case _Jv_IP_MULTICAST_IF2_ : - throw new ::java::net::SocketException - (JvNewStringUTF ("IP_MULTICAST_IF2: not valid for TCP")); - break; - - case _Jv_IP_MULTICAST_LOOP_ : - throw new ::java::net::SocketException - (JvNewStringUTF ("IP_MULTICAST_LOOP: not valid for TCP")); - break; - - case _Jv_IP_TOS_ : - if (::getsockopt (native_fd, SOL_SOCKET, IP_TOS, (char *) &val, - &val_len) == SOCKET_ERROR) - goto error; - return new ::java::lang::Integer (val); - break; - - case _Jv_SO_REUSEADDR_ : - throw new ::java::net::SocketException - (JvNewStringUTF ("SO_REUSEADDR: not valid for TCP")); - break; - - case _Jv_SO_TIMEOUT_ : - return new ::java::lang::Integer (timeout); - break; - - default : - WSASetLastError (WSAENOPROTOOPT); - } - -error: - _Jv_ThrowSocketException (); - return 0; - // we should never get here -} - -void -gnu::java::net::PlainSocketImpl::shutdownInput (void) -{ - if (::shutdown (native_fd, 0)) - _Jv_ThrowSocketException (); -} - -void -gnu::java::net::PlainSocketImpl::shutdownOutput (void) -{ - if (::shutdown (native_fd, 1)) - _Jv_ThrowSocketException (); -} diff --git a/gcc-4.2.1/libjava/gnu/java/net/protocol/core/Connection.java b/gcc-4.2.1/libjava/gnu/java/net/protocol/core/Connection.java deleted file mode 100644 index 2319c0be9..000000000 --- a/gcc-4.2.1/libjava/gnu/java/net/protocol/core/Connection.java +++ /dev/null @@ -1,172 +0,0 @@ -// Connection.java - Implementation of URLConnection for core protocol. - -/* Copyright (C) 2001, 2003 Free Software Foundation - - This file is part of libgcj. - -This software is copyrighted work licensed under the terms of the -Libgcj License. Please consult the file "LIBGCJ_LICENSE" for -details. */ - -package gnu.java.net.protocol.core; - -import gnu.gcj.Core; -import java.io.InputStream; -import java.io.IOException; -import java.net.ProtocolException; -import java.net.URL; -import java.net.URLConnection; -import java.util.Map; -import java.util.Vector; -import java.util.Hashtable; -import java.util.Enumeration; - -/** - * @author Anthony Green <green@redhat.com> - * @date August 13, 2001 - */ - -class Connection extends URLConnection -{ - private Hashtable hdrHash = new Hashtable(); - private Vector hdrVec = new Vector(); - private boolean gotHeaders = false; - - private Core core; - - public Connection (URL url) - { - super(url); - } - - // Implementation of abstract method. - public void connect() throws IOException - { - // Call is ignored if already connected. - if (connected) - return; - - // If not connected, then file needs to be opened. - core = Core.create (url.getFile()); - connected = true; - } - - public InputStream getInputStream() throws IOException - { - if (!connected) - connect(); - - if (! doInput) - throw new ProtocolException("Can't open InputStream if doInput is false"); - return new CoreInputStream (core); - } - - // Override default method in URLConnection. - public String getHeaderField(String name) - { - try - { - getHeaders(); - } - catch (IOException x) - { - return null; - } - return (String) hdrHash.get(name.toLowerCase()); - } - - // Override default method in URLConnection. - public Map getHeaderFields() - { - try - { - getHeaders(); - } - catch (IOException x) - { - return null; - } - return hdrHash; - } - - // Override default method in URLConnection. - public String getHeaderField(int n) - { - try - { - getHeaders(); - } - catch (IOException x) - { - return null; - } - if (n < hdrVec.size()) - return getField ((String) hdrVec.elementAt(n)); - - return null; - } - - // Override default method in URLConnection. - public String getHeaderFieldKey(int n) - { - try - { - getHeaders(); - } - catch (IOException x) - { - return null; - } - if (n < hdrVec.size()) - return getKey ((String) hdrVec.elementAt(n)); - - return null; - } - - private String getKey(String str) - { - if (str == null) - return null; - int index = str.indexOf(':'); - if (index >= 0) - return str.substring(0, index); - else - return null; - } - - private String getField(String str) - { - if (str == null) - return null; - int index = str.indexOf(':'); - if (index >= 0) - return str.substring(index + 1).trim(); - else - return str; - } - - private void getHeaders() throws IOException - { - if (gotHeaders) - return; - gotHeaders = true; - - connect(); - - // Yes, it is overkill to use the hash table and vector here since - // we're only putting one header in the file, but in case we need - // to add others later and for consistency, we'll implement it this way. - - // Add the only header we know about right now: Content-length. - long len = core.length; - String line = "Content-length: " + len; - hdrVec.addElement(line); - - // The key will never be null in this scenario since we build up the - // headers ourselves. If we ever rely on getting a header from somewhere - // else, then we may have to check if the result of getKey() is null. - String key = getKey(line); - hdrHash.put(key.toLowerCase(), Long.toString(len)); - } -} - diff --git a/gcc-4.2.1/libjava/gnu/java/net/protocol/core/CoreInputStream.java b/gcc-4.2.1/libjava/gnu/java/net/protocol/core/CoreInputStream.java deleted file mode 100644 index 421bb1c47..000000000 --- a/gcc-4.2.1/libjava/gnu/java/net/protocol/core/CoreInputStream.java +++ /dev/null @@ -1,90 +0,0 @@ -// Handler.java - URLStreamHandler for core protocol. - -/* Copyright (C) 2001 Free Software Foundation - - This file is part of libgcj. - -This software is copyrighted work licensed under the terms of the -Libgcj License. Please consult the file "LIBGCJ_LICENSE" for -details. */ - -package gnu.java.net.protocol.core; - -import gnu.gcj.Core; -import gnu.gcj.RawData; -import java.io.InputStream; -import java.io.IOException; - -public class CoreInputStream extends InputStream -{ - /* A pointer to the object in memory. */ - protected RawData ptr; - - /* Position of the next byte in core to be read. */ - protected int pos; - - /* The currently marked position in the stream. */ - protected int mark; - - /* The index in core one greater than the last valid character. */ - protected int count; - - private native int unsafeGetByte (long offset); - private native int copyIntoByteArray (byte[] dest, int offset, int numBytes); - - public CoreInputStream (Core core) - { - ptr = core.ptr; - count = core.length; - } - - public synchronized int available() - { - return count - pos; - } - - public synchronized void mark(int readAheadLimit) - { - // readAheadLimit is ignored per Java Class Lib. book, p.220. - mark = pos; - } - - public boolean markSupported() - { - return true; - } - - public synchronized int read() - { - if (pos < count) - return ((int) unsafeGetByte(pos++)) & 0xFF; - return -1; - } - - public synchronized int read(byte[] b, int off, int len) - { - if (pos >= count) - return -1; - - int numBytes = Math.min(count - pos, len); - copyIntoByteArray (b, off, numBytes); - pos += numBytes; - return numBytes; - } - - public synchronized void reset() - { - pos = mark; - } - - public synchronized long skip(long n) - { - // Even though the var numBytes is a long, in reality it can never - // be larger than an int since the result of subtracting 2 positive - // ints will always fit in an int. Since we have to return a long - // anyway, numBytes might as well just be a long. - long numBytes = Math.min ((long) (count - pos), n < 0 ? 0L : n); - pos += numBytes; - return numBytes; - } -} diff --git a/gcc-4.2.1/libjava/gnu/java/net/protocol/core/Handler.java b/gcc-4.2.1/libjava/gnu/java/net/protocol/core/Handler.java deleted file mode 100644 index 8726172d2..000000000 --- a/gcc-4.2.1/libjava/gnu/java/net/protocol/core/Handler.java +++ /dev/null @@ -1,28 +0,0 @@ -// Handler.java - URLStreamHandler for core protocol. - -/* Copyright (C) 2001 Free Software Foundation - - This file is part of libgcj. - -This software is copyrighted work licensed under the terms of the -Libgcj License. Please consult the file "LIBGCJ_LICENSE" for -details. */ - -package gnu.java.net.protocol.core; - -import java.io.IOException; -import java.net.URL; -import java.net.URLConnection; -import java.net.URLStreamHandler; - -/** - * @author Anthony Green <green@redhat.com> - * @date August 13, 2001. - */ -public class Handler extends URLStreamHandler -{ - protected URLConnection openConnection(URL url) throws IOException - { - return new Connection(url); - } -} diff --git a/gcc-4.2.1/libjava/gnu/java/net/protocol/core/natCoreInputStream.cc b/gcc-4.2.1/libjava/gnu/java/net/protocol/core/natCoreInputStream.cc deleted file mode 100644 index 4053efcd1..000000000 --- a/gcc-4.2.1/libjava/gnu/java/net/protocol/core/natCoreInputStream.cc +++ /dev/null @@ -1,51 +0,0 @@ -// natCoreInputStream.cc -- C++ side of CoreInputStream - -/* Copyright (C) 2001 Free Software Foundation - - This file is part of libgcj. - -This software is copyrighted work licensed under the terms of the -Libgcj License. Please consult the file "LIBGCJ_LICENSE" for -details. */ - -/* Author: Anthony Green <green@redhat.com>. */ - -#include <config.h> - -#include <gcj/cni.h> -#include <jvm.h> -#include <string.h> - -#include <java/lang/NullPointerException.h> -#include <java/lang/ArrayIndexOutOfBoundsException.h> -#include <gnu/java/net/protocol/core/CoreInputStream.h> - -jint -gnu::java::net::protocol::core::CoreInputStream::unsafeGetByte (jlong offset) -{ - return ((char*) ptr) [offset]; -} - -jint -gnu::java::net::protocol::core::CoreInputStream::copyIntoByteArray (jbyteArray dest, - jint offset, - jint numBytes) -{ - if (!dest) - throw new ::java::lang::NullPointerException; - - jsize destSize = JvGetArrayLength (dest); - - if (offset < 0 || numBytes < 0 || offset + numBytes < 0 - || offset + numBytes > destSize - || pos + numBytes > count) - throw new ::java::lang::ArrayIndexOutOfBoundsException; - - void *pcore = (void *) &((char*) ptr) [pos]; - void *pdest = (void *) (elements (dest) + offset); - - memcpy (pdest, pcore, numBytes); - - return 0; -} - diff --git a/gcc-4.2.1/libjava/gnu/java/net/protocol/gcjlib/Connection.java b/gcc-4.2.1/libjava/gnu/java/net/protocol/gcjlib/Connection.java deleted file mode 100644 index 4e6e462f2..000000000 --- a/gcc-4.2.1/libjava/gnu/java/net/protocol/gcjlib/Connection.java +++ /dev/null @@ -1,83 +0,0 @@ -// Connection.java - Implementation of URLConnection for gcjlib -// protocol. - -/* Copyright (C) 2003 Free Software Foundation - - This file is part of libgcj. - -This software is copyrighted work licensed under the terms of the -Libgcj License. Please consult the file "LIBGCJ_LICENSE" for -details. */ - -package gnu.java.net.protocol.gcjlib; - -import java.io.InputStream; -import java.io.IOException; -import java.net.MalformedURLException; -import java.net.URL; -import java.net.URLConnection; -import gnu.gcj.Core; -import gnu.gcj.runtime.SharedLibHelper; -import gnu.java.net.protocol.core.CoreInputStream; - -/** - * @author Tom Tromey <tromey@redhat.com> - * @date January 10, 2003 - */ -class Connection extends URLConnection -{ - String solib; - String name; - Core core; - - public Connection (URL url) throws MalformedURLException - { - super (url); - int index = url.getFile().indexOf ("!/"); - - if (index == -1) - throw new MalformedURLException ("couldn't find !/ in gcjlib URL"); - - name = url.getFile().substring (index + 2); - solib = url.getFile().substring (0, index); - } - - public void connect() throws IOException - { - if (core != null) - return; - // We can't create a new SharedLibHelper here, since we don't know - // what parent class loader to use. - SharedLibHelper helper = SharedLibHelper.findHelper(solib); - if (helper == null) - throw new IOException("library not loaded: " + solib); - core = helper.findCore(name); - if (core == null) - throw new IOException("couldn't find core object: " + name); - } - - public InputStream getInputStream() throws IOException - { - connect(); - return new CoreInputStream(core); - } - - public String getHeaderField(String field) - { - try - { - if (!connected) - connect(); - - if (field.equals("content-type")) - return guessContentTypeFromName(name); - else if (field.equals("content-length")) - return Long.toString(core.length); - } - catch (IOException e) - { - // Fall through. - } - return null; - } -} diff --git a/gcc-4.2.1/libjava/gnu/java/net/protocol/gcjlib/Handler.java b/gcc-4.2.1/libjava/gnu/java/net/protocol/gcjlib/Handler.java deleted file mode 100644 index 60f5bcc25..000000000 --- a/gcc-4.2.1/libjava/gnu/java/net/protocol/gcjlib/Handler.java +++ /dev/null @@ -1,24 +0,0 @@ -// Handler.java - URLStreamHandler for gcjlib protocol. - -/* Copyright (C) 2003 Free Software Foundation - - This file is part of libgcj. - -This software is copyrighted work licensed under the terms of the -Libgcj License. Please consult the file "LIBGCJ_LICENSE" for -details. */ - -package gnu.java.net.protocol.gcjlib; - -import java.io.IOException; -import java.net.URL; -import java.net.URLConnection; -import java.net.URLStreamHandler; - -public class Handler extends URLStreamHandler -{ - protected URLConnection openConnection (URL url) throws IOException - { - return new Connection (url); - } -} diff --git a/gcc-4.2.1/libjava/gnu/java/nio/DatagramChannelImpl.java b/gcc-4.2.1/libjava/gnu/java/nio/DatagramChannelImpl.java deleted file mode 100644 index de1d2e6a3..000000000 --- a/gcc-4.2.1/libjava/gnu/java/nio/DatagramChannelImpl.java +++ /dev/null @@ -1,302 +0,0 @@ -/* DatagramChannelImpl.java -- - Copyright (C) 2002, 2003, 2004, 2006 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package gnu.java.nio; - -import gnu.java.net.PlainDatagramSocketImpl; -import java.io.IOException; -import java.net.DatagramPacket; -import java.net.DatagramSocket; -import java.net.InetSocketAddress; -import java.net.SocketAddress; -import java.net.SocketTimeoutException; -import java.nio.ByteBuffer; -import java.nio.channels.ClosedChannelException; -import java.nio.channels.DatagramChannel; -import java.nio.channels.NotYetConnectedException; -import java.nio.channels.spi.SelectorProvider; - -/** - * @author Michael Koch - */ -public final class DatagramChannelImpl extends DatagramChannel -{ - private NIODatagramSocket socket; - - /** - * Indicates whether this channel initiated whatever operation - * is being invoked on our datagram socket. - */ - private boolean inChannelOperation; - - /** - * Indicates whether our datagram socket should ignore whether - * we are set to non-blocking mode. Certain operations on our - * socket throw an <code>IllegalBlockingModeException</code> if - * we are in non-blocking mode, <i>except</i> if the operation - * is initiated by us. - */ - public final boolean isInChannelOperation() - { - return inChannelOperation; - } - - /** - * Sets our indicator of whether we are initiating an I/O operation - * on our socket. - */ - public final void setInChannelOperation(boolean b) - { - inChannelOperation = b; - } - - protected DatagramChannelImpl (SelectorProvider provider) - throws IOException - { - super (provider); - socket = new NIODatagramSocket (new PlainDatagramSocketImpl(), this); - configureBlocking(true); - } - - public int getNativeFD() - { - return socket.getPlainDatagramSocketImpl().getNativeFD(); - } - - public DatagramSocket socket () - { - return socket; - } - - protected void implCloseSelectableChannel () - throws IOException - { - socket.close (); - } - - protected void implConfigureBlocking (boolean blocking) - throws IOException - { - socket.setSoTimeout (blocking ? 0 : NIOConstants.DEFAULT_TIMEOUT); - } - - public DatagramChannel connect (SocketAddress remote) - throws IOException - { - if (!isOpen()) - throw new ClosedChannelException(); - - socket.connect (remote); - return this; - } - - public DatagramChannel disconnect () - throws IOException - { - socket.disconnect (); - return this; - } - - public boolean isConnected () - { - return socket.isConnected (); - } - - public int write (ByteBuffer src) - throws IOException - { - if (!isConnected ()) - throw new NotYetConnectedException (); - - return send (src, socket.getRemoteSocketAddress()); - } - - public long write (ByteBuffer[] srcs, int offset, int length) - throws IOException - { - if (!isConnected()) - throw new NotYetConnectedException(); - - if ((offset < 0) - || (offset > srcs.length) - || (length < 0) - || (length > (srcs.length - offset))) - throw new IndexOutOfBoundsException(); - - long result = 0; - - for (int index = offset; index < offset + length; index++) - result += write (srcs [index]); - - return result; - } - - public int read (ByteBuffer dst) - throws IOException - { - if (!isConnected ()) - throw new NotYetConnectedException (); - - int remaining = dst.remaining(); - receive (dst); - return remaining - dst.remaining(); - } - - public long read (ByteBuffer[] dsts, int offset, int length) - throws IOException - { - if (!isConnected()) - throw new NotYetConnectedException(); - - if ((offset < 0) - || (offset > dsts.length) - || (length < 0) - || (length > (dsts.length - offset))) - throw new IndexOutOfBoundsException(); - - long result = 0; - - for (int index = offset; index < offset + length; index++) - result += read (dsts [index]); - - return result; - } - - public SocketAddress receive (ByteBuffer dst) - throws IOException - { - if (!isOpen()) - throw new ClosedChannelException(); - - try - { - DatagramPacket packet; - int len = dst.remaining(); - - if (dst.hasArray()) - { - packet = new DatagramPacket (dst.array(), - dst.arrayOffset() + dst.position(), - len); - } - else - { - packet = new DatagramPacket (new byte [len], len); - } - - boolean completed = false; - - try - { - begin(); - setInChannelOperation(true); - socket.receive (packet); - completed = true; - } - finally - { - end (completed); - setInChannelOperation(false); - } - - if (!dst.hasArray()) - { - dst.put (packet.getData(), packet.getOffset(), packet.getLength()); - } - else - { - dst.position (dst.position() + packet.getLength()); - } - - return packet.getSocketAddress(); - } - catch (SocketTimeoutException e) - { - return null; - } - } - - public int send (ByteBuffer src, SocketAddress target) - throws IOException - { - if (!isOpen()) - throw new ClosedChannelException(); - - if (target instanceof InetSocketAddress - && ((InetSocketAddress) target).isUnresolved()) - throw new IOException("Target address not resolved"); - - byte[] buffer; - int offset = 0; - int len = src.remaining(); - - if (src.hasArray()) - { - buffer = src.array(); - offset = src.arrayOffset() + src.position(); - } - else - { - buffer = new byte [len]; - src.get (buffer); - } - - DatagramPacket packet = new DatagramPacket (buffer, offset, len, target); - - boolean completed = false; - try - { - begin(); - setInChannelOperation(true); - socket.send(packet); - completed = true; - } - finally - { - end (completed); - setInChannelOperation(false); - } - - if (src.hasArray()) - { - src.position (src.position() + len); - } - - return len; - } -} diff --git a/gcc-4.2.1/libjava/gnu/java/nio/DatagramChannelSelectionKey.java b/gcc-4.2.1/libjava/gnu/java/nio/DatagramChannelSelectionKey.java deleted file mode 100644 index 81b87e548..000000000 --- a/gcc-4.2.1/libjava/gnu/java/nio/DatagramChannelSelectionKey.java +++ /dev/null @@ -1,59 +0,0 @@ -/* DatagramChannelSelectionKey.java -- - Copyright (C) 2003 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package gnu.java.nio; - -import java.nio.channels.spi.AbstractSelectableChannel; - -/** - * @author Michael Koch - */ -public final class DatagramChannelSelectionKey - extends SelectionKeyImpl -{ - public DatagramChannelSelectionKey (AbstractSelectableChannel channel, - SelectorImpl selector) - { - super (channel, selector); - } - - public int getNativeFD() - { - return ((DatagramChannelImpl) ch).getNativeFD(); - } -} diff --git a/gcc-4.2.1/libjava/gnu/java/nio/NIOServerSocket.java b/gcc-4.2.1/libjava/gnu/java/nio/NIOServerSocket.java deleted file mode 100644 index 0383e1a1a..000000000 --- a/gcc-4.2.1/libjava/gnu/java/nio/NIOServerSocket.java +++ /dev/null @@ -1,80 +0,0 @@ -/* NIOServerSocket.java -- - Copyright (C) 2003, 2004 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package gnu.java.nio; - -import gnu.java.net.PlainSocketImpl; - -import java.io.IOException; -import java.net.ServerSocket; -import java.net.Socket; -import java.nio.channels.ServerSocketChannel; -import java.nio.channels.SocketChannel; - -/** - * @author Michael Koch (konqueror@gmx.de) - */ -public final class NIOServerSocket extends ServerSocket -{ - private ServerSocketChannelImpl channel; - - protected NIOServerSocket (ServerSocketChannelImpl channel) - throws IOException - { - super(); - this.channel = channel; - } - - public native PlainSocketImpl getPlainSocketImpl(); - - public ServerSocketChannel getChannel() - { - return channel; - } - - public Socket accept() throws IOException - { - SecurityManager sm = System.getSecurityManager(); - if (sm != null) - sm.checkListen (getLocalPort()); - - SocketChannel socketChannel = channel.provider().openSocketChannel(); - implAccept (socketChannel.socket()); - return socketChannel.socket(); - } -} diff --git a/gcc-4.2.1/libjava/gnu/java/nio/ServerSocketChannelImpl.java b/gcc-4.2.1/libjava/gnu/java/nio/ServerSocketChannelImpl.java deleted file mode 100644 index 8b9499c89..000000000 --- a/gcc-4.2.1/libjava/gnu/java/nio/ServerSocketChannelImpl.java +++ /dev/null @@ -1,129 +0,0 @@ -/* ServerSocketChannelImpl.java -- - Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package gnu.java.nio; - -import java.io.IOException; -import java.net.ServerSocket; -import java.net.SocketTimeoutException; -import java.nio.channels.ClosedChannelException; -import java.nio.channels.NotYetBoundException; -import java.nio.channels.ServerSocketChannel; -import java.nio.channels.SocketChannel; -import java.nio.channels.spi.SelectorProvider; - -public final class ServerSocketChannelImpl extends ServerSocketChannel -{ - private NIOServerSocket serverSocket; - private boolean connected; - - protected ServerSocketChannelImpl (SelectorProvider provider) - throws IOException - { - super (provider); - serverSocket = new NIOServerSocket (this); - configureBlocking(true); - } - - public int getNativeFD() - { - return serverSocket.getPlainSocketImpl().getNativeFD(); - } - - public void finalizer() - { - if (connected) - { - try - { - close (); - } - catch (Exception e) - { - } - } - } - - protected void implCloseSelectableChannel () throws IOException - { - connected = false; - serverSocket.close(); - } - - protected void implConfigureBlocking (boolean blocking) throws IOException - { - serverSocket.setSoTimeout (blocking ? 0 : NIOConstants.DEFAULT_TIMEOUT); - } - - public SocketChannel accept () throws IOException - { - if (!isOpen()) - throw new ClosedChannelException(); - - if (!serverSocket.isBound()) - throw new NotYetBoundException(); - - boolean completed = false; - - try - { - begin(); - serverSocket.getPlainSocketImpl().setInChannelOperation(true); - // indicate that a channel is initiating the accept operation - // so that the socket ignores the fact that we might be in - // non-blocking mode. - NIOSocket socket = (NIOSocket) serverSocket.accept(); - completed = true; - return socket.getChannel(); - } - catch (SocketTimeoutException e) - { - return null; - } - finally - { - serverSocket.getPlainSocketImpl().setInChannelOperation(false); - end (completed); - } - } - - public ServerSocket socket () - { - return serverSocket; - } -} diff --git a/gcc-4.2.1/libjava/gnu/java/nio/ServerSocketChannelSelectionKey.java b/gcc-4.2.1/libjava/gnu/java/nio/ServerSocketChannelSelectionKey.java deleted file mode 100644 index aa329000d..000000000 --- a/gcc-4.2.1/libjava/gnu/java/nio/ServerSocketChannelSelectionKey.java +++ /dev/null @@ -1,56 +0,0 @@ -/* ServerSocketChannelSelectionKey.java -- - Copyright (C) 2003 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package gnu.java.nio; - -import java.nio.channels.spi.AbstractSelectableChannel; - -public final class ServerSocketChannelSelectionKey - extends SelectionKeyImpl -{ - public ServerSocketChannelSelectionKey (AbstractSelectableChannel channel, - SelectorImpl selector) - { - super (channel, selector); - } - - public int getNativeFD() - { - return ((ServerSocketChannelImpl) ch).getNativeFD(); - } -} diff --git a/gcc-4.2.1/libjava/gnu/java/nio/SocketChannelImpl.java b/gcc-4.2.1/libjava/gnu/java/nio/SocketChannelImpl.java deleted file mode 100644 index cda86e807..000000000 --- a/gcc-4.2.1/libjava/gnu/java/nio/SocketChannelImpl.java +++ /dev/null @@ -1,356 +0,0 @@ -/* SocketChannelImpl.java -- - Copyright (C) 2002, 2003, 2004, 2006 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package gnu.java.nio; - -import gnu.java.net.PlainSocketImpl; - -import java.io.IOException; -import java.io.InputStream; -import java.io.OutputStream; -import java.net.InetSocketAddress; -import java.net.Socket; -import java.net.SocketAddress; -import java.net.SocketTimeoutException; -import java.nio.ByteBuffer; -import java.nio.channels.AlreadyConnectedException; -import java.nio.channels.ClosedChannelException; -import java.nio.channels.ConnectionPendingException; -import java.nio.channels.NoConnectionPendingException; -import java.nio.channels.NotYetConnectedException; -import java.nio.channels.SelectionKey; -import java.nio.channels.Selector; -import java.nio.channels.SocketChannel; -import java.nio.channels.UnresolvedAddressException; -import java.nio.channels.UnsupportedAddressTypeException; -import java.nio.channels.spi.SelectorProvider; - -public final class SocketChannelImpl extends SocketChannel -{ - private PlainSocketImpl impl; - private NIOSocket socket; - private boolean connectionPending; - - SocketChannelImpl (SelectorProvider provider) - throws IOException - { - super (provider); - impl = new PlainSocketImpl(); - socket = new NIOSocket (impl, this); - configureBlocking(true); - } - - SocketChannelImpl (SelectorProvider provider, - NIOSocket socket) - throws IOException - { - super (provider); - this.impl = socket.getPlainSocketImpl(); - this.socket = socket; - } - - public void finalizer() - { - if (isConnected()) - { - try - { - close (); - } - catch (Exception e) - { - } - } - } - - PlainSocketImpl getPlainSocketImpl() - { - return impl; - } - - int getNativeFD() - { - return socket.getPlainSocketImpl().getNativeFD(); - } - - protected void implCloseSelectableChannel () throws IOException - { - socket.close(); - } - - protected void implConfigureBlocking (boolean blocking) throws IOException - { - socket.setSoTimeout (blocking ? 0 : NIOConstants.DEFAULT_TIMEOUT); - } - - public boolean connect (SocketAddress remote) throws IOException - { - if (!isOpen()) - throw new ClosedChannelException(); - - if (isConnected()) - throw new AlreadyConnectedException(); - - if (connectionPending) - throw new ConnectionPendingException(); - - if (!(remote instanceof InetSocketAddress)) - throw new UnsupportedAddressTypeException(); - - if (((InetSocketAddress) remote).isUnresolved()) - throw new UnresolvedAddressException(); - - try - { - socket.getPlainSocketImpl().setInChannelOperation(true); - // indicate that a channel is initiating the accept operation - // so that the socket ignores the fact that we might be in - // non-blocking mode. - - if (isBlocking()) - { - // Do blocking connect. - socket.connect (remote); - return true; - } - - // Do non-blocking connect. - try - { - socket.connect (remote, NIOConstants.DEFAULT_TIMEOUT); - return true; - } - catch (SocketTimeoutException e) - { - connectionPending = true; - return false; - } - } - finally - { - socket.getPlainSocketImpl().setInChannelOperation(false); - } - } - - public boolean finishConnect () - throws IOException - { - if (!isOpen()) - throw new ClosedChannelException(); - - if (!isConnected() && !connectionPending) - throw new NoConnectionPendingException(); - - if (isConnected()) - return true; - - // FIXME: Handle blocking/non-blocking mode. - - Selector selector = provider().openSelector(); - register(selector, SelectionKey.OP_CONNECT); - - if (isBlocking()) - { - selector.select(); // blocking until channel is connected. - connectionPending = false; - return true; - } - - int ready = selector.selectNow(); // non-blocking - if (ready == 1) - { - connectionPending = false; - return true; - } - - return false; - } - - public boolean isConnected () - { - return socket.isConnected(); - } - - public boolean isConnectionPending () - { - return connectionPending; - } - - public Socket socket () - { - return socket; - } - - public int read(ByteBuffer dst) throws IOException - { - if (!isConnected()) - throw new NotYetConnectedException(); - - byte[] data; - int offset = 0; - InputStream input = socket.getInputStream(); - int available = input.available(); - int len = dst.remaining(); - - if ((! isBlocking()) && available == 0) - return 0; - - if (dst.hasArray()) - { - offset = dst.arrayOffset() + dst.position(); - data = dst.array(); - } - else - { - data = new byte [len]; - } - - int readBytes = 0; - boolean completed = false; - - try - { - begin(); - socket.getPlainSocketImpl().setInChannelOperation(true); - readBytes = input.read (data, offset, len); - completed = true; - } - finally - { - end (completed); - socket.getPlainSocketImpl().setInChannelOperation(false); - } - - if (readBytes > 0) - if (dst.hasArray()) - { - dst.position (dst.position() + readBytes); - } - else - { - dst.put (data, offset, readBytes); - } - - return readBytes; - } - - public long read (ByteBuffer[] dsts, int offset, int length) - throws IOException - { - if (!isConnected()) - throw new NotYetConnectedException(); - - if ((offset < 0) - || (offset > dsts.length) - || (length < 0) - || (length > (dsts.length - offset))) - throw new IndexOutOfBoundsException(); - - long readBytes = 0; - - for (int index = offset; index < length; index++) - readBytes += read (dsts [index]); - - return readBytes; - } - - public int write (ByteBuffer src) - throws IOException - { - if (!isConnected()) - throw new NotYetConnectedException(); - - byte[] data; - int offset = 0; - int len = src.remaining(); - - if (!src.hasArray()) - { - data = new byte [len]; - src.get (data, 0, len); - } - else - { - offset = src.arrayOffset() + src.position(); - data = src.array(); - } - - OutputStream output = socket.getOutputStream(); - boolean completed = false; - - try - { - begin(); - socket.getPlainSocketImpl().setInChannelOperation(true); - output.write (data, offset, len); - completed = true; - } - finally - { - end (completed); - socket.getPlainSocketImpl().setInChannelOperation(false); - } - - if (src.hasArray()) - { - src.position (src.position() + len); - } - - return len; - } - - public long write (ByteBuffer[] srcs, int offset, int length) - throws IOException - { - if (!isConnected()) - throw new NotYetConnectedException(); - - if ((offset < 0) - || (offset > srcs.length) - || (length < 0) - || (length > (srcs.length - offset))) - throw new IndexOutOfBoundsException(); - - long writtenBytes = 0; - - for (int index = offset; index < length; index++) - writtenBytes += write (srcs [index]); - - return writtenBytes; - } -} diff --git a/gcc-4.2.1/libjava/gnu/java/nio/SocketChannelSelectionKey.java b/gcc-4.2.1/libjava/gnu/java/nio/SocketChannelSelectionKey.java deleted file mode 100644 index 13affef24..000000000 --- a/gcc-4.2.1/libjava/gnu/java/nio/SocketChannelSelectionKey.java +++ /dev/null @@ -1,56 +0,0 @@ -/* SocketChannelSelectionKey.java -- - Copyright (C) 2003 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package gnu.java.nio; - -import java.nio.channels.spi.AbstractSelectableChannel; - -public final class SocketChannelSelectionKey - extends SelectionKeyImpl -{ - public SocketChannelSelectionKey (AbstractSelectableChannel channel, - SelectorImpl selector) - { - super (channel, selector); - } - - public int getNativeFD() - { - return ((SocketChannelImpl) ch).getNativeFD(); - } -} diff --git a/gcc-4.2.1/libjava/gnu/java/nio/VMChannel.java b/gcc-4.2.1/libjava/gnu/java/nio/VMChannel.java deleted file mode 100644 index 23f44bbf9..000000000 --- a/gcc-4.2.1/libjava/gnu/java/nio/VMChannel.java +++ /dev/null @@ -1,199 +0,0 @@ -/* VMChannel.java -- Native interface suppling channel operations. - Copyright (C) 2006 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package gnu.java.nio; - -import gnu.classpath.Configuration; -import gnu.java.net.PlainSocketImpl; -import gnu.java.nio.PipeImpl.SinkChannelImpl; -import gnu.java.nio.PipeImpl.SourceChannelImpl; -import gnu.java.nio.channels.FileChannelImpl; - -import java.io.IOException; -import java.nio.ByteBuffer; - -/** - * Native interface to support configuring of channel to run in a non-blocking - * manner and support scatter/gather io operations. - * - * @author Michael Barker <mike@middlesoft.co.uk> - * - */ -public class VMChannel -{ - private final int fd; - - private VMChannel(int fd) - { - this.fd = fd; - } - - public static VMChannel getVMChannel(PlainSocketImpl socket) - { - return new VMChannel(socket.getNativeFD()); - } - - public static VMChannel getVMChannel(SourceChannelImpl source) - { - return new VMChannel(source.getNativeFD()); - } - - public static VMChannel getVMChannel(SinkChannelImpl sink) - { - return new VMChannel(sink.getNativeFD()); - } - - public static VMChannel getVMChannel(FileChannelImpl file) - { - return null; // XXX - return new VMChannel(file.getNativeFD()); - } - - /** - * Set the file descriptor to have the required blocking - * setting. - * - * @param fd - * @param blocking - */ - public void setBlocking(int fd, boolean blocking) - { - throw new RuntimeException("XXX - Implement me!"); - } - - public void setBlocking(boolean blocking) - { - setBlocking(fd, blocking); - } - - - /** - * Reads a byte buffer directly using the supplied file descriptor. - * Assumes that the buffer is a DirectBuffer. - * - * @param fd Native file descriptor to read from. - * @param dst Direct Byte Buffer to read to. - * @return Number of bytes read. - * @throws IOException If an error occurs or dst is not a direct buffers. - */ - int read(int fd, ByteBuffer dst) - throws IOException - { - throw new IOException("XXX - Implement me!"); - } - - public int read(ByteBuffer dst) - throws IOException - { - return read(fd, dst); - } - - /** - * Reads into byte buffers directly using the supplied file descriptor. - * Assumes that the buffer list contains DirectBuffers. Will perform a - * scattering read. - * - * @param fd Native file descriptor to read from. - * @param dsts An array direct byte buffers. - * @param offset Index of the first buffer to read to. - * @param length The number of buffers to read to. - * @return Number of bytes read. - * @throws IOException If an error occurs or the dsts are not direct buffers. - */ - long readScattering(int fd, ByteBuffer[] dsts, int offset, int length) - throws IOException - { - throw new IOException("XXX - Implement me!"); - } - - public long readScattering(ByteBuffer[] dsts, int offset, int length) - throws IOException - { - if (offset + length > dsts.length) - throw new IndexOutOfBoundsException("offset + length > dsts.length"); - - return readScattering(fd, dsts, offset, length); - } - - /** - * Writes from a direct byte bufer using the supplied file descriptor. - * Assumes the buffer is a DirectBuffer. - * - * @param fd - * @param src - * @return Number of bytes written. - * @throws IOException - */ - int write(int fd, ByteBuffer src) - throws IOException - { - throw new IOException("XXX - Implement me!"); - } - - public int write(ByteBuffer src) - throws IOException - { - return write(fd, src); - } - - /** - * Writes from byte buffers directly using the supplied file descriptor. - * Assumes the that buffer list constains DirectBuffers. Will perform - * as gathering write. - * - * @param fd - * @param srcs - * @param offset - * @param length - * @return Number of bytes written. - * @throws IOException - */ - long writeGathering(int fd, ByteBuffer[] srcs, int offset, int length) - throws IOException - { - throw new IOException("XXX - Implement me!"); - } - - public long writeGathering(ByteBuffer[] srcs, int offset, int length) - throws IOException - { - if (offset + length > srcs.length) - throw new IndexOutOfBoundsException("offset + length > srcs.length"); - - return writeGathering(fd, srcs, offset, length); - } -} diff --git a/gcc-4.2.1/libjava/gnu/java/nio/VMPipe.java b/gcc-4.2.1/libjava/gnu/java/nio/VMPipe.java deleted file mode 100644 index 11dd2aa7b..000000000 --- a/gcc-4.2.1/libjava/gnu/java/nio/VMPipe.java +++ /dev/null @@ -1,64 +0,0 @@ -/* VMPipe.java -- Reference implementation for VM hooks used by PipeImpl - Copyright (C) 2004 Free Software Foundation - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - -package gnu.java.nio; - -import java.io.IOException; -import java.nio.channels.spi.SelectorProvider; -import gnu.classpath.Configuration; - -/** - * This class contains the native methods for gnu.java.nio.PipeImpl - * As such, it needs help from the VM. - * - * @author Patrik Reali - */ -final class VMPipe -{ - - static - { - // load the shared library needed for native methods. - if (Configuration.INIT_LOAD_LIBRARY) - { - System.loadLibrary ("javanio"); - } - } - - static native void init(PipeImpl self, SelectorProvider provider) - throws IOException; -} diff --git a/gcc-4.2.1/libjava/gnu/java/nio/VMSelector.java b/gcc-4.2.1/libjava/gnu/java/nio/VMSelector.java deleted file mode 100644 index 488132d24..000000000 --- a/gcc-4.2.1/libjava/gnu/java/nio/VMSelector.java +++ /dev/null @@ -1,59 +0,0 @@ -/* VMSelector.java -- - Copyright (C) 2004 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - -package gnu.java.nio; - -import gnu.classpath.Configuration; -import java.io.IOException; - -public final class VMSelector -{ - static - { - // load the shared library needed for native methods. - if (Configuration.INIT_LOAD_LIBRARY) - { - System.loadLibrary ("javanio"); - } - } - - // A timeout value of 0 means block forever. - static native int select (int[] read, int[] write, - int[] except, long timeout) - throws IOException; - -} diff --git a/gcc-4.2.1/libjava/gnu/java/nio/channels/FileChannelImpl.java b/gcc-4.2.1/libjava/gnu/java/nio/channels/FileChannelImpl.java deleted file mode 100644 index db68b5969..000000000 --- a/gcc-4.2.1/libjava/gnu/java/nio/channels/FileChannelImpl.java +++ /dev/null @@ -1,536 +0,0 @@ -/* FileChannelImpl.java -- - Copyright (C) 2002, 2004, 2005, 2006 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package gnu.java.nio.channels; - -import gnu.classpath.Configuration; -import gnu.java.nio.FileLockImpl; - -import java.io.File; -import java.io.FileNotFoundException; -import java.io.IOException; -import java.nio.ByteBuffer; -import java.nio.MappedByteBuffer; -import java.nio.channels.ClosedChannelException; -import java.nio.channels.FileChannel; -import java.nio.channels.FileLock; -import java.nio.channels.NonReadableChannelException; -import java.nio.channels.NonWritableChannelException; -import java.nio.channels.ReadableByteChannel; -import java.nio.channels.WritableByteChannel; - -/** - * This file is not user visible ! - * But alas, Java does not have a concept of friendly packages - * so this class is public. - * Instances of this class are created by invoking getChannel - * Upon a Input/Output/RandomAccessFile object. - */ -public final class FileChannelImpl extends FileChannel -{ - // These are mode values for open(). - public static final int READ = 1; - public static final int WRITE = 2; - public static final int APPEND = 4; - - // EXCL is used only when making a temp file. - public static final int EXCL = 8; - public static final int SYNC = 16; - public static final int DSYNC = 32; - - private static native void init(); - - static - { - if (Configuration.INIT_LOAD_LIBRARY) - { - System.loadLibrary("javanio"); - } - - init(); - } - - /** - * This is the actual native file descriptor value - */ - // System's notion of file descriptor. It might seem redundant to - // initialize this given that it is reassigned in the constructors. - // However, this is necessary because if open() throws an exception - // we want to make sure this has the value -1. This is the most - // efficient way to accomplish that. - private int fd = -1; - - private long pos; - private int mode; - - public FileChannelImpl () - { - } - - /* Open a file. MODE is a combination of the above mode flags. */ - /* This is a static factory method, so that VM implementors can decide - * substitute subclasses of FileChannelImpl. */ - public static FileChannelImpl create(File file, int mode) - throws FileNotFoundException - { - return new FileChannelImpl(file, mode); - } - - /* Open a file. MODE is a combination of the above mode flags. */ - private FileChannelImpl (File file, int mode) throws FileNotFoundException - { - final String path = file.getPath(); - fd = open (path, mode); - this.mode = mode; - - // First open the file and then check if it is a a directory - // to avoid race condition. - if (file.isDirectory()) - { - try - { - close(); - } - catch (IOException e) - { - /* ignore it */ - } - - throw new FileNotFoundException(path + " is a directory"); - } - } - - /* Used by init() (native code) */ - FileChannelImpl (int fd, int mode) - { - this.fd = fd; - this.mode = mode; - } - - public static FileChannelImpl in; - public static FileChannelImpl out; - public static FileChannelImpl err; - - private native int open (String path, int mode) throws FileNotFoundException; - - public native int available () throws IOException; - private native long implPosition () throws IOException; - private native void seek (long newPosition) throws IOException; - private native void implTruncate (long size) throws IOException; - - public native void unlock (long pos, long len) throws IOException; - - public native long size () throws IOException; - - protected native void implCloseChannel() throws IOException; - - /** - * Makes sure the Channel is properly closed. - */ - protected void finalize() throws IOException - { - this.close(); - } - - public int read (ByteBuffer dst) throws IOException - { - int result; - byte[] buffer = new byte [dst.remaining ()]; - - result = read (buffer, 0, buffer.length); - - if (result > 0) - dst.put (buffer, 0, result); - - return result; - } - - public int read (ByteBuffer dst, long position) - throws IOException - { - if (position < 0) - throw new IllegalArgumentException (); - long oldPosition = implPosition (); - position (position); - int result = read(dst); - position (oldPosition); - - return result; - } - - public native int read () - throws IOException; - - public native int read (byte[] buffer, int offset, int length) - throws IOException; - - public long read (ByteBuffer[] dsts, int offset, int length) - throws IOException - { - long result = 0; - - for (int i = offset; i < offset + length; i++) - { - result += read (dsts [i]); - } - - return result; - } - - public int write (ByteBuffer src) throws IOException - { - int len = src.remaining (); - if (src.hasArray()) - { - byte[] buffer = src.array(); - write(buffer, src.arrayOffset() + src.position(), len); - src.position(src.position() + len); - } - else - { - // Use a more efficient native method! FIXME! - byte[] buffer = new byte [len]; - src.get (buffer, 0, len); - write (buffer, 0, len); - } - return len; - } - - public int write (ByteBuffer src, long position) - throws IOException - { - if (position < 0) - throw new IllegalArgumentException (); - - if (!isOpen ()) - throw new ClosedChannelException (); - - if ((mode & WRITE) == 0) - throw new NonWritableChannelException (); - - int result; - long oldPosition; - - oldPosition = implPosition (); - seek (position); - result = write(src); - seek (oldPosition); - - return result; - } - - public native void write (byte[] buffer, int offset, int length) - throws IOException; - - public native void write (int b) throws IOException; - - public long write(ByteBuffer[] srcs, int offset, int length) - throws IOException - { - long result = 0; - - for (int i = offset;i < offset + length;i++) - { - result += write (srcs[i]); - } - - return result; - } - - public native MappedByteBuffer mapImpl (char mode, long position, int size) - throws IOException; - - public MappedByteBuffer map (FileChannel.MapMode mode, - long position, long size) - throws IOException - { - char nmode = 0; - if (mode == MapMode.READ_ONLY) - { - nmode = 'r'; - if ((this.mode & READ) == 0) - throw new NonReadableChannelException(); - } - else if (mode == MapMode.READ_WRITE || mode == MapMode.PRIVATE) - { - nmode = mode == MapMode.READ_WRITE ? '+' : 'c'; - if ((this.mode & (READ|WRITE)) != (READ|WRITE)) - throw new NonWritableChannelException(); - } - else - throw new IllegalArgumentException (); - - if (position < 0 || size < 0 || size > Integer.MAX_VALUE) - throw new IllegalArgumentException (); - return mapImpl(nmode, position, (int) size); - } - - /** - * msync with the disk - */ - public void force (boolean metaData) throws IOException - { - if (!isOpen ()) - throw new ClosedChannelException (); - } - - // like transferTo, but with a count of less than 2Gbytes - private int smallTransferTo (long position, int count, - WritableByteChannel target) - throws IOException - { - ByteBuffer buffer; - try - { - // Try to use a mapped buffer if we can. If this fails for - // any reason we'll fall back to using a ByteBuffer. - buffer = map (MapMode.READ_ONLY, position, count); - } - catch (IOException e) - { - buffer = ByteBuffer.allocate (count); - read (buffer, position); - buffer.flip(); - } - - return target.write (buffer); - } - - public long transferTo (long position, long count, - WritableByteChannel target) - throws IOException - { - if (position < 0 - || count < 0) - throw new IllegalArgumentException (); - - if (!isOpen ()) - throw new ClosedChannelException (); - - if ((mode & READ) == 0) - throw new NonReadableChannelException (); - - final int pageSize = 65536; - long total = 0; - - while (count > 0) - { - int transferred - = smallTransferTo (position, (int)Math.min (count, pageSize), - target); - if (transferred < 0) - break; - total += transferred; - position += transferred; - count -= transferred; - } - - return total; - } - - // like transferFrom, but with a count of less than 2Gbytes - private int smallTransferFrom (ReadableByteChannel src, long position, - int count) - throws IOException - { - ByteBuffer buffer = null; - - if (src instanceof FileChannel) - { - try - { - // Try to use a mapped buffer if we can. If this fails - // for any reason we'll fall back to using a ByteBuffer. - buffer = ((FileChannel)src).map (MapMode.READ_ONLY, position, - count); - } - catch (IOException e) - { - } - } - - if (buffer == null) - { - buffer = ByteBuffer.allocate ((int) count); - src.read (buffer); - buffer.flip(); - } - - return write (buffer, position); - } - - public long transferFrom (ReadableByteChannel src, long position, - long count) - throws IOException - { - if (position < 0 - || count < 0) - throw new IllegalArgumentException (); - - if (!isOpen ()) - throw new ClosedChannelException (); - - if ((mode & WRITE) == 0) - throw new NonWritableChannelException (); - - final int pageSize = 65536; - long total = 0; - - while (count > 0) - { - int transferred = smallTransferFrom (src, position, - (int)Math.min (count, pageSize)); - if (transferred < 0) - break; - total += transferred; - position += transferred; - count -= transferred; - } - - return total; - } - - public FileLock tryLock (long position, long size, boolean shared) - throws IOException - { - if (position < 0 - || size < 0) - throw new IllegalArgumentException (); - - if (!isOpen ()) - throw new ClosedChannelException (); - - if (shared && (mode & READ) == 0) - throw new NonReadableChannelException (); - - if (!shared && (mode & WRITE) == 0) - throw new NonWritableChannelException (); - - boolean completed = false; - - try - { - begin(); - boolean lockable = lock(position, size, shared, false); - completed = true; - return (lockable - ? new FileLockImpl(this, position, size, shared) - : null); - } - finally - { - end(completed); - } - } - - /** Try to acquire a lock at the given position and size. - * On success return true. - * If wait as specified, block until we can get it. - * Otherwise return false. - */ - private native boolean lock(long position, long size, - boolean shared, boolean wait) throws IOException; - - public FileLock lock (long position, long size, boolean shared) - throws IOException - { - if (position < 0 - || size < 0) - throw new IllegalArgumentException (); - - if (!isOpen ()) - throw new ClosedChannelException (); - - boolean completed = false; - - try - { - boolean lockable = lock(position, size, shared, true); - completed = true; - return (lockable - ? new FileLockImpl(this, position, size, shared) - : null); - } - finally - { - end(completed); - } - } - - public long position () - throws IOException - { - if (!isOpen ()) - throw new ClosedChannelException (); - - return implPosition (); - } - - public FileChannel position (long newPosition) - throws IOException - { - if (newPosition < 0) - throw new IllegalArgumentException (); - - if (!isOpen ()) - throw new ClosedChannelException (); - - // FIXME note semantics if seeking beyond eof. - // We should seek lazily - only on a write. - seek (newPosition); - return this; - } - - public FileChannel truncate (long size) - throws IOException - { - if (size < 0) - throw new IllegalArgumentException (); - - if (!isOpen ()) - throw new ClosedChannelException (); - - if ((mode & WRITE) == 0) - throw new NonWritableChannelException (); - - if (size < size ()) - implTruncate (size); - - return this; - } -} diff --git a/gcc-4.2.1/libjava/gnu/java/nio/channels/natFileChannelEcos.cc b/gcc-4.2.1/libjava/gnu/java/nio/channels/natFileChannelEcos.cc deleted file mode 100644 index 78575e7e6..000000000 --- a/gcc-4.2.1/libjava/gnu/java/nio/channels/natFileChannelEcos.cc +++ /dev/null @@ -1,192 +0,0 @@ -// natFileDescriptor.cc - Native part of FileDescriptor class. - -/* Copyright (C) 1998, 1999, 2001, 2002 Free Software Foundation - - This file is part of libgcj. - -This software is copyrighted work licensed under the terms of the -Libgcj License. Please consult the file "LIBGCJ_LICENSE" for -details. */ - -#include <config.h> - -#include <errno.h> -#include <string.h> -#include <sys/types.h> -#include <sys/stat.h> -#include <sys/param.h> - -#include <gcj/cni.h> -#include <jvm.h> -#include <java/io/FileDescriptor.h> -#include <java/io/SyncFailedException.h> -#include <java/io/IOException.h> -#include <java/io/EOFException.h> -#include <java/lang/ArrayIndexOutOfBoundsException.h> -#include <java/lang/NullPointerException.h> -#include <java/lang/String.h> -#include <java/io/FileNotFoundException.h> -#include <gnu/java/nio/MappedByteBufferImpl.h> -#include <java/nio/channels/FileChannel.h> -#include <java/nio/channels/FileLock.h> -#include <gnu/java/nio/channels/FileChannelImpl.h> - -using gnu::gcj::RawData; -using java::io::IOException; -using gnu::java::nio::MappedByteBufferImpl; -using java::io::InterruptedIOException; -using java::io::FileNotFoundException; -using java::lang::ArrayIndexOutOfBoundsException; -using java::lang::NullPointerException; -using gnu::java::nio::channels::FileChannelImpl; - -extern "C" void diag_write_char (char c); - -static void -diag_write (char *data, int len) -{ - while (len > 0) - { - diag_write_char (*data++); - len--; - } -} - -#define NO_FSYNC_MESSAGE "sync unsupported" - -void -FileChannelImpl::init(void) -{ - in = new FileChannelImpl((jint) 0, FileChannelImpl::READ); - out = new FileChannelImpl((jint) 1, FileChannelImpl::WRITE); - err = new FileChannelImpl((jint) 2, FileChannelImpl::WRITE); -} - -#if 0 -jboolean -FileChannelImpl::valid (void) -{ - return true; -} - -void -FileChannelImpl::sync (void) -{ - // Some files don't support fsync. We don't bother reporting these - // as errors. -#ifdef HAVE_FSYNC -#else - throw new SyncFailedException (JvNewStringLatin1 (NO_FSYNC_MESSAGE)); -#endif -} -#endif - -jint -FileChannelImpl::open (jstring, jint) -{ - return fd; -} - -void -FileChannelImpl::write (jint) -{ - char d = (char) b; - ::diag_write (&d, 1); -} - -void -FileChannelImpl::write (jbyteArray b, jint offset, jint len) -{ - if (! b) - throw new NullPointerException; - if (offset < 0 || len < 0 || offset + len > JvGetArrayLength (b)) - throw new ArrayIndexOutOfBoundsException; - char *bytes = (char *)elements (b) + offset; - ::diag_write (bytes, len); -} - -void -FileChannelImpl::implCloseChannel (void) -{ -} - -void -FileChannelImpl::implTruncate (jlong) -{ -} - -void -FileChannelImpl::seek (jlong) -{ -} - -jlong -FileChannelImpl::size (void) -{ - return 0; -} - -jlong -FileChannelImpl::implPosition (void) -{ - return 0; -} - -jint -FileChannelImpl::read (void) -{ - return 0; -} - -jint -FileChannelImpl::read (jbyteArray buffer, jint offset, jint count) -{ - return 0; -} - -jint -FileChannelImpl::available (void) -{ - return 0; -} - -jboolean -FileChannelImpl::lock (jlong, jlong, jboolean, jboolean) -{ - throw new IOException (JvNewStringLatin1 - ("gnu.java.nio.FileChannelImpl.lock() not implemented")); -} - -void -FileChannelImpl::unlock (jlong, jlong) -{ - throw new IOException (JvNewStringLatin1 - ("gnu.java.nio.channels.FileChannelImpl.unlock() not implemented")); -} - -java::nio::MappedByteBuffer * -FileChannelImpl::mapImpl (jchar, jlong, jint) -{ - return NULL; -} - -void -MappedByteBufferImpl::unmapImpl () -{ -} - -void -MappedByteBufferImpl::loadImpl () -{ -} - -jboolean -MappedByteBufferImpl::isLoadedImpl () -{ - return true; -} - -void -MappedByteBufferImpl::forceImpl () -{ -} diff --git a/gcc-4.2.1/libjava/gnu/java/nio/channels/natFileChannelPosix.cc b/gcc-4.2.1/libjava/gnu/java/nio/channels/natFileChannelPosix.cc deleted file mode 100644 index 52caf8283..000000000 --- a/gcc-4.2.1/libjava/gnu/java/nio/channels/natFileChannelPosix.cc +++ /dev/null @@ -1,545 +0,0 @@ - -// natFileChannelImplPosix.cc - Native part of FileChannelImpl class. - -/* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2006 Free Software Foundation - - This file is part of libgcj. - -This software is copyrighted work licensed under the terms of the -Libgcj License. Please consult the file "LIBGCJ_LICENSE" for -details. */ - -#include <config.h> -#include <platform.h> - -#include <gcj/cni.h> -#include <gcj/javaprims.h> -#include <jvm.h> - -#include "posix.h" - -#include <errno.h> -#include <fcntl.h> -#include <stdio.h> -#include <string.h> -#include <sys/stat.h> -#include <sys/param.h> - -#include <gnu/gcj/RawData.h> -#include <gnu/java/nio/FileLockImpl.h> -#include <gnu/java/nio/channels/FileChannelImpl.h> -#include <java/io/FileNotFoundException.h> -#include <java/io/IOException.h> -#include <java/io/SyncFailedException.h> -#include <java/io/InterruptedIOException.h> -#include <java/io/EOFException.h> -#include <java/lang/ArrayIndexOutOfBoundsException.h> -#include <java/lang/NullPointerException.h> -#include <java/lang/System.h> -#include <java/lang/String.h> -#include <java/lang/StringBuffer.h> -#include <java/lang/Thread.h> -#include <java/nio/ByteBuffer.h> -#include <java/nio/MappedByteBufferImpl.h> -#include <java/nio/channels/FileChannel.h> -#include <java/nio/channels/FileLock.h> -#include <gnu/java/nio/channels/FileChannelImpl.h> - -#ifdef HAVE_SYS_IOCTL_H -#define BSD_COMP /* Get FIONREAD on Solaris2. */ -#include <sys/ioctl.h> -#endif - -// Pick up FIONREAD on Solaris 2.5. -#ifdef HAVE_SYS_FILIO_H -#include <sys/filio.h> -#endif - -#ifdef HAVE_MMAP -#include <sys/mman.h> - -// Use overload resolution to find out the argument types. -// E.g. Solaris 2.6 uses different argument types for munmap and msync. -// This is in case _POSIX_C_SOURCES is smaller than 3. - -template <typename T_implPtr, typename T_implLen> -static inline int -munmap_adaptor(int (*munmap)(T_implPtr caddr, T_implLen sizet), - void* caddr, size_t sizet) -{ - return munmap ((T_implPtr) caddr, (T_implLen) sizet); -} - -template <typename T_implPtr, typename T_implLen, typename T_msync> -static inline int -msync_adaptor(int (*msync)(T_implPtr caddr, T_implLen sizet, T_msync msynct), - void* caddr, size_t sizet, int msynct) -{ - return msync ((T_implPtr) caddr, (T_implLen) sizet, (T_msync) msynct); -} -#endif - -using gnu::gcj::RawData; -using java::io::IOException; -using java::nio::MappedByteBufferImpl; -using java::io::InterruptedIOException; -using java::io::FileNotFoundException; -using java::lang::ArrayIndexOutOfBoundsException; -using gnu::java::nio::channels::FileChannelImpl; - -#define NO_FSYNC_MESSAGE "sync unsupported" - -void -FileChannelImpl::init(void) -{ - in = new FileChannelImpl((jint) 0, FileChannelImpl::READ); - out = new FileChannelImpl((jint) 1, FileChannelImpl::WRITE); - err = new FileChannelImpl((jint) 2, FileChannelImpl::WRITE); -} - -#if 0 -jboolean -FileChannelImpl::valid (void) -{ - struct stat sb; - return fd >= 0 && ::fstat (fd, &sb) == 0; -} - -void -FileChannelImpl::sync (void) -{ - // Some files don't support fsync. We don't bother reporting these - // as errors. -#ifdef HAVE_FSYNC - if (::fsync (fd) && errno != EROFS && errno != EINVAL) - throw new SyncFailedException (JvNewStringLatin1 (strerror (errno))); -#else - throw new SyncFailedException (JvNewStringLatin1 (NO_FSYNC_MESSAGE)); -#endif -} -#endif - -jint -FileChannelImpl::open (jstring path, jint jflags) -{ - fd = -1; - char *buf = (char *) _Jv_AllocBytes (_Jv_GetStringUTFLength (path) + 1); - jsize total = JvGetStringUTFRegion (path, 0, path->length(), buf); - buf[total] = '\0'; - int flags = 0; -#ifdef O_BINARY - flags |= O_BINARY; -#endif - - JvAssert ((jflags & READ) || (jflags & WRITE)); - int mode = 0666; - if ((jflags & READ) && (jflags & WRITE)) - flags |= O_RDWR | O_CREAT; - else if ((jflags & READ)) - flags |= O_RDONLY; - else - { - flags |= O_WRONLY | O_CREAT; - if ((jflags & APPEND)) - flags |= O_APPEND; - else - flags |= O_TRUNC; - - if ((jflags & EXCL)) - { - flags |= O_EXCL; - // In this case we are making a temp file. - mode = 0600; - } - } - - if ((jflags & SYNC)) - flags |= O_SYNC; - - if ((jflags & DSYNC)) - flags |= O_DSYNC; - - int fd = ::open (buf, flags, mode); - if (fd == -1 && errno == EMFILE) - { - // Because finalize () calls close () we might be able to continue. - ::java::lang::System::gc (); - ::java::lang::System::runFinalization (); - fd = ::open (buf, flags, mode); - } - if (fd == -1) - { - // We choose the formatting here for JDK compatibility, believe - // it or not. - ::java::lang::StringBuffer *msg = new ::java::lang::StringBuffer (path); - msg->append (JvNewStringUTF (" (")); - msg->append (JvNewStringUTF (strerror (errno))); - msg->append (JvNewStringUTF (")")); - throw new ::java::io::FileNotFoundException (msg->toString ()); - } - - return fd; -} - -void -FileChannelImpl::write (jint b) -{ - jbyte d = (jbyte) b; - int r = 0; - while (r != 1) - { - r = ::write (fd, &d, 1); - if (r == -1) - { - if (::java::lang::Thread::interrupted()) - { - ::java::io::InterruptedIOException *iioe - = new ::java::io::InterruptedIOException (JvNewStringLatin1 (strerror (errno))); - iioe->bytesTransferred = r == -1 ? 0 : r; - throw iioe; - } - if (errno != EINTR) - throw new IOException (JvNewStringLatin1 (strerror (errno))); - } - } - pos++; -} - -void -FileChannelImpl::write (jbyteArray b, jint offset, jint len) -{ - if (! b) - throw new ::java::lang::NullPointerException; - if (offset < 0 || len < 0 || offset + len > JvGetArrayLength (b)) - throw new ArrayIndexOutOfBoundsException; - jbyte *bytes = elements (b) + offset; - - int written = 0; - while (len > 0) - { - int r = ::write (fd, bytes, len); - if (r == -1) - { - if (::java::lang::Thread::interrupted()) - { - InterruptedIOException *iioe - = new InterruptedIOException (JvNewStringLatin1 (strerror (errno))); - iioe->bytesTransferred = written; - throw iioe; - } - if (errno != EINTR) - throw new IOException (JvNewStringLatin1 (strerror (errno))); - continue; - } - - written += r; - len -= r; - bytes += r; - pos += r; - } -} - -void -FileChannelImpl::implCloseChannel (void) -{ - jint save = fd; - fd = -1; - if (::close (save)) - throw new IOException (JvNewStringLatin1 (strerror (errno))); -} - -void -FileChannelImpl::implTruncate (jlong size) -{ - struct stat sb; - -#ifdef HAVE_FTRUNCATE - if (::fstat (fd, &sb)) - throw new IOException (JvNewStringLatin1 (strerror (errno))); - - if ((jlong) sb.st_size == size) - return; - - // If the file is too short, we extend it. We can't rely on - // ftruncate() extending the file. So we lseek() to 1 byte less - // than we want, and then we write a single byte at the end. - if ((jlong) sb.st_size < size) - { - if (::lseek (fd, (off_t) (size - 1), SEEK_SET) == -1) - throw new IOException (JvNewStringLatin1 (strerror (errno))); - char out = '\0'; - int r = ::write (fd, &out, 1); - if (r <= 0 || ::lseek (fd, pos, SEEK_SET) == -1) - throw new IOException (JvNewStringLatin1 (strerror (errno))); - } - else - { - if (::ftruncate (fd, (off_t) size)) - throw new IOException (JvNewStringLatin1 (strerror (errno))); - if (pos > size - && ::lseek (fd, (off_t) size, SEEK_SET) == -1) - throw new IOException (JvNewStringLatin1 (strerror (errno))); - pos = size; - } -#else /* HAVE_FTRUNCATE */ - throw new IOException (JvNewStringLatin1 ("FileDescriptor.setLength not implemented")); -#endif /* HAVE_FTRUNCATE */ -} - -void -FileChannelImpl::seek (jlong newPos) -{ - off_t r = ::lseek (fd, (off_t) newPos, SEEK_SET); - if (r == -1) - throw new IOException (JvNewStringLatin1 (strerror (errno))); - pos = r; -} - -jlong -FileChannelImpl::size (void) -{ - struct stat sb; - if (::fstat (fd, &sb)) - throw new IOException (JvNewStringLatin1 (strerror (errno))); - return sb.st_size; -} - -jlong -FileChannelImpl::implPosition (void) -{ - return pos; -} - -jint -FileChannelImpl::read (void) -{ - jbyte b; - int r; - do - { - r = ::read (fd, &b, 1); - if (r == 0) - return -1; - if (r == -1) - { - if (::java::lang::Thread::interrupted()) - { - InterruptedIOException *iioe - = new InterruptedIOException (JvNewStringLatin1 (strerror (errno))); - iioe->bytesTransferred = r == -1 ? 0 : r; - throw iioe; - } - if (errno != EINTR) - throw new IOException (JvNewStringLatin1 (strerror (errno))); - } - } - while (r != 1); - pos++; - return b & 0xFF; -} - -jint -FileChannelImpl::read (jbyteArray buffer, jint offset, jint count) -{ - if (! buffer) - throw new ::java::lang::NullPointerException; - jsize bsize = JvGetArrayLength (buffer); - if (offset < 0 || count < 0 || offset + count > bsize) - throw new ::java::lang::ArrayIndexOutOfBoundsException; - - // Must return 0 if an attempt is made to read 0 bytes. - if (count == 0) - return 0; - - jbyte *bytes = elements (buffer) + offset; - int r; - do - { - r = ::read (fd, bytes, count); - if (r == 0) - return -1; - if (r == -1) - { - if (::java::lang::Thread::interrupted()) - { - InterruptedIOException *iioe - = new InterruptedIOException (JvNewStringLatin1 (strerror (errno))); - iioe->bytesTransferred = r == -1 ? 0 : r; - throw iioe; - } - if (errno != EINTR) - throw new IOException (JvNewStringLatin1 (strerror (errno))); - } - } - while (r <= 0); - pos += r; - return r; -} - -jint -FileChannelImpl::available (void) -{ -#if defined (FIONREAD) || defined (HAVE_SELECT) || defined (HAVE_FSTAT) - int num = 0; - int r = 0; - bool num_set = false; - -#if defined (FIONREAD) - r = ::ioctl (fd, FIONREAD, &num); - if (r == -1 && errno == ENOTTY) - { - // If the ioctl doesn't work, we don't care. - r = 0; - num = 0; - } - else - num_set = true; -#elif defined (HAVE_SELECT) - if (fd < 0) - { - errno = EBADF; - r = -1; - } -#endif - - if (r == -1) - { - posix_error: - throw new IOException (JvNewStringLatin1 (strerror (errno))); - } - - // If we didn't get anything, and we have fstat, then see if see if - // we're reading a regular file. On many systems, FIONREAD does not - // work on regular files; select() likewise returns a useless - // result. This is run incorrectly when FIONREAD does work on - // regular files and we are at the end of the file. However, this - // case probably isn't very important. -#if defined (HAVE_FSTAT) - if (! num_set) - { - struct stat sb; - off_t where = 0; - if (fstat (fd, &sb) != -1 - && S_ISREG (sb.st_mode) - && (where = lseek (fd, 0, SEEK_CUR)) != (off_t) -1) - { - num = (int) (sb.st_size - where); - num_set = true; - } - } -#endif /* HAVE_FSTAT */ - -#if defined (HAVE_SELECT) - if (! num_set) - { - fd_set rd; - FD_ZERO (&rd); - FD_SET (fd, &rd); - struct timeval tv; - tv.tv_sec = 0; - tv.tv_usec = 0; - r = _Jv_select (fd + 1, &rd, NULL, NULL, &tv); - if (r == -1) - goto posix_error; - num = r == 0 ? 0 : 1; - } -#endif /* HAVE_SELECT */ - - return (jint) num; -#else - return 0; -#endif -} - -jboolean -FileChannelImpl::lock -(jlong pos, jlong len, jboolean shared, jboolean wait) -{ - struct flock lockdata; - - lockdata.l_type = shared ? F_RDLCK : F_WRLCK; - lockdata.l_whence = SEEK_SET; - lockdata.l_start = pos; - lockdata.l_len = len; - - if (::fcntl (fd, wait ? F_SETLKW : F_SETLK, &lockdata) == -1) - { - if (! wait && (errno == EACCES || errno == EAGAIN)) - return false; - throw new IOException (JvNewStringLatin1 (strerror (errno))); - } - return true; -} - -void -FileChannelImpl::unlock (jlong pos, jlong len) -{ - struct flock lockdata; - - lockdata.l_type = F_UNLCK; - lockdata.l_whence = SEEK_SET; - lockdata.l_start = pos; - lockdata.l_len = len; - - if (::fcntl (fd, F_SETLK, &lockdata) == -1) - throw new IOException (JvNewStringLatin1 (strerror (errno))); -} - -java::nio::MappedByteBuffer * -FileChannelImpl::mapImpl (jchar mmode, jlong position, jint size) -{ -#if defined(HAVE_MMAP) - int prot, flags; - if (mmode == 'r') - { - prot = PROT_READ; - flags = MAP_PRIVATE; - } - else - { - prot = PROT_READ|PROT_WRITE; - flags = mmode == '+' ? MAP_SHARED : MAP_PRIVATE; - } - jint page_size = ::getpagesize(); - jint offset = position & ~(page_size-1); - jint align = position - offset; - void* ptr = ::mmap(NULL, size + align, prot, flags, fd, offset); - MappedByteBufferImpl *buf - = new MappedByteBufferImpl ((RawData *) ((char *) ptr + align), - size, mmode == 'r'); - if (ptr == (void *) MAP_FAILED) - throw new IOException (JvNewStringLatin1 (strerror (errno))); - buf->implPtr = reinterpret_cast<RawData*> (ptr); - buf->implLen = size+align; - return buf; -#else - throw new IOException (JvNewStringUTF ("mmap not implemented")); -#endif -} - -void -MappedByteBufferImpl::unmapImpl () -{ -#if defined(HAVE_MMAP) - munmap_adaptor(munmap, implPtr, implLen); -#endif -} - -void -MappedByteBufferImpl::loadImpl () -{ -} - -jboolean -MappedByteBufferImpl::isLoadedImpl () -{ - return true; -} - -void -MappedByteBufferImpl::forceImpl () -{ -#if defined(HAVE_MMAP) - ::msync_adaptor(msync, implPtr, implLen, MS_SYNC); -#endif -} diff --git a/gcc-4.2.1/libjava/gnu/java/nio/channels/natFileChannelWin32.cc b/gcc-4.2.1/libjava/gnu/java/nio/channels/natFileChannelWin32.cc deleted file mode 100644 index ab238e623..000000000 --- a/gcc-4.2.1/libjava/gnu/java/nio/channels/natFileChannelWin32.cc +++ /dev/null @@ -1,466 +0,0 @@ -// natFileChannelImplWin32.cc - Native part of FileChannelImpl class. - -/* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software - Foundation, Inc. - - This file is part of libgcj. - -This software is copyrighted work licensed under the terms of the -Libgcj License. Please consult the file "LIBGCJ_LICENSE" for -details. */ - -// FIXME: In order to support interrupting of IO operations, we -// need to change to use the windows asynchronous IO functions - -#include <config.h> -#include <platform.h> - -#include <gcj/cni.h> -#include <gcj/javaprims.h> -#include <jvm.h> - -#include <stdio.h> - -#include <gnu/gcj/RawData.h> -#include <gnu/java/nio/FileLockImpl.h> -#include <gnu/java/nio/channels/FileChannelImpl.h> -#include <java/io/FileNotFoundException.h> -#include <java/io/IOException.h> -#include <java/io/SyncFailedException.h> -#include <java/io/InterruptedIOException.h> -#include <java/io/EOFException.h> -#include <java/lang/ArrayIndexOutOfBoundsException.h> -#include <java/lang/NullPointerException.h> -#include <java/lang/System.h> -#include <java/lang/String.h> -#include <java/lang/Thread.h> -#include <java/nio/ByteBuffer.h> -#include <java/nio/MappedByteBufferImpl.h> -#include <java/nio/channels/FileChannel.h> -#include <java/nio/channels/FileLock.h> -#include <gnu/java/nio/channels/FileChannelImpl.h> - -using gnu::gcj::RawData; -using java::io::IOException; -using java::nio::MappedByteBufferImpl; -using java::io::InterruptedIOException; -using java::io::FileNotFoundException; -using java::lang::ArrayIndexOutOfBoundsException; -using gnu::java::nio::channels::FileChannelImpl; - -#undef STRICT - -static bool testCanUseGetHandleInfo() -{ - /* Test to see whether GetHandleInformation can be used - for console input or screen buffers. This is better - a kludgy OS version check. */ - DWORD dwFlags; - return GetHandleInformation (GetStdHandle (STD_INPUT_HANDLE), - &dwFlags) != 0; -} - -// FIXME: casting a FILE (pointer) to a jint will not work on Win64 -- -// we should be using gnu.gcj.RawData's. - -void -FileChannelImpl::init(void) -{ - in = new FileChannelImpl((jint)(GetStdHandle (STD_INPUT_HANDLE)), - FileChannelImpl::READ); - out = new FileChannelImpl((jint)(GetStdHandle (STD_OUTPUT_HANDLE)), - FileChannelImpl::WRITE); - err = new FileChannelImpl((jint)(GetStdHandle (STD_ERROR_HANDLE)), - FileChannelImpl::WRITE); -} - -#if 0 -FileChannelImpl::sync (void) { - if (! FlushFileBuffers ((HANDLE)fd)) - { - DWORD dwErrorCode = GetLastError (); - throw new SyncFailedException (_Jv_WinStrError (dwErrorCode)); - } -} -#endif - -jint -FileChannelImpl::open (jstring path, jint jflags) { - - HANDLE handle = NULL; - DWORD access = 0; - DWORD create = OPEN_EXISTING; - - JV_TEMP_STRING_WIN32(cpath, path) - - JvAssert((jflags & READ) || (jflags & WRITE)); - - if ((jflags & READ) && (jflags & WRITE)) - { - access = GENERIC_READ | GENERIC_WRITE; - if (jflags & EXCL) - create = CREATE_NEW; // this will raise error if file exists. - else - create = OPEN_ALWAYS; // equivalent to O_CREAT - } - else if (jflags & READ) - { - access = GENERIC_READ; - create = OPEN_EXISTING; // ignore EXCL - } - else - { - access = GENERIC_WRITE; - if (jflags & EXCL) - create = CREATE_NEW; - else if (jflags & APPEND) - create = OPEN_ALWAYS; - else - create = CREATE_ALWAYS; - } - - handle = CreateFile(cpath, access, FILE_SHARE_READ | FILE_SHARE_WRITE, - NULL, create, 0, NULL); - - if (handle == INVALID_HANDLE_VALUE) - { - DWORD dwErrorCode = GetLastError (); - throw new FileNotFoundException (_Jv_WinStrError (cpath, dwErrorCode)); - } - - // For APPEND mode, move the file pointer to the end of the file. - if (jflags & APPEND) - { - DWORD low = SetFilePointer (handle, 0, NULL, FILE_END); - if ((low == (DWORD) 0xffffffff) && (GetLastError () != NO_ERROR)) - { - DWORD dwErrorCode = GetLastError (); - throw new FileNotFoundException (_Jv_WinStrError (cpath, dwErrorCode)); - } - } - - // Make this handle non-inheritable so that child - // processes don't inadvertently prevent us from - // closing this file. - _Jv_platform_close_on_exec (handle); - - return (jint) handle; -} - -void -FileChannelImpl::write (jint b) -{ - DWORD bytesWritten; - jbyte buf = (jbyte)b; - - if (WriteFile ((HANDLE)fd, &buf, 1, &bytesWritten, NULL)) - { - if (::java::lang::Thread::interrupted()) - { - InterruptedIOException *iioe = new InterruptedIOException (JvNewStringLatin1 ("write interrupted")); - iioe->bytesTransferred = bytesWritten; - throw iioe; - } - if (bytesWritten != 1) - _Jv_ThrowIOException (); - } - else - _Jv_ThrowIOException (); - // FIXME: loop until bytesWritten == 1 -} - -void -FileChannelImpl::write(jbyteArray b, jint offset, jint len) -{ - if (! b) - throw new ::java::lang::NullPointerException; - if(offset < 0 || len < 0 || offset + len > JvGetArrayLength (b)) - throw new ArrayIndexOutOfBoundsException; - - jbyte *buf = elements (b) + offset; - DWORD bytesWritten; - - if (WriteFile ((HANDLE)fd, buf, len, &bytesWritten, NULL)) - { - if (::java::lang::Thread::interrupted()) - { - InterruptedIOException *iioe = new InterruptedIOException (JvNewStringLatin1 ("write interrupted")); - iioe->bytesTransferred = bytesWritten; - throw iioe; - } - } - else - _Jv_ThrowIOException (); - // FIXME: loop until bytesWritten == len -} - -void -FileChannelImpl::implCloseChannel (void) -{ - HANDLE save = (HANDLE)fd; - fd = (jint)INVALID_HANDLE_VALUE; - if (! CloseHandle (save)) - _Jv_ThrowIOException (); -} - -void -FileChannelImpl::implTruncate (jlong size) -{ - LONG liOrigFilePointer; - LONG liNewFilePointer; - LONG liEndFilePointer; - - // Get the original file pointer. - if (SetFilePointer((HANDLE) fd, (LONG) 0, &liOrigFilePointer, - FILE_CURRENT) != (BOOL) 0 - && (GetLastError() != NO_ERROR)) - _Jv_ThrowIOException (); - - // Get the length of the file. - if (SetFilePointer((HANDLE) fd, (LONG) 0, &liEndFilePointer, - FILE_END) != (BOOL) 0 - && (GetLastError() != NO_ERROR)) - _Jv_ThrowIOException (); - - if ((jlong)liEndFilePointer == size) - { - // Restore the file pointer. - if (liOrigFilePointer != liEndFilePointer) - { - if (SetFilePointer((HANDLE) fd, liOrigFilePointer, &liNewFilePointer, - FILE_BEGIN) != (BOOL) 0 - && (GetLastError() != NO_ERROR)) - _Jv_ThrowIOException (); - } - return; - } - - // Seek to the new end of file. - if (SetFilePointer((HANDLE) fd, (LONG) size, &liNewFilePointer, - FILE_BEGIN) != (BOOL) 0 - && (GetLastError() != NO_ERROR)) - _Jv_ThrowIOException (); - - // Truncate the file at this point. - if (SetEndOfFile((HANDLE) fd) != (BOOL) 0 && (GetLastError() != NO_ERROR)) - _Jv_ThrowIOException (); - - if (liOrigFilePointer < liNewFilePointer) - { - // Restore the file pointer. - if (SetFilePointer((HANDLE) fd, liOrigFilePointer, &liNewFilePointer, - FILE_BEGIN) != (BOOL) 0 - && (GetLastError() != NO_ERROR)) - _Jv_ThrowIOException (); - } -} - -void -FileChannelImpl::seek (jlong newPos) -{ - LONG high = pos >> 32; - DWORD low = SetFilePointer ((HANDLE)fd, (DWORD)(0xffffffff & newPos), &high, FILE_BEGIN); - if ((low == 0xffffffff) && (GetLastError () != NO_ERROR)) - _Jv_ThrowIOException (); -} - -jlong -FileChannelImpl::implPosition (void) -{ - LONG high = 0; - DWORD low = SetFilePointer ((HANDLE)fd, 0, &high, FILE_CURRENT); - if ((low == 0xffffffff) && (GetLastError() != NO_ERROR)) - _Jv_ThrowIOException (); - return (((jlong)high) << 32L) | (jlong)low; -} - -jlong -FileChannelImpl::size (void) -{ - DWORD high; - DWORD low; - - low = GetFileSize ((HANDLE)fd, &high); - // FIXME: Error checking - return (((jlong)high) << 32L) | (jlong)low; -} - -jint -FileChannelImpl::read (void) -{ - CHAR buf; - DWORD read; - - if (! ReadFile ((HANDLE)fd, &buf, 1, &read, NULL)) - { - if (GetLastError () == ERROR_BROKEN_PIPE) - return -1; - else - _Jv_ThrowIOException (); - } - - if (! read) - return -1; - else - return (jint)(buf & 0xff); -} - -jint -FileChannelImpl::read (jbyteArray buffer, jint offset, jint count) -{ - if (! buffer) - throw new ::java::lang::NullPointerException; - - jsize bsize = JvGetArrayLength (buffer); - if (offset < 0 || count < 0 || offset + count > bsize) - throw new ArrayIndexOutOfBoundsException; - - // Must return 0 if an attempt is made to read 0 bytes. - if (count == 0) - return 0; - - jbyte *bytes = elements (buffer) + offset; - - DWORD read; - if (! ReadFile((HANDLE)fd, bytes, count, &read, NULL)) - { - if (GetLastError () == ERROR_BROKEN_PIPE) - return -1; - else - _Jv_ThrowIOException (); - } - - if (read == 0) return -1; - - return (jint)read; -} - -jint -FileChannelImpl::available (void) -{ - // FIXME: - return size() - position(); -} - -jboolean -FileChannelImpl::lock (jlong pos, jlong len, jboolean shared, jboolean wait) -{ - DWORD flags = 0; - OVERLAPPED ovlpd; - - ZeroMemory(&ovlpd,sizeof(OVERLAPPED)); - - if(!shared) - flags |= LOCKFILE_EXCLUSIVE_LOCK; - if(!wait) - flags |= LOCKFILE_FAIL_IMMEDIATELY; - - ovlpd.Offset = (DWORD)pos; - ovlpd.OffsetHigh = pos>>32; - - DWORD lenlow = (DWORD)len; - DWORD lenhigh = len>>32; - - BOOL ret = LockFileEx((HANDLE)fd,flags,0,lenlow,lenhigh,&ovlpd); - - if(ret==ERROR_IO_PENDING && !shared && wait) - ret = GetOverlappedResult((HANDLE)fd,&ovlpd,NULL,wait); - - if(!ret) - _Jv_ThrowIOException(GetLastError()); - - return true; -} - -void -FileChannelImpl::unlock (jlong pos, jlong len) -{ - OVERLAPPED ovlpd; - - ZeroMemory(&ovlpd,sizeof(OVERLAPPED)); - - ovlpd.Offset = (DWORD)pos; - ovlpd.OffsetHigh = pos>>32; - - DWORD lenlow = (DWORD)len; - DWORD lenhigh = len>>32; - - BOOL ret = UnlockFileEx((HANDLE)fd,0,lenlow,lenhigh,&ovlpd); - - if(!ret) - _Jv_ThrowIOException(GetLastError()); -} - -java::nio::MappedByteBuffer * -FileChannelImpl::mapImpl (jchar mmode, jlong position, jint size) -{ - SYSTEM_INFO siSysInfo; - GetSystemInfo(&siSysInfo); - DWORD page_size = siSysInfo.dwPageSize; - jlong offset = position & ~(page_size-1); - jint align = position - offset; - jlong high = position + size; - jlong max_size; - if (mmode == '+') - max_size = high - offset; - else - max_size = 0; - DWORD access, protect; - if (mmode == 'r') - { - access = FILE_MAP_READ; - protect = PAGE_READONLY; - } - else if (mmode == '+') - { - access = FILE_MAP_WRITE; - protect = PAGE_READWRITE; - } - else - { - access = FILE_MAP_COPY; - protect = PAGE_WRITECOPY; - } - HANDLE hFileMapping = CreateFileMapping((HANDLE) fd, - (LPSECURITY_ATTRIBUTES) NULL, - protect, - (DWORD) (max_size >> 32), - (DWORD) max_size, - (LPCTSTR) NULL); - if (hFileMapping == NULL) - throw new IOException(); - void *ptr = MapViewOfFile(hFileMapping, access, - (DWORD) (offset >> 32), (DWORD) offset, - (SIZE_T) (high - offset)); - if (ptr == NULL) - throw new IOException(); - MappedByteBufferImpl *buf - = new MappedByteBufferImpl((RawData *) ((char *) ptr + align), - size, mode == 'r'); - buf->implPtr = reinterpret_cast<RawData*> (ptr); - buf->implLen = (jlong) (size_t) hFileMapping; - return buf; -} - -void -MappedByteBufferImpl::unmapImpl () -{ - UnmapViewOfFile((void*)implPtr); - CloseHandle((HANDLE) (size_t) implLen); -} - -void -MappedByteBufferImpl::loadImpl () -{ -} - -jboolean -MappedByteBufferImpl::isLoadedImpl () -{ - return true; -} - -void -MappedByteBufferImpl::forceImpl () -{ -} diff --git a/gcc-4.2.1/libjava/gnu/java/nio/natNIOServerSocket.cc b/gcc-4.2.1/libjava/gnu/java/nio/natNIOServerSocket.cc deleted file mode 100644 index 2d3fb2db7..000000000 --- a/gcc-4.2.1/libjava/gnu/java/nio/natNIOServerSocket.cc +++ /dev/null @@ -1,24 +0,0 @@ -// natNIOServerSocket.cc - -/* Copyright (C) 2003 Free Software Foundation - - This file is part of libgcj. - -This software is copyrighted work licensed under the terms of the -Libgcj License. Please consult the file "LIBGCJ_LICENSE" for -details. */ - -#include <config.h> -#include <platform.h> - -#include <gnu/java/net/PlainSocketImpl.h> -#include <gnu/java/nio/NIOServerSocket.h> -#include <java/net/ServerSocket.h> -#include <java/net/SocketImpl.h> - -gnu::java::net::PlainSocketImpl* -gnu::java::nio::NIOServerSocket::getPlainSocketImpl() -{ - return (gnu::java::net::PlainSocketImpl*) - ::java::net::ServerSocket::getImpl(); -} diff --git a/gcc-4.2.1/libjava/gnu/java/nio/natPipeImplEcos.cc b/gcc-4.2.1/libjava/gnu/java/nio/natPipeImplEcos.cc deleted file mode 100644 index 75af4eb62..000000000 --- a/gcc-4.2.1/libjava/gnu/java/nio/natPipeImplEcos.cc +++ /dev/null @@ -1,27 +0,0 @@ -// natPipeImplEcos.cc - -/* Copyright (C) 2003, 2004 Free Software Foundation - - This file is part of libgcj. - -This software is copyrighted work licensed under the terms of the -Libgcj License. Please consult the file "LIBGCJ_LICENSE" for -details. */ - -#include <config.h> -#include <platform.h> - -#include <errno.h> -#include <string.h> -#include <unistd.h> - -#include <gnu/java/nio/PipeImpl.h> -#include <gnu/java/nio/VMPipe.h> -#include <java/io/IOException.h> - -void -gnu::java::nio::VMPipe::init (gnu::java::nio::PipeImpl *self, - ::java::nio::channels::spi::SelectorProvider*) -{ - throw new ::java::io::IOException (JvNewStringUTF ("nativeInit() not implemented")); -} diff --git a/gcc-4.2.1/libjava/gnu/java/nio/natPipeImplPosix.cc b/gcc-4.2.1/libjava/gnu/java/nio/natPipeImplPosix.cc deleted file mode 100644 index 1726dc70f..000000000 --- a/gcc-4.2.1/libjava/gnu/java/nio/natPipeImplPosix.cc +++ /dev/null @@ -1,41 +0,0 @@ -// natPipeImplPosix.cc - -/* Copyright (C) 2003, 2004 Free Software Foundation - - This file is part of libgcj. - -This software is copyrighted work licensed under the terms of the -Libgcj License. Please consult the file "LIBGCJ_LICENSE" for -details. */ - -#include <config.h> -#include <platform.h> - -#include <errno.h> -#include <string.h> -#include <unistd.h> - -#include <gnu/java/nio/PipeImpl.h> -#include <gnu/java/nio/VMPipe.h> -//#include <gnu/java/nio/PipeImpl$SinkChannelImpl.h> -//#include <gnu/java/nio/PipeImpl$SourceChannelImpl.h> -#include <java/io/IOException.h> -#include <java/nio/channels/spi/SelectorProvider.h> - -void -gnu::java::nio::VMPipe::init (gnu::java::nio::PipeImpl*, /*self*/ - ::java::nio::channels::spi::SelectorProvider* - /*provider*/) -{ - int filedes [2]; - - if (_Jv_pipe (filedes) < 0) - throw new ::java::io::IOException (JvNewStringUTF (strerror (errno))); - - /* FIXME - source = new gnu::java::nio::PipeImpl$SourceChannelImpl - (this, provider, filedes [0]); - sink = new gnu::java::nio::PipeImpl$SinkChannelImpl - (this, provider, filedes [1]); - */ -} diff --git a/gcc-4.2.1/libjava/gnu/java/nio/natPipeImplWin32.cc b/gcc-4.2.1/libjava/gnu/java/nio/natPipeImplWin32.cc deleted file mode 100644 index 2f14b50a1..000000000 --- a/gcc-4.2.1/libjava/gnu/java/nio/natPipeImplWin32.cc +++ /dev/null @@ -1,40 +0,0 @@ -// natPipeImplWin32.cc - -/* Copyright (C) 2003, 2004 Free Software Foundation - - This file is part of libgcj. - -This software is copyrighted work licensed under the terms of the -Libgcj License. Please consult the file "LIBGCJ_LICENSE" for -details. */ - -#include <config.h> -#include <platform.h> - -#include <errno.h> -#include <string.h> -#include <unistd.h> - -#include <gnu/java/nio/PipeImpl.h> -#include <gnu/java/nio/VMPipe.h> -//#include <gnu/java/nio/PipeImpl$SinkChannelImpl.h> -//#include <gnu/java/nio/PipeImpl$SourceChannelImpl.h> -#include <java/io/IOException.h> -#include <java/nio/channels/spi/SelectorProvider.h> - -void -gnu::java::nio::VMPipe::init (gnu::java::nio::PipeImpl *self, - ::java::nio::channels::spi::SelectorProvider* /*provider*/) -{ - int filedes [2]; - - if (_Jv_pipe (filedes) < 0) - throw new ::java::io::IOException (JvNewStringUTF (strerror (errno))); - - /* FIXME - source = new gnu::java::nio::PipeImpl$SourceChannelImpl - (this, provider, filedes [0]); - sink = new gnu::java::nio::PipeImpl$SinkChannelImpl - (this, provider, filedes [1]); - */ -} diff --git a/gcc-4.2.1/libjava/gnu/java/nio/natSelectorImplEcos.cc b/gcc-4.2.1/libjava/gnu/java/nio/natSelectorImplEcos.cc deleted file mode 100644 index 15fbafde7..000000000 --- a/gcc-4.2.1/libjava/gnu/java/nio/natSelectorImplEcos.cc +++ /dev/null @@ -1,25 +0,0 @@ -// natSelectorImplEcos.cc - -/* Copyright (C) 2003, 2004 Free Software Foundation - - This file is part of libgcj. - -This software is copyrighted work licensed under the terms of the -Libgcj License. Please consult the file "LIBGCJ_LICENSE" for -details. */ - -#include <config.h> -#include <platform.h> - -#include <errno.h> -#include <string.h> - -#include <gnu/java/nio/VMSelector.h> -#include <java/io/IOException.h> - -jint -gnu::java::nio::VMSelector::select (jintArray read, jintArray write, - jintArray except, jlong timeout) -{ - throw new ::java::io::IOException (JvNewStringUTF ("implSelect() not implemented")); -} diff --git a/gcc-4.2.1/libjava/gnu/java/nio/natSelectorImplPosix.cc b/gcc-4.2.1/libjava/gnu/java/nio/natSelectorImplPosix.cc deleted file mode 100644 index b433900ab..000000000 --- a/gcc-4.2.1/libjava/gnu/java/nio/natSelectorImplPosix.cc +++ /dev/null @@ -1,127 +0,0 @@ -// natSelectorImplPosix.cc - -/* Copyright (C) 2002, 2003, 2004 Free Software Foundation - - This file is part of libgcj. - -This software is copyrighted work licensed under the terms of the -Libgcj License. Please consult the file "LIBGCJ_LICENSE" for -details. */ - -#include <config.h> -#include <platform.h> - -#include <errno.h> -#include <string.h> - -#include <gnu/java/nio/VMSelector.h> -#include <java/io/InterruptedIOException.h> -#include <java/io/IOException.h> -#include <java/lang/Thread.h> - -static void -helper_put_filedescriptors (jintArray fdArray, fd_set& fds, int& max_fd) -{ - jint* tmpFDArray = elements (fdArray); - - for (int index = 0; index < JvGetArrayLength (fdArray); index++) - { - int fd = tmpFDArray [index]; - if (fd > 0) - { - FD_SET (tmpFDArray [index], &fds); - - if (tmpFDArray [index] > max_fd) - max_fd = tmpFDArray [index]; - } - } -} - -static void -helper_get_filedescriptors (jintArray& fdArray, fd_set fds) -{ - jint* tmpFDArray = elements (fdArray); - - for (int index = 0; index < JvGetArrayLength (fdArray); index++) - { - int fd = tmpFDArray [index]; - if (fd < 0 || !FD_ISSET (fd, &fds)) - tmpFDArray [index] = 0; - } -} - -static void -helper_reset (jintArray& fdArray) -{ - jint* tmpFDArray = elements (fdArray); - - for (int index = 0; index < JvGetArrayLength (fdArray); index++) - tmpFDArray [index] = 0; -} - -jint -gnu::java::nio::VMSelector::select (jintArray read, jintArray write, - jintArray except, jlong timeout) -{ - jint result; - int max_fd = 0; - fd_set read_fds; - fd_set write_fds; - fd_set except_fds; - struct timeval real_time_data; - struct timeval *time_data = NULL; - - // If a legal timeout value isn't given, use NULL. - // This means an infinite timeout. The specification - // also says that a zero timeout should be treated - // as infinite. Otherwise (if the timeout value is legal), - // fill our timeval struct and use it for the select. - if (timeout > 0) - { - real_time_data.tv_sec = timeout / 1000; - real_time_data.tv_usec = (timeout % 1000) * 1000; - time_data = &real_time_data; - } - - // Reset all fd_set structures - FD_ZERO (&read_fds); - FD_ZERO (&write_fds); - FD_ZERO (&except_fds); - - // Fill the fd_set data structures for the _Jv_select() call. - helper_put_filedescriptors (read, read_fds, max_fd); - helper_put_filedescriptors (write, write_fds, max_fd); - helper_put_filedescriptors (except, except_fds, max_fd); - - // Actually do the select - try - { - result = _Jv_select (max_fd + 1, &read_fds, &write_fds, - &except_fds, time_data); - } - catch (::java::io::InterruptedIOException *e) - { - // The behavior of JRE 1.4.1 is that no exception is thrown - // when the thread is interrupted, but the thread's interrupt - // status is set. Clear all of our select sets and return 0, - // indicating that nothing was selected. - ::java::lang::Thread::currentThread ()->interrupt (); - helper_reset (read); - helper_reset (write); - helper_reset (except); - return 0; - } - - if (result < 0) - { - char* strerr = strerror (errno); - throw new ::java::io::IOException (JvNewStringUTF (strerr)); - } - - // Set the file descriptors according to the values returned from select(). - helper_get_filedescriptors (read, read_fds); - helper_get_filedescriptors (write, write_fds); - helper_get_filedescriptors (except, except_fds); - - return result; -} diff --git a/gcc-4.2.1/libjava/gnu/java/nio/natSelectorImplWin32.cc b/gcc-4.2.1/libjava/gnu/java/nio/natSelectorImplWin32.cc deleted file mode 100644 index 860f65489..000000000 --- a/gcc-4.2.1/libjava/gnu/java/nio/natSelectorImplWin32.cc +++ /dev/null @@ -1,93 +0,0 @@ -// natSelectorImplWin32.cc - -/* Copyright (C) 2003, 2004 Free Software Foundation - - This file is part of libgcj. - -This software is copyrighted work licensed under the terms of the -Libgcj License. Please consult the file "LIBGCJ_LICENSE" for -details. */ - -#include <config.h> -#include <platform.h> - -#include <gnu/java/nio/VMSelector.h> -#include <java/lang/Thread.h> - -jint -gnu::java::nio::VMSelector::select (jintArray read, jintArray write, - jintArray except, jlong timeout) -{ - // FIXME: The API for implSelect is biased towards POSIX implementations. - jint* pReadFD = elements (read); - int nNbReadFDs = JvGetArrayLength (read); - - jint* pWriteFD = elements (write); - int nNbWriteFDs = JvGetArrayLength (write); - - int nNbEvents = nNbReadFDs + nNbWriteFDs; - - // Create and initialize our event wrapper array - - // FIXME: We're creating fresh WSAEVENTs for each call. - // This is inefficient. It would probably be better to cache these - // in the Win32 socket implementation class. - WSAEventWrapper aArray[nNbEvents]; - - int nCurIndex = 0; - for (int i=0; i < nNbReadFDs; ++i) - aArray[nCurIndex++].init(pReadFD[i], FD_ACCEPT | FD_READ); - - for (int i=0; i < nNbWriteFDs; ++i) - aArray[nCurIndex++].init(pWriteFD[i], FD_WRITE); - - // Build our array of WSAEVENTs to wait on. Also throw in our thread's - // interrupt event in order to detect thread interruption. - HANDLE arh[nNbEvents + 1]; - for (int i=0; i < nNbEvents; ++i) - arh[i] = aArray[i].getEventHandle(); - arh[nNbEvents] = _Jv_Win32GetInterruptEvent (); - - // A timeout value of 0 needs to be treated as infinite. - if (timeout <= 0) - timeout = WSA_INFINITE; - - // Do the select. - DWORD dwRet = WSAWaitForMultipleEvents (nNbEvents+1, arh, 0, timeout, false); - - if (dwRet == WSA_WAIT_FAILED) - _Jv_ThrowIOException (); - - // Before we do anything else, clear output file descriptor arrays. - memset(pReadFD, 0, sizeof(jint) * nNbReadFDs); - memset(pWriteFD, 0, sizeof(jint) * nNbWriteFDs); - memset(elements (except), 0, sizeof(jint) * JvGetArrayLength (except)); - - if (dwRet == DWORD(WSA_WAIT_EVENT_0 + nNbEvents)) - { - // We were interrupted. Set the current thread's interrupt - // status and get out of here, with nothing selected.. - ::java::lang::Thread::currentThread ()->interrupt (); - return 0; - } - else if (dwRet < DWORD(WSA_WAIT_EVENT_0 + nNbEvents)) - { - int nSelectedEventIndex = dwRet - WSA_WAIT_EVENT_0; - - // Record the selected file descriptor. - // FIXME: This implementation only allows one file descriptor - // to be selected at a time. Remedy this by looping on - // WSAWaitForMultipleEvents 'til nothing more is selected. - jint fd = aArray[nSelectedEventIndex].getFD(); - if (nSelectedEventIndex < nNbReadFDs) - pReadFD[0] = fd; - else - pWriteFD[0] = fd; - - return 1; - } - else - // None of the event objects was signalled, so nothing was - // selected. - return 0; -} diff --git a/gcc-4.2.1/libjava/gnu/java/rmi/rmic/Compile_gcj.java b/gcc-4.2.1/libjava/gnu/java/rmi/rmic/Compile_gcj.java deleted file mode 100644 index e22611bb3..000000000 --- a/gcc-4.2.1/libjava/gnu/java/rmi/rmic/Compile_gcj.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - Copyright (c) 2001, 2003 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - -package gnu.java.rmi.rmic; - -/** Subclass of Compiler that can be used to invoke gcj. */ -public class Compile_gcj extends CompilerProcess -{ - private static final String [] COMPILER_ARGS = - { - "gcj", - "-C" - }; - - public String[] computeArguments (String filename) - { - return computeTypicalArguments(COMPILER_ARGS, - getClasspath(), - getDestination(), - filename); - } -} diff --git a/gcc-4.2.1/libjava/gnu/java/rmi/rmic/Compile_jikes.java b/gcc-4.2.1/libjava/gnu/java/rmi/rmic/Compile_jikes.java deleted file mode 100644 index e70b50c91..000000000 --- a/gcc-4.2.1/libjava/gnu/java/rmi/rmic/Compile_jikes.java +++ /dev/null @@ -1,57 +0,0 @@ -/*
- Copyright (c) 2003 Free Software Foundation, Inc.
-
-This file is part of GNU Classpath.
-
-GNU Classpath is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
-any later version.
-
-GNU Classpath is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Classpath; see the file COPYING. If not, write to the
-Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-02110-1301 USA.
-
-Linking this library statically or dynamically with other modules is
-making a combined work based on this library. Thus, the terms and
-conditions of the GNU General Public License cover the whole
-combination.
-
-As a special exception, the copyright holders of this library give you
-permission to link this library with independent modules to produce an
-executable, regardless of the license terms of these independent
-modules, and to copy and distribute the resulting executable under
-terms of your choice, provided that you also meet, for each linked
-independent module, the terms and conditions of the license of that
-module. An independent module is a module which is not derived from
-or based on this library. If you modify this library, you may extend
-this exception to your version of the library, but you are not
-obligated to do so. If you do not wish to do so, delete this
-exception statement from your version. */
-
-package gnu.java.rmi.rmic;
-
-/** Subclass of Compiler that can be used to invoke jikes. */
-public class Compile_jikes extends CompilerProcess
-{
- /** Compiler arguments to invoke jikes */
- private static final String [] COMPILER_ARGS =
- {
- "jikes"
- };
-
- /** Compute the command line for the process. */
- public String[] computeArguments (String filename)
- {
- return computeTypicalArguments(COMPILER_ARGS,
- getClasspath(),
- getDestination(),
- filename);
- }
-}
diff --git a/gcc-4.2.1/libjava/gnu/java/rmi/rmic/Compile_kjc.java b/gcc-4.2.1/libjava/gnu/java/rmi/rmic/Compile_kjc.java deleted file mode 100644 index 79f1a845c..000000000 --- a/gcc-4.2.1/libjava/gnu/java/rmi/rmic/Compile_kjc.java +++ /dev/null @@ -1,57 +0,0 @@ -/*
- Copyright (c) 2003 Free Software Foundation, Inc.
-
-This file is part of GNU Classpath.
-
-GNU Classpath is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
-any later version.
-
-GNU Classpath is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Classpath; see the file COPYING. If not, write to the
-Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-02110-1301 USA.
-
-Linking this library statically or dynamically with other modules is
-making a combined work based on this library. Thus, the terms and
-conditions of the GNU General Public License cover the whole
-combination.
-
-As a special exception, the copyright holders of this library give you
-permission to link this library with independent modules to produce an
-executable, regardless of the license terms of these independent
-modules, and to copy and distribute the resulting executable under
-terms of your choice, provided that you also meet, for each linked
-independent module, the terms and conditions of the license of that
-module. An independent module is a module which is not derived from
-or based on this library. If you modify this library, you may extend
-this exception to your version of the library, but you are not
-obligated to do so. If you do not wish to do so, delete this
-exception statement from your version. */
-
-package gnu.java.rmi.rmic;
-
-/** Subclass of Compiler that can be used to invoke kjc. */
-public class Compile_kjc extends CompilerProcess
-{
- /** Compiler arguments to invoke kjc */
- private static final String [] COMPILER_ARGS =
- {
- "kjc"
- };
-
- /** Compute the command line for the process. */
- public String[] computeArguments (String filename)
- {
- return computeTypicalArguments(COMPILER_ARGS,
- getClasspath(),
- getDestination(),
- filename);
- }
-}
diff --git a/gcc-4.2.1/libjava/gnu/java/rmi/rmic/Compiler.java b/gcc-4.2.1/libjava/gnu/java/rmi/rmic/Compiler.java deleted file mode 100644 index fc1f8464f..000000000 --- a/gcc-4.2.1/libjava/gnu/java/rmi/rmic/Compiler.java +++ /dev/null @@ -1,108 +0,0 @@ -/* - Copyright (c) 2001, 2003 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - -package gnu.java.rmi.rmic; - -/** - * A Compiler object can be used to compile a .java file into a - * .class file. This is an abstract class; the - * <code>getInstance()</code> method is used to obtain the actual - * compiler object. - */ -public abstract class Compiler -{ - // Can't directly instantiate. - protected Compiler () - { - } - - /** Create a new compiler instance. */ - public static Compiler getInstance () - { - return getInstance (System.getProperty ("classpath.compiler", "gcj")); - } - - /** Create a new compiler instance given the name of the compiler. */ - public static Compiler getInstance (String name) - { - try - { - Class k = Class.forName (classPrefix + name); - return (Compiler) k.newInstance (); - } - catch (Throwable _) - { - } - return null; - } - - /** Get the directory where output files will be put. */ - public String getDestination () - { - return dest; - } - - /** Set the directory where output files will be put. */ - public void setDestination (String dest) - { - this.dest = dest; - } - - /** Get the classpath for compilation. */ - public String getClasspath () - { - return classpath; - } - - /** Set the classpath for compilation. */ - public void setClasspath (String classpath) - { - this.classpath = classpath; - } - - /** Compile the given file. Throws exception on error. */ - public abstract void compile (String name) throws Exception; - - /** The destination directory, or null if none set. */ - protected String dest; - - /** The classpath directory, or null if none set. */ - private String classpath; - - /** Class prefix used when trying to find instance. */ - private static final String classPrefix = "gnu.java.rmi.rmic.Compile_"; -} diff --git a/gcc-4.2.1/libjava/gnu/java/rmi/rmic/CompilerProcess.java b/gcc-4.2.1/libjava/gnu/java/rmi/rmic/CompilerProcess.java deleted file mode 100644 index d7b299876..000000000 --- a/gcc-4.2.1/libjava/gnu/java/rmi/rmic/CompilerProcess.java +++ /dev/null @@ -1,164 +0,0 @@ -/* - Copyright (c) 2001, 2003 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - -package gnu.java.rmi.rmic; - -import java.io.InputStream; - -/** - * Subclass of Compiler that can be subclassed to invoke a process to - * do its work. - */ -public abstract class CompilerProcess extends Compiler -{ - /** This is used to compute the command line for the process. */ - public abstract String[] computeArguments (String filename); - - /** - * This is used to compute the command line for the process. - * Most compilers typically arrange their arguments as in - * <compiler name and arguments> <optional destination> <filename>. - * This method builds an argument array out that. It should be used - * to define computeArguments for those compilers that follow the - * argument convention described above. - */ - public static String[] computeTypicalArguments(String[] compilerArgs, - String destination, String filename) - { - return computeTypicalArguments(compilerArgs, null, destination, filename); - } - /** - * This is used to compute the command line for the process. - * Most compilers typically arrange their arguments as in - * <compiler name and arguments> <optional destination> <filename>. - * This method builds an argument array out that. It should be used - * to define computeArguments for those compilers that follow the - * argument convention described above. - */ - public static String[] computeTypicalArguments(String[] compilerArgs, - String classpath, - String destination, - String filename) - { - /* length of compiler specific arguments */ - int len = compilerArgs.length; - - /* length of returned array of arguments */ - final int arglen = len + (classpath == null ? 0 : 2) + - (destination == null ? 0 : 2) + 1; - - /* Allocate String array for computed arguments. */ - String [] args = new String[arglen]; - - /* Fill in compiler arguments. */ - System.arraycopy(compilerArgs, 0, args, 0, len); - - /* Fill in classpath argument if necessary. */ - if (classpath != null) - { - args[len++] = "-classpath"; - args[len++] = classpath; - } - - /* Fill in destination argument if necessary. */ - if (destination != null) - { - args[len++] = "-d"; - args[len++] = destination; - } - - /* Fill in filename */ - args[arglen - 1] = filename; - - return args; - } - - public void compile (String name) throws Exception - { - String[] args = computeArguments (name); - Process p = Runtime.getRuntime ().exec (args); - - /* Print compiler output to System.out. Do this asynchronously so - that the compiler never blocks writing to its stdout. */ - { - final InputStream procin = p.getInputStream(); - final Thread copier = new Thread() - { - public void run() - { - try - { - for (int ch = procin.read(); ch != -1; ch = procin.read()) - System.out.print((char) ch); - } - catch (java.io.IOException _) - { - } - } - }; - - copier.start(); - } - - /* Collect compiler error output in a buffer. - * If compilation fails, it will be used for an error message. - */ - StringBuffer stderr = new StringBuffer(); - InputStream procerr = p.getErrorStream(); - for (int ch = procerr.read(); ch != -1; ch = procerr.read()) - stderr.append((char) ch); - - int result; - while (true) - { - try - { - result = p.waitFor (); - break; - } - catch (InterruptedException _) - { - } - } - if (result != 0) - { - // FIXME: wrong exception class. - throw new Exception ("compiler exited with status: " + result, - new RMICException(stderr.toString())); - } - } -} diff --git a/gcc-4.2.1/libjava/gnu/java/rmi/rmic/RMIC.java b/gcc-4.2.1/libjava/gnu/java/rmi/rmic/RMIC.java deleted file mode 100644 index 33ec9935b..000000000 --- a/gcc-4.2.1/libjava/gnu/java/rmi/rmic/RMIC.java +++ /dev/null @@ -1,1225 +0,0 @@ -/* RMIC.java -- - Copyright (c) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005, 2006 - Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - - -package gnu.java.rmi.rmic; - -import gnu.java.rmi.server.RMIHashes; - -import java.io.File; -import java.io.FileWriter; -import java.io.IOException; -import java.io.PrintWriter; -import java.lang.reflect.Method; -import java.net.MalformedURLException; -import java.net.URL; -import java.net.URLClassLoader; -import java.rmi.Remote; -import java.rmi.RemoteException; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.HashSet; -import java.util.Iterator; -import java.util.List; -import java.util.Set; -import java.util.StringTokenizer; - - -public class RMIC -{ - private String[] args; - private int next; - private Exception exception; - private boolean keep = false; - private boolean need11Stubs = true; - private boolean need12Stubs = true; - private boolean compile = true; - private boolean verbose; - private String destination; - private PrintWriter out; - private TabbedWriter ctrl; - private Class clazz; - private String classname; - private String fullclassname; - private String fullstubname; - private String fullskelname; - private MethodRef[] remotemethods; - private String stubname; - private String skelname; - private ClassLoader loader; - private String classpath; - private int errorCount = 0; - private List mRemoteInterfaces; - - public RMIC(String[] a) - { - args = a; - } - - public static void main(String[] args) - { - RMIC r = new RMIC(args); - if (r.run() == false) - { - Exception e = r.getException(); - if (e != null) - e.printStackTrace(); - else - System.exit(1); - } - } - - public boolean run() - { - parseOptions(); - if (next >= args.length) - error("no class names found"); - for (int i = next; i < args.length; i++) - { - try - { - if (verbose) - System.out.println("[Processing class " + args[i] + ".class]"); - processClass(args[i].replace(File.separatorChar, '.')); - } - catch (Exception e) - { - exception = e; - return (false); - } - } - return (true); - } - - private boolean processClass(String cls) throws Exception - { - // reset class specific vars - clazz = null; - classname = null; - fullclassname = null; - remotemethods = null; - stubname = null; - fullstubname = null; - skelname = null; - fullskelname = null; - mRemoteInterfaces = new ArrayList(); - - errorCount = 0; - - analyzeClass(cls); - - if (errorCount > 0) - System.exit(1); - generateStub(); - if (need11Stubs) - generateSkel(); - if (compile) - { - compile(fullstubname); - if (need11Stubs) - compile(fullskelname); - } - if (! keep) - { - (new File(fullstubname)).delete(); - if (need11Stubs) - (new File(fullskelname)).delete(); - } - return (true); - } - - private void analyzeClass(String cname) throws Exception - { - if (verbose) - System.out.println("[analyze class " + cname + "]"); - int p = cname.lastIndexOf('.'); - if (p != -1) - classname = cname.substring(p + 1); - else - classname = cname; - fullclassname = cname; - - findClass(); - findRemoteMethods(); - } - - public Exception getException() - { - return (exception); - } - - private void findClass() throws ClassNotFoundException - { - try - { - ClassLoader cl = (loader == null - ? ClassLoader.getSystemClassLoader() - : loader); - clazz = Class.forName(fullclassname, false, cl); - } - catch (ClassNotFoundException cnfe) - { - System.err.println(fullclassname + " not found in " + classpath); - throw new RuntimeException(cnfe); - } - - if (! Remote.class.isAssignableFrom(clazz)) - { - logError("Class " + clazz.getName() + " is not a remote object. " - + "It does not implement an interface that is a " - + "java.rmi.Remote-interface."); - throw new RuntimeException - ("Class " + clazz.getName() + " is not a remote object. " - + "It does not implement an interface that is a " - + "java.rmi.Remote-interface."); - } - } - - private void generateStub() throws IOException - { - stubname = fullclassname + "_Stub"; - String stubclassname = classname + "_Stub"; - fullstubname = (destination == null ? "" : destination + File.separator) - + stubname.replace('.', File.separatorChar) + ".java"; - File file = new File(fullstubname); - if (file.getParentFile() != null) - file.getParentFile().mkdirs(); - ctrl = - new TabbedWriter(new FileWriter(file)); - out = new PrintWriter(ctrl); - - if (verbose) - System.out.println("[Generating class " + stubname + ".java]"); - - out.println("// Stub class generated by rmic - DO NOT EDIT!"); - out.println(); - if (fullclassname != classname) - { - String pname = - fullclassname.substring(0, fullclassname.lastIndexOf('.')); - out.println("package " + pname + ";"); - out.println(); - } - - out.print("public final class " + stubclassname); - ctrl.indent(); - out.println("extends java.rmi.server.RemoteStub"); - - // Output interfaces we implement - out.print("implements "); - Iterator iter = mRemoteInterfaces.iterator(); - while (iter.hasNext()) - { - /* Print remote interface. */ - Class iface = (Class) iter.next(); - out.print(iface.getName()); - - /* Print ", " if more remote interfaces follow. */ - if (iter.hasNext()) - out.print(", "); - } - ctrl.unindent(); - out.print("{"); - ctrl.indent(); - - // UID - if (need12Stubs) - { - out.println("private static final long serialVersionUID = 2L;"); - out.println(); - } - - // InterfaceHash - don't know how to calculate this - XXX - if (need11Stubs) - { - out.println("private static final long interfaceHash = " - + RMIHashes.getInterfaceHash(clazz) + "L;"); - out.println(); - if (need12Stubs) - { - out.println("private static boolean useNewInvoke;"); - out.println(); - } - - // Operation table - out.print("private static final java.rmi.server.Operation[] operations = {"); - - ctrl.indent(); - for (int i = 0; i < remotemethods.length; i++) - { - Method m = remotemethods[i].meth; - out.print("new java.rmi.server.Operation(\""); - out.print(getPrettyName(m.getReturnType()) + " "); - out.print(m.getName() + "("); - // Output signature - Class[] sig = m.getParameterTypes(); - for (int j = 0; j < sig.length; j++) - { - out.print(getPrettyName(sig[j])); - if (j + 1 < sig.length) - out.print(", "); - } - out.print(")\")"); - if (i + 1 < remotemethods.length) - out.println(","); - } - ctrl.unindent(); - out.println("};"); - out.println(); - } - - // Set of method references. - if (need12Stubs) - { - for (int i = 0; i < remotemethods.length; i++) - { - Method m = remotemethods[i].meth; - out.println("private static java.lang.reflect.Method $method_" - + m.getName() + "_" + i + ";"); - } - - // Initialize the methods references. - out.println(); - out.print("static {"); - ctrl.indent(); - - out.print("try {"); - ctrl.indent(); - - if (need11Stubs) - { - out.println("java.rmi.server.RemoteRef.class.getMethod(\"invoke\", new java.lang.Class[] { java.rmi.Remote.class, java.lang.reflect.Method.class, java.lang.Object[].class, long.class });"); - out.println("useNewInvoke = true;"); - } - - for (int i = 0; i < remotemethods.length; i++) - { - Method m = remotemethods[i].meth; - out.print("$method_" + m.getName() + "_" + i + " = "); - out.print(m.getDeclaringClass().getName() + ".class.getMethod(\"" - + m.getName() + "\""); - out.print(", new java.lang.Class[] {"); - // Output signature - Class[] sig = m.getParameterTypes(); - for (int j = 0; j < sig.length; j++) - { - out.print(getPrettyName(sig[j]) + ".class"); - if (j + 1 < sig.length) - out.print(", "); - } - out.println("});"); - } - ctrl.unindent(); - out.println("}"); - out.print("catch (java.lang.NoSuchMethodException e) {"); - ctrl.indent(); - if (need11Stubs) - out.print("useNewInvoke = false;"); - else - out.print("throw new java.lang.NoSuchMethodError(\"stub class initialization failed\");"); - - ctrl.unindent(); - out.print("}"); - - ctrl.unindent(); - out.println("}"); - out.println(); - } - - // Constructors - if (need11Stubs) - { - out.print("public " + stubclassname + "() {"); - ctrl.indent(); - out.print("super();"); - ctrl.unindent(); - out.println("}"); - } - - if (need12Stubs) - { - out.print("public " + stubclassname - + "(java.rmi.server.RemoteRef ref) {"); - ctrl.indent(); - out.print("super(ref);"); - ctrl.unindent(); - out.println("}"); - } - - // Method implementations - for (int i = 0; i < remotemethods.length; i++) - { - Method m = remotemethods[i].meth; - Class[] sig = m.getParameterTypes(); - Class returntype = m.getReturnType(); - Class[] except = sortExceptions(m.getExceptionTypes()); - - out.println(); - out.print("public " + getPrettyName(returntype) + " " + m.getName() - + "("); - for (int j = 0; j < sig.length; j++) - { - out.print(getPrettyName(sig[j])); - out.print(" $param_" + j); - if (j + 1 < sig.length) - out.print(", "); - } - out.print(") "); - out.print("throws "); - for (int j = 0; j < except.length; j++) - { - out.print(getPrettyName(except[j])); - if (j + 1 < except.length) - out.print(", "); - } - out.print(" {"); - ctrl.indent(); - - out.print("try {"); - ctrl.indent(); - - if (need12Stubs) - { - if (need11Stubs) - { - out.print("if (useNewInvoke) {"); - ctrl.indent(); - } - if (returntype != Void.TYPE) - out.print("java.lang.Object $result = "); - out.print("ref.invoke(this, $method_" + m.getName() + "_" + i - + ", "); - if (sig.length == 0) - out.print("null, "); - else - { - out.print("new java.lang.Object[] {"); - for (int j = 0; j < sig.length; j++) - { - if (sig[j] == Boolean.TYPE) - out.print("new java.lang.Boolean($param_" + j + ")"); - else if (sig[j] == Byte.TYPE) - out.print("new java.lang.Byte($param_" + j + ")"); - else if (sig[j] == Character.TYPE) - out.print("new java.lang.Character($param_" + j + ")"); - else if (sig[j] == Short.TYPE) - out.print("new java.lang.Short($param_" + j + ")"); - else if (sig[j] == Integer.TYPE) - out.print("new java.lang.Integer($param_" + j + ")"); - else if (sig[j] == Long.TYPE) - out.print("new java.lang.Long($param_" + j + ")"); - else if (sig[j] == Float.TYPE) - out.print("new java.lang.Float($param_" + j + ")"); - else if (sig[j] == Double.TYPE) - out.print("new java.lang.Double($param_" + j + ")"); - else - out.print("$param_" + j); - if (j + 1 < sig.length) - out.print(", "); - } - out.print("}, "); - } - out.print(Long.toString(remotemethods[i].hash) + "L"); - out.print(");"); - - if (returntype != Void.TYPE) - { - out.println(); - out.print("return ("); - if (returntype == Boolean.TYPE) - out.print("((java.lang.Boolean)$result).booleanValue()"); - else if (returntype == Byte.TYPE) - out.print("((java.lang.Byte)$result).byteValue()"); - else if (returntype == Character.TYPE) - out.print("((java.lang.Character)$result).charValue()"); - else if (returntype == Short.TYPE) - out.print("((java.lang.Short)$result).shortValue()"); - else if (returntype == Integer.TYPE) - out.print("((java.lang.Integer)$result).intValue()"); - else if (returntype == Long.TYPE) - out.print("((java.lang.Long)$result).longValue()"); - else if (returntype == Float.TYPE) - out.print("((java.lang.Float)$result).floatValue()"); - else if (returntype == Double.TYPE) - out.print("((java.lang.Double)$result).doubleValue()"); - else - out.print("(" + getPrettyName(returntype) + ")$result"); - out.print(");"); - } - - if (need11Stubs) - { - ctrl.unindent(); - out.println("}"); - out.print("else {"); - ctrl.indent(); - } - } - - if (need11Stubs) - { - out.println("java.rmi.server.RemoteCall call = ref.newCall((java.rmi.server.RemoteObject)this, operations, " - + i + ", interfaceHash);"); - out.print("try {"); - ctrl.indent(); - out.print("java.io.ObjectOutput out = call.getOutputStream();"); - for (int j = 0; j < sig.length; j++) - { - out.println(); - if (sig[j] == Boolean.TYPE) - out.print("out.writeBoolean("); - else if (sig[j] == Byte.TYPE) - out.print("out.writeByte("); - else if (sig[j] == Character.TYPE) - out.print("out.writeChar("); - else if (sig[j] == Short.TYPE) - out.print("out.writeShort("); - else if (sig[j] == Integer.TYPE) - out.print("out.writeInt("); - else if (sig[j] == Long.TYPE) - out.print("out.writeLong("); - else if (sig[j] == Float.TYPE) - out.print("out.writeFloat("); - else if (sig[j] == Double.TYPE) - out.print("out.writeDouble("); - else - out.print("out.writeObject("); - out.print("$param_" + j + ");"); - } - ctrl.unindent(); - out.println("}"); - out.print("catch (java.io.IOException e) {"); - ctrl.indent(); - out.print("throw new java.rmi.MarshalException(\"error marshalling arguments\", e);"); - ctrl.unindent(); - out.println("}"); - out.println("ref.invoke(call);"); - if (returntype != Void.TYPE) - out.println(getPrettyName(returntype) + " $result;"); - out.print("try {"); - ctrl.indent(); - out.print("java.io.ObjectInput in = call.getInputStream();"); - boolean needcastcheck = false; - if (returntype != Void.TYPE) - { - out.println(); - out.print("$result = "); - if (returntype == Boolean.TYPE) - out.print("in.readBoolean();"); - else if (returntype == Byte.TYPE) - out.print("in.readByte();"); - else if (returntype == Character.TYPE) - out.print("in.readChar();"); - else if (returntype == Short.TYPE) - out.print("in.readShort();"); - else if (returntype == Integer.TYPE) - out.print("in.readInt();"); - else if (returntype == Long.TYPE) - out.print("in.readLong();"); - else if (returntype == Float.TYPE) - out.print("in.readFloat();"); - else if (returntype == Double.TYPE) - out.print("in.readDouble();"); - else - { - if (returntype != Object.class) - out.print("(" + getPrettyName(returntype) + ")"); - else - needcastcheck = true; - out.print("in.readObject();"); - } - out.println(); - out.print("return ($result);"); - } - ctrl.unindent(); - out.println("}"); - out.print("catch (java.io.IOException e) {"); - ctrl.indent(); - out.print("throw new java.rmi.UnmarshalException(\"error unmarshalling return\", e);"); - ctrl.unindent(); - out.println("}"); - if (needcastcheck) - { - out.print("catch (java.lang.ClassNotFoundException e) {"); - ctrl.indent(); - out.print("throw new java.rmi.UnmarshalException(\"error unmarshalling return\", e);"); - ctrl.unindent(); - out.println("}"); - } - out.print("finally {"); - ctrl.indent(); - out.print("ref.done(call);"); - ctrl.unindent(); - out.print("}"); - - if (need12Stubs && need11Stubs) - { - ctrl.unindent(); - out.print("}"); - } - } - - ctrl.unindent(); - out.print("}"); - - boolean needgeneral = true; - for (int j = 0; j < except.length; j++) - { - out.println(); - out.print("catch (" + getPrettyName(except[j]) + " e) {"); - ctrl.indent(); - out.print("throw e;"); - ctrl.unindent(); - out.print("}"); - if (except[j] == Exception.class) - needgeneral = false; - } - if (needgeneral) - { - out.println(); - out.print("catch (java.lang.Exception e) {"); - ctrl.indent(); - out.print("throw new java.rmi.UnexpectedException(\"undeclared checked exception\", e);"); - ctrl.unindent(); - out.print("}"); - } - - ctrl.unindent(); - out.print("}"); - out.println(); - } - - ctrl.unindent(); - out.println("}"); - - out.close(); - } - - private void generateSkel() throws IOException - { - skelname = fullclassname + "_Skel"; - String skelclassname = classname + "_Skel"; - fullskelname = (destination == null ? "" : destination + File.separator) - + skelname.replace('.', File.separatorChar) + ".java"; - File file = new File(fullskelname); - if (file.getParentFile() != null) - file.getParentFile().mkdirs(); - ctrl = - new TabbedWriter(new FileWriter(file)); - out = new PrintWriter(ctrl); - - if (verbose) - System.out.println("[Generating class " + skelname + ".java]"); - - out.println("// Skel class generated by rmic - DO NOT EDIT!"); - out.println(); - if (fullclassname != classname) - { - String pname = - fullclassname.substring(0, fullclassname.lastIndexOf('.')); - out.println("package " + pname + ";"); - out.println(); - } - - out.print("public final class " + skelclassname); - ctrl.indent(); - - // Output interfaces we implement - out.print("implements java.rmi.server.Skeleton"); - - ctrl.unindent(); - out.print("{"); - ctrl.indent(); - - // Interface hash - don't know how to calculate this - XXX - out.println("private static final long interfaceHash = " - + RMIHashes.getInterfaceHash(clazz) + "L;"); - out.println(); - - // Operation table - out.print("private static final java.rmi.server.Operation[] operations = {"); - - ctrl.indent(); - for (int i = 0; i < remotemethods.length; i++) - { - Method m = remotemethods[i].meth; - out.print("new java.rmi.server.Operation(\""); - out.print(getPrettyName(m.getReturnType()) + " "); - out.print(m.getName() + "("); - // Output signature - Class[] sig = m.getParameterTypes(); - for (int j = 0; j < sig.length; j++) - { - out.print(getPrettyName(sig[j])); - if (j + 1 < sig.length) - out.print(", "); - } - out.print("\")"); - if (i + 1 < remotemethods.length) - out.println(","); - } - ctrl.unindent(); - out.println("};"); - - out.println(); - - // getOperations method - out.print("public java.rmi.server.Operation[] getOperations() {"); - ctrl.indent(); - out.print("return ((java.rmi.server.Operation[]) operations.clone());"); - ctrl.unindent(); - out.println("}"); - - out.println(); - - // Dispatch method - out.print("public void dispatch(java.rmi.Remote obj, java.rmi.server.RemoteCall call, int opnum, long hash) throws java.lang.Exception {"); - ctrl.indent(); - - out.print("if (opnum < 0) {"); - ctrl.indent(); - - for (int i = 0; i < remotemethods.length; i++) - { - out.print("if (hash == " + Long.toString(remotemethods[i].hash) - + "L) {"); - ctrl.indent(); - out.print("opnum = " + i + ";"); - ctrl.unindent(); - out.println("}"); - out.print("else "); - } - out.print("{"); - ctrl.indent(); - out.print("throw new java.rmi.server.SkeletonMismatchException(\"interface hash mismatch\");"); - ctrl.unindent(); - out.print("}"); - - ctrl.unindent(); - out.println("}"); - out.print("else if (hash != interfaceHash) {"); - ctrl.indent(); - out.print("throw new java.rmi.server.SkeletonMismatchException(\"interface hash mismatch\");"); - ctrl.unindent(); - out.println("}"); - - out.println(); - - out.println(fullclassname + " server = (" + fullclassname + ")obj;"); - out.println("switch (opnum) {"); - - // Method dispatch - for (int i = 0; i < remotemethods.length; i++) - { - Method m = remotemethods[i].meth; - out.println("case " + i + ":"); - out.print("{"); - ctrl.indent(); - - Class[] sig = m.getParameterTypes(); - for (int j = 0; j < sig.length; j++) - { - out.print(getPrettyName(sig[j])); - out.println(" $param_" + j + ";"); - } - - out.print("try {"); - boolean needcastcheck = false; - ctrl.indent(); - out.println("java.io.ObjectInput in = call.getInputStream();"); - for (int j = 0; j < sig.length; j++) - { - out.print("$param_" + j + " = "); - if (sig[j] == Boolean.TYPE) - out.print("in.readBoolean();"); - else if (sig[j] == Byte.TYPE) - out.print("in.readByte();"); - else if (sig[j] == Character.TYPE) - out.print("in.readChar();"); - else if (sig[j] == Short.TYPE) - out.print("in.readShort();"); - else if (sig[j] == Integer.TYPE) - out.print("in.readInt();"); - else if (sig[j] == Long.TYPE) - out.print("in.readLong();"); - else if (sig[j] == Float.TYPE) - out.print("in.readFloat();"); - else if (sig[j] == Double.TYPE) - out.print("in.readDouble();"); - else - { - if (sig[j] != Object.class) - { - out.print("(" + getPrettyName(sig[j]) + ")"); - needcastcheck = true; - } - out.print("in.readObject();"); - } - out.println(); - } - ctrl.unindent(); - out.println("}"); - out.print("catch (java.io.IOException e) {"); - ctrl.indent(); - out.print("throw new java.rmi.UnmarshalException(\"error unmarshalling arguments\", e);"); - ctrl.unindent(); - out.println("}"); - if (needcastcheck) - { - out.print("catch (java.lang.ClassCastException e) {"); - ctrl.indent(); - out.print("throw new java.rmi.UnmarshalException(\"error unmarshalling arguments\", e);"); - ctrl.unindent(); - out.println("}"); - } - out.print("finally {"); - ctrl.indent(); - out.print("call.releaseInputStream();"); - ctrl.unindent(); - out.println("}"); - - Class returntype = m.getReturnType(); - if (returntype != Void.TYPE) - out.print(getPrettyName(returntype) + " $result = "); - out.print("server." + m.getName() + "("); - for (int j = 0; j < sig.length; j++) - { - out.print("$param_" + j); - if (j + 1 < sig.length) - out.print(", "); - } - out.println(");"); - - out.print("try {"); - ctrl.indent(); - out.print("java.io.ObjectOutput out = call.getResultStream(true);"); - if (returntype != Void.TYPE) - { - out.println(); - if (returntype == Boolean.TYPE) - out.print("out.writeBoolean($result);"); - else if (returntype == Byte.TYPE) - out.print("out.writeByte($result);"); - else if (returntype == Character.TYPE) - out.print("out.writeChar($result);"); - else if (returntype == Short.TYPE) - out.print("out.writeShort($result);"); - else if (returntype == Integer.TYPE) - out.print("out.writeInt($result);"); - else if (returntype == Long.TYPE) - out.print("out.writeLong($result);"); - else if (returntype == Float.TYPE) - out.print("out.writeFloat($result);"); - else if (returntype == Double.TYPE) - out.print("out.writeDouble($result);"); - else - out.print("out.writeObject($result);"); - } - ctrl.unindent(); - out.println("}"); - out.print("catch (java.io.IOException e) {"); - ctrl.indent(); - out.print("throw new java.rmi.MarshalException(\"error marshalling return\", e);"); - ctrl.unindent(); - out.println("}"); - out.print("break;"); - - ctrl.unindent(); - out.println("}"); - out.println(); - } - - out.print("default:"); - ctrl.indent(); - out.print("throw new java.rmi.UnmarshalException(\"invalid method number\");"); - ctrl.unindent(); - out.print("}"); - - ctrl.unindent(); - out.print("}"); - - ctrl.unindent(); - out.println("}"); - - out.close(); - } - - private void compile(String name) throws Exception - { - Compiler comp = Compiler.getInstance(); - if (verbose) - System.out.println("[Compiling class " + name + "]"); - comp.setDestination(destination); - if (classpath != null) - comp.setClasspath(classpath); - comp.compile(name); - } - - private static String getPrettyName(Class cls) - { - StringBuffer str = new StringBuffer(); - for (int count = 0;; count++) - { - if (! cls.isArray()) - { - str.append(cls.getName()); - for (; count > 0; count--) - str.append("[]"); - return (str.toString()); - } - cls = cls.getComponentType(); - } - } - -/** - * Sort exceptions so the most general go last. - */ - private Class[] sortExceptions(Class[] except) - { - for (int i = 0; i < except.length; i++) - { - for (int j = i + 1; j < except.length; j++) - { - if (except[i].isAssignableFrom(except[j])) - { - Class tmp = except[i]; - except[i] = except[j]; - except[j] = tmp; - } - } - } - return (except); - } - -/** - * Process the options until we find the first argument. - */ - private void parseOptions() - { - for (;;) - { - if (next >= args.length || args[next].charAt(0) != '-') - break; - String arg = args[next]; - next++; - - // Accept `--' options if they look long enough. - if (arg.length() > 3 && arg.charAt(0) == '-' && arg.charAt(1) == '-') - arg = arg.substring(1); - - if (arg.equals("-keep")) - keep = true; - else if (arg.equals("-keepgenerated")) - keep = true; - else if (arg.equals("-v1.1")) - { - need11Stubs = true; - need12Stubs = false; - } - else if (arg.equals("-vcompat")) - { - need11Stubs = true; - need12Stubs = true; - } - else if (arg.equals("-v1.2")) - { - need11Stubs = false; - need12Stubs = true; - } - else if (arg.equals("-g")) - { - } - else if (arg.equals("-depend")) - { - } - else if (arg.equals("-nowarn")) - { - } - else if (arg.equals("-verbose")) - verbose = true; - else if (arg.equals("-nocompile")) - compile = false; - else if (arg.equals("-classpath")) - { - classpath = args[next]; - next++; - StringTokenizer st = - new StringTokenizer(classpath, File.pathSeparator); - URL[] u = new URL[st.countTokens()]; - for (int i = 0; i < u.length; i++) - { - String path = st.nextToken(); - File f = new File(path); - try - { - u[i] = f.toURL(); - } - catch (MalformedURLException mue) - { - error("malformed classpath component " + path); - } - } - loader = new URLClassLoader(u); - } - else if (arg.equals("-help")) - usage(); - else if (arg.equals("-version")) - { - System.out.println("rmic (" + System.getProperty("java.vm.name") - + ") " + System.getProperty("java.vm.version")); - System.out.println(); - System.out.println("Copyright 2006 Free Software Foundation, Inc."); - System.out.println("This is free software; see the source for copying conditions. There is NO"); - System.out.println("warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."); - System.exit(0); - } - else if (arg.equals("-d")) - { - destination = args[next]; - next++; - } - else if (arg.charAt(1) == 'J') - { - } - else - error("unrecognized option `" + arg + "'"); - } - } - - private void findRemoteMethods() { - List rmeths = new ArrayList(); - for (Class cur = clazz; cur != null; cur = cur.getSuperclass()) - { - Class[] interfaces = cur.getInterfaces(); - for (int i = 0; i < interfaces.length; i++) - { - if (java.rmi.Remote.class.isAssignableFrom(interfaces[i])) - { - Class remoteInterface = interfaces[i]; - if (verbose) - System.out.println - ("[implements " + remoteInterface.getName() + "]"); - - // check if the methods declare RemoteExceptions - Method[] meths = remoteInterface.getMethods(); - for (int j = 0; j < meths.length; j++) - { - Method m = meths[j]; - Class[] exs = m.getExceptionTypes(); - - boolean throwsRemote = false; - for (int k = 0; k < exs.length; k++) - { - if (exs[k].isAssignableFrom(RemoteException.class)) - throwsRemote = true; - } - - if (! throwsRemote) - { - logError("Method " + m - + " does not throw a RemoteException"); - continue; - } - - rmeths.add(m); - } - - mRemoteInterfaces.add(remoteInterface); - } - } - } - - // intersect exceptions for doubly inherited methods - boolean[] skip = new boolean[rmeths.size()]; - for (int i = 0; i < skip.length; i++) - skip[i] = false; - List methrefs = new ArrayList(); - for (int i = 0; i < rmeths.size(); i++) - { - if (skip[i]) continue; - Method current = (Method) rmeths.get(i); - MethodRef ref = new MethodRef(current); - for (int j = i+1; j < rmeths.size(); j++) - { - Method other = (Method) rmeths.get(j); - if (ref.isMatch(other)) - { - ref.intersectExceptions(other); - skip[j] = true; - } - } - methrefs.add(ref); - } - - // Convert into a MethodRef array and sort them - remotemethods = (MethodRef[]) - methrefs.toArray(new MethodRef[methrefs.size()]); - Arrays.sort(remotemethods); - } - -/** - * Prints an error to System.err and increases the error count. - * @param theError - */ - private void logError(String theError) - { - errorCount++; - System.err.println("error:" + theError); - } - - private static void error(String message) - { - System.err.println("rmic: " + message); - System.err.println("Try `rmic --help' for more information."); - System.exit(1); - } - - private static void usage() - { - System.out.println("Usage: rmic [OPTION]... CLASS...\n" + "\n" - + " -keep Don't delete any intermediate files\n" - + " -keepgenerated Same as -keep\n" - + " -v1.1 Java 1.1 style stubs only\n" - + " -vcompat Java 1.1 & Java 1.2 stubs\n" - + " -v1.2 Java 1.2 style stubs only\n" - + " -g * Generated debugging information\n" - + " -depend * Recompile out-of-date files\n" - + " -nowarn * Suppress warning messages\n" - + " -nocompile Don't compile the generated files\n" - + " -verbose Output what's going on\n" - + " -classpath <path> * Use given path as classpath\n" - + " -d <directory> Specify where to place generated classes\n" - + " -J<flag> * Pass flag to Java\n" - + " -help Print this help, then exit\n" - + " -version Print version number, then exit\n" + "\n" - + " * Option currently ignored\n" - + "Long options can be used with `--option' form as well."); - System.exit(0); - } - - private static class MethodRef - implements Comparable - { - Method meth; - long hash; - List exceptions; - private String sig; - - MethodRef(Method m) - { - meth = m; - sig = m.getName(); // XXX should be full signature used to compute hash - hash = RMIHashes.getMethodHash(m); - // add exceptions removing subclasses - exceptions = removeSubclasses(m.getExceptionTypes()); - } - - public int compareTo(Object obj) - { - MethodRef that = (MethodRef) obj; - int name = this.meth.getName().compareTo(that.meth.getName()); - if (name == 0) { - return this.sig.compareTo(that.sig); - } - return name; - } - - public boolean isMatch(Method m) - { - if (!meth.getName().equals(m.getName())) - return false; - - Class[] params1 = meth.getParameterTypes(); - Class[] params2 = m.getParameterTypes(); - if (params1.length != params2.length) - return false; - - for (int i = 0; i < params1.length; i++) - if (!params1[i].equals(params2[i])) return false; - - return true; - } - - private static List removeSubclasses(Class[] classes) - { - List list = new ArrayList(); - for (int i = 0; i < classes.length; i++) - { - Class candidate = classes[i]; - boolean add = true; - for (int j = 0; j < classes.length; j++) - { - if (classes[j].equals(candidate)) - continue; - else if (classes[j].isAssignableFrom(candidate)) - add = false; - } - if (add) list.add(candidate); - } - - return list; - } - - public void intersectExceptions(Method m) - { - List incoming = removeSubclasses(m.getExceptionTypes()); - - List updated = new ArrayList(); - - for (int i = 0; i < exceptions.size(); i++) - { - Class outer = (Class) exceptions.get(i); - boolean addOuter = false; - for (int j = 0; j < incoming.size(); j++) - { - Class inner = (Class) incoming.get(j); - - if (inner.equals(outer) || inner.isAssignableFrom(outer)) - addOuter = true; - else if (outer.isAssignableFrom(inner)) - updated.add(inner); - } - - if (addOuter) - updated.add(outer); - } - - exceptions = updated; - } - } -} diff --git a/gcc-4.2.1/libjava/gnu/java/rmi/rmic/RMICException.java b/gcc-4.2.1/libjava/gnu/java/rmi/rmic/RMICException.java deleted file mode 100644 index 8d0387e07..000000000 --- a/gcc-4.2.1/libjava/gnu/java/rmi/rmic/RMICException.java +++ /dev/null @@ -1,66 +0,0 @@ -/*
- Copyright (c) 2003 Free Software Foundation, Inc.
-
-This file is part of GNU Classpath.
-
-GNU Classpath is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
-any later version.
-
-GNU Classpath is distributed in the hope that it will be useful, but
-WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Classpath; see the file COPYING. If not, write to the
-Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-02110-1301 USA.
-
-Linking this library statically or dynamically with other modules is
-making a combined work based on this library. Thus, the terms and
-conditions of the GNU General Public License cover the whole
-combination.
-
-As a special exception, the copyright holders of this library give you
-permission to link this library with independent modules to produce an
-executable, regardless of the license terms of these independent
-modules, and to copy and distribute the resulting executable under
-terms of your choice, provided that you also meet, for each linked
-independent module, the terms and conditions of the license of that
-module. An independent module is a module which is not derived from
-or based on this library. If you modify this library, you may extend
-this exception to your version of the library, but you are not
-obligated to do so. If you do not wish to do so, delete this
-exception statement from your version. */
-
-package gnu.java.rmi.rmic;
-
-/**
- * Thrown by the underlying compiler used by RMIC when it fails to compile a file.
- *
- * @author Dalibor Topic <robilad@kaffe.org>
- */
-
-public class RMICException extends Exception {
- /**
- * Create an exception with a message. The cause remains uninitialized.
- *
- * @param s the message string
- * @see #initCause(Throwable)
- */
- public RMICException(String message) {
- super(message);
- }
-
- /**
- * Create an exception with a message and a cause.
- *
- * @param s the message string
- * @param cause the cause of this exception
- */
- public RMICException(String message, Throwable cause) {
- super(message, cause);
- }
-}
diff --git a/gcc-4.2.1/libjava/gnu/java/rmi/rmic/TabbedWriter.java b/gcc-4.2.1/libjava/gnu/java/rmi/rmic/TabbedWriter.java deleted file mode 100644 index 31107a575..000000000 --- a/gcc-4.2.1/libjava/gnu/java/rmi/rmic/TabbedWriter.java +++ /dev/null @@ -1,100 +0,0 @@ -/* - Copyright (c) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. - -This file is part of GNU Classpath. - -GNU Classpath is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2, or (at your option) -any later version. - -GNU Classpath is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -General Public License for more details. - -You should have received a copy of the GNU General Public License -along with GNU Classpath; see the file COPYING. If not, write to the -Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -02110-1301 USA. - -Linking this library statically or dynamically with other modules is -making a combined work based on this library. Thus, the terms and -conditions of the GNU General Public License cover the whole -combination. - -As a special exception, the copyright holders of this library give you -permission to link this library with independent modules to produce an -executable, regardless of the license terms of these independent -modules, and to copy and distribute the resulting executable under -terms of your choice, provided that you also meet, for each linked -independent module, the terms and conditions of the license of that -module. An independent module is a module which is not derived from -or based on this library. If you modify this library, you may extend -this exception to your version of the library, but you are not -obligated to do so. If you do not wish to do so, delete this -exception statement from your version. */ - -package gnu.java.rmi.rmic; - -import java.io.FilterWriter; -import java.io.Writer; -import java.io.IOException; - -public class TabbedWriter - extends FilterWriter { - -private static final String defaultTabstring = " "; -private char[] tabstring; -private int tabs; - -public TabbedWriter(Writer o) { - this(o, defaultTabstring); -} - -public TabbedWriter(Writer o, String str) { - super(o); - tabs = 0; - tabstring = str.toCharArray(); -} - -public void write(int c) throws IOException { - out.write(c); - if (c == '\n') { - for (int i = 0; i < tabs; i++) { - out.write(tabstring, 0, tabstring.length); - } - } -} - -public void write(char cbuf[], int off, int len) throws IOException { - for (int i = 0; i < len; i++) { - write((int)cbuf[i+off]); - } -} - -public void write(String str, int off, int len) throws IOException { - write(str.toCharArray(), off, len); -} - -public void unindent() throws IOException { - unindent(1); -} - -public void unindent(int nr) throws IOException { - indent(-nr); -} - -public void indent() throws IOException { - indent(1); -} - -public void indent(int nr) throws IOException { - tabs += nr; - if (tabs < 0) { - tabs = 0; - } - write((int)'\n'); -} - -} |
