summaryrefslogtreecommitdiff
path: root/org
diff options
context:
space:
mode:
authorAndrew John Hughes <gnu_andrew@member.fsf.org>2005-04-03 00:09:08 +0000
committerAndrew John Hughes <gnu_andrew@member.fsf.org>2005-04-03 00:09:08 +0000
commit8d6cd83a7f7a707aebe9e8f0b98d1bb9a6c0f390 (patch)
treefe4b0be51ab9a34ed4a322c0150c1d65f368eb12 /org
parentb4b5c4667bad3f4add76b8a63bfb8f1d2e156803 (diff)
downloadclasspath-8d6cd83a7f7a707aebe9e8f0b98d1bb9a6c0f390.tar.gz
2005-04-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
Merge from HEAD --> generics-branch for 28th of March to 2nd of April. Changelog: 2005-04-01 Tom Tromey <tromey@redhat.com> * java/lang/AssertionError.java: Typo fix. 2005-04-01 Michael Koch <konqueror@gmx.de> * java/io/PipedInputStream.java (read): Make sure a positive byte value is returned. Revised javadoc. Thanks to Olafur Bragason for reporting these bugs. 2005-04-01 Guilhem Lavaux <guilhem@kaffe.org> * java/awt/image/IndexColorModel.java (getRGB): Check if pixel is negative. 2005-03-31 Thomas Fitzsimmons <fitzsim@redhat.com> * javax/swing/text/JTextComponent.java (viewToModel): New method. 2005-03-31 Audrius Meskauskas <audriusa@bluewin.ch> * org/omg/CORBA/ORBPackage/InconsistentTypeCode.java, org/omg/CORBA/ORBPackage/InvalidName.java, org/omg/CORBA/ORBPackage/package.html: New files. 2005-03-31 Michael Koch <konqueror@gmx.de> * gnu/java/awt/peer/gtk/GdkGraphics.java (getClipBounds): Handle clip being null. (setClip): Likewise. * java/beans/beancontext/BeanContextSupport.java (add): Implemented. (addAll): Likewise. (clear): Likewise. (removeAll): Likewise. (retainAll): Likewise. 2005-03-30 Sven de Marothy <sven@physto.se> * gnu/java/awt/peer/gtk/GdkGraphics.java: (drawImage): Don't notify the image observer for offscreen images. * gnu/java/awt/peer/gtk/GtkImagePainter.java: (setPixels): Don't notify the image observer. 2005-03-30 Michael Koch <konqueror@gmx.de> * java/beans/beancontext/BeanContextServicesSupport.java (BeanContextServicesSupport): Reimplemented. (addBeanContextServicesListener): Implemented. (initialize): Likewise. (removeBeanContextServicesListener): Likewise. * java/beans/beancontext/BeanContextSupport.java (add): Likewise. (addBeanContextMembershipListener): Likewise. (getLocale): Likewise. (initialize): Likewise. (iterator): Likewise. (remove): Likewise. (toArray): Likewise. 2005-03-30 Michael Koch <konqueror@gmx.de> * java/awt/image/ConvolveOp.java: Removed comment added by eclipse. 2005-03-30 Michael Koch <konqueror@gmx.de> * gnu/xml/aelfred2/XmlParser.java: Revert my typo fix. 2005-03-30 Michael Koch <konqueror@gmx.de> * java/awt/geom/CubicCurve2D.java, java/awt/geom/QuadCurve2D.java: Fixed typo in name of Brian Cough. 2005-03-29 Guilhem Lavaux <guilhem@kaffe.org> * native/jni/java-nio/gnu_java_nio_VMSelector.c (Java_gnu_java_nio_VMSelector_select): Use GetStaticMethodID for Thread.interrupted(). 2005-03-29 Jeroen Frijters <jeroen@frijters.net> * gnu/classpath/SystemProperties.java (static): Converted encoding aliases to lower case and removed redudant aliases. * gnu/java/io/EncodingManager.java (findEncoderConstructor, findDecoderConstructor): Call new method resolveAlias(). (resolveAlias): New method. * java/lang/System.java (getProperties): Removed uppercase aliases from comments. 2005-03-28 Tom Tromey <tromey@redhat.com> * java/net/URL.java (DEFAULT_SEARCH_PATH): Added org.metastatic.jessie. 2005-03-28 Tom Tromey <tromey@redhat.com> * java/lang/ClassLoader.java (loadClass): Resolve class even if it was already found.
Diffstat (limited to 'org')
-rw-r--r--org/omg/CORBA/ORBPackage/InconsistentTypeCode.java79
-rw-r--r--org/omg/CORBA/ORBPackage/InvalidName.java79
-rw-r--r--org/omg/CORBA/ORBPackage/package.html46
3 files changed, 204 insertions, 0 deletions
diff --git a/org/omg/CORBA/ORBPackage/InconsistentTypeCode.java b/org/omg/CORBA/ORBPackage/InconsistentTypeCode.java
new file mode 100644
index 000000000..03f5e9771
--- /dev/null
+++ b/org/omg/CORBA/ORBPackage/InconsistentTypeCode.java
@@ -0,0 +1,79 @@
+/* InconsistentTypeCode.java --
+ 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., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 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 org.omg.CORBA.ORBPackage;
+
+import java.io.Serializable;
+
+import org.omg.CORBA.UserException;
+
+import org.omg.CORBA.portable.IDLEntity;
+
+/**
+ * The exception is thrown
+ * in response of the attempt to create the dynamic
+ * with an unmatching type code.
+ *
+ * @author Audrius Meskauskas (AudriusA@Bioinformatics.org)
+ */
+public class InconsistentTypeCode
+ extends UserException
+ implements IDLEntity, Serializable
+{
+ /**
+ * Use serialVersionUID for interoperability.
+ * Using the version 1.4 UID.
+ */
+ private static final long serialVersionUID = -4393472660722667060L;
+
+ /**
+ * Constructs a the exception.
+ */
+ public InconsistentTypeCode()
+ {
+ }
+
+ /**
+ * Constructs the exception, explaining the reason of throwing it.
+ * @param reason a string, explaining, why the exception has been thrown.
+ */
+ public InconsistentTypeCode(String reason)
+ {
+ super(reason);
+ }
+}
diff --git a/org/omg/CORBA/ORBPackage/InvalidName.java b/org/omg/CORBA/ORBPackage/InvalidName.java
new file mode 100644
index 000000000..f3b907298
--- /dev/null
+++ b/org/omg/CORBA/ORBPackage/InvalidName.java
@@ -0,0 +1,79 @@
+/* InvalidName.java --
+ 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., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 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 org.omg.CORBA.ORBPackage;
+
+import java.io.Serializable;
+
+import org.omg.CORBA.UserException;
+
+import org.omg.CORBA.portable.IDLEntity;
+
+/**
+ * The exception is thrown by
+ * {@link org.omg.CORBA.ORB#resolve_initial_references(String)}
+ * in response of passing a name for
+ * which there is no initial reference.
+ * @author Audrius Meskauskas (AudriusA@Bioinformatics.org)
+ */
+public class InvalidName
+ extends UserException
+ implements IDLEntity, Serializable
+{
+ /**
+ * Use serialVersionUID for interoperability.
+ * Using the version 1.4 UID.
+ */
+ private static final long serialVersionUID = 6635923991559230168L;
+
+ /**
+ * Constructs a the exception.
+ */
+ public InvalidName()
+ {
+ }
+
+ /**
+ * Constructs the exception, explaining the reason of throwing it.
+ * @param reason a string, explaining, why the exception has been thrown.
+ */
+ public InvalidName(String reason)
+ {
+ super(reason);
+ }
+}
diff --git a/org/omg/CORBA/ORBPackage/package.html b/org/omg/CORBA/ORBPackage/package.html
new file mode 100644
index 000000000..f7e806d00
--- /dev/null
+++ b/org/omg/CORBA/ORBPackage/package.html
@@ -0,0 +1,46 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<!-- package.html - describes classes in javax.sql package.
+ 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., 59 Temple Place, Suite 330, Boston, MA
+02111-1307 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. -->
+
+<html>
+<head><title>GNU Classpath - org.omg.CORBA.ORBPackage</title></head>
+
+<body>
+<p>Provides a couple of exceptions, thrown by methods in the {@link org.omg.CORBA.ORB} class.</p>
+
+</body>
+</html>