I'm committing the attached patch which fixes the references to Bounds in throws to reference the correct instance of Bounds, and adds IDLEntity implementations to the appropriate classes.
2005-03-06 Andrew John Hughes <[EMAIL PROTECTED]>
* org/omg/CORBA/CompletionStatus.java,
org/omg/CORBA/TypeCode.java,
org/omg/CORBA/primitiveTypeCode.java:
Fix references to Bounds and add implementations
of IDLEntity.
--
Andrew :-)
Please avoid sending me Microsoft Office (e.g. Word, PowerPoint) attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
No software patents in Europe -- http://nosoftwarepatents.com
"Value your freedom, or you will lose it, teaches history.
`Don't bother us with politics' respond those who don't want to learn."
-- Richard Stallman
"We've all been part of the biggest beta test the world has ever known --
Windows"
-- Victor Wheatman, Gartner
Index: org/omg/CORBA/CompletionStatus.java
===================================================================
RCS file: /cvsroot/classpath/classpath/org/omg/CORBA/CompletionStatus.java,v
retrieving revision 1.4
diff -u -3 -p -u -r1.4 CompletionStatus.java
--- org/omg/CORBA/CompletionStatus.java 6 Mar 2005 09:42:18 -0000 1.4
+++ org/omg/CORBA/CompletionStatus.java 6 Mar 2005 19:26:44 -0000
@@ -40,13 +40,15 @@ package org.omg.CORBA;
import java.io.Serializable;
+import org.omg.CORBA.portable.IDLEntity;
+
/**
* Defines the method completion status, usually for the time moment,
* when the exception has been thrown.
* @author Audrius Meskauskas ([EMAIL PROTECTED])
*/
public class CompletionStatus
- implements Serializable
+ implements Serializable, IDLEntity
{
/**
* Use serialVersionUID for interoperability.
Index: org/omg/CORBA/TypeCode.java
===================================================================
RCS file: /cvsroot/classpath/classpath/org/omg/CORBA/TypeCode.java,v
retrieving revision 1.5
diff -u -3 -p -u -r1.5 TypeCode.java
--- org/omg/CORBA/TypeCode.java 6 Mar 2005 09:42:18 -0000 1.5
+++ org/omg/CORBA/TypeCode.java 6 Mar 2005 19:26:44 -0000
@@ -38,6 +38,7 @@
package org.omg.CORBA;
+import org.omg.CORBA.portable.IDLEntity;
import org.omg.CORBA.TypeCodePackage.BadKind;
/**
@@ -190,7 +191,8 @@ public abstract class TypeCode
* valid bounds.
*/
public abstract Any member_label(int index)
- throws BadKind, Bounds;
+ throws BadKind,
+ org.omg.CORBA.TypeCodePackage.Bounds;
/**
* Retrieves the simple name of the member identified by the given index.
@@ -205,7 +207,8 @@ public abstract class TypeCode
* valid bounds.
*/
public abstract String member_name(int index)
- throws BadKind, Bounds;
+ throws BadKind,
+ org.omg.CORBA.TypeCodePackage.Bounds;
/**
* Retrieves the member type of the member identified by the given index.
@@ -220,7 +223,8 @@ public abstract class TypeCode
* valid bounds.
*/
public abstract TypeCode member_type(int index)
- throws BadKind, Bounds;
+ throws BadKind,
+ org.omg.CORBA.TypeCodePackage.Bounds;
/**
* Returns the visibility scope of the member at the given index.
@@ -237,7 +241,9 @@ public abstract class TypeCode
* valid bounds.
*/
public abstract short member_visibility(int index)
- throws BadKind, Bounds;
+ throws BadKind,
+ org.omg.CORBA.TypeCodePackage.Bounds;
+
/**
* Retrieves the simple name identifying this TypeCode object
Index: org/omg/CORBA/primitiveTypeCode.java
===================================================================
RCS file: /cvsroot/classpath/classpath/org/omg/CORBA/primitiveTypeCode.java,v
retrieving revision 1.1
diff -u -3 -p -u -r1.1 primitiveTypeCode.java
--- org/omg/CORBA/primitiveTypeCode.java 6 Mar 2005 09:13:35 -0000
1.1
+++ org/omg/CORBA/primitiveTypeCode.java 6 Mar 2005 19:26:44 -0000
@@ -153,7 +153,7 @@ class primitiveTypeCode
public Any member_label(int index)
throws org.omg.CORBA.TypeCodePackage.BadKind,
- org.omg.CORBA.Bounds
+ org.omg.CORBA.TypeCodePackage.Bounds
{
throw new BadKind();
}
@@ -166,14 +166,14 @@ class primitiveTypeCode
public TypeCode member_type(int index)
throws org.omg.CORBA.TypeCodePackage.BadKind,
- org.omg.CORBA.Bounds
+ org.omg.CORBA.TypeCodePackage.Bounds
{
throw new BadKind();
}
public short member_visibility(int index)
throws org.omg.CORBA.TypeCodePackage.BadKind,
- org.omg.CORBA.Bounds
+ org.omg.CORBA.TypeCodePackage.Bounds
{
throw new BadKind();
}
signature.asc
Description: Digital signature
_______________________________________________ Classpath-patches mailing list [email protected] http://lists.gnu.org/mailman/listinfo/classpath-patches
