[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] Patch: FYI: small RMI/CORBA japi fix
From: |
Tom Tromey |
Subject: |
[cp-patches] Patch: FYI: small RMI/CORBA japi fix |
Date: |
03 Oct 2005 08:39:58 -0600 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
I'm checking this in.
Japi pointed out a minor problem in javax.rmi.CORBA; one of the return
types was wrong. Fixed as appended.
Tom
2005-10-03 Tom Tromey <address@hidden>
* gnu/javax/rmi/CORBA/ValueHandlerDelegateImpl.java
(getRunTimeCodeBase): Changed return type.
* javax/rmi/CORBA/ValueHandler.java (writeReplace): Javadoc fix.
(getRunTimeCodeBase): Changed return type.
Index: gnu/javax/rmi/CORBA/ValueHandlerDelegateImpl.java
===================================================================
RCS file:
/cvsroot/classpath/classpath/gnu/javax/rmi/CORBA/ValueHandlerDelegateImpl.java,v
retrieving revision 1.1
diff -u -r1.1 ValueHandlerDelegateImpl.java
--- gnu/javax/rmi/CORBA/ValueHandlerDelegateImpl.java 2 Oct 2005 19:58:01
-0000 1.1
+++ gnu/javax/rmi/CORBA/ValueHandlerDelegateImpl.java 3 Oct 2005 14:35:49
-0000
@@ -40,6 +40,7 @@
import org.omg.CORBA.CustomMarshal;
import org.omg.CORBA.portable.Streamable;
+import org.omg.SendingContext.RunTime;
import java.io.Externalizable;
import java.io.ObjectStreamClass;
@@ -57,7 +58,7 @@
extends gnuRmiUtil
implements ValueHandler
{
- public Runtime getRunTimeCodeBase()
+ public RunTime getRunTimeCodeBase()
{
throw new Error("Not implemented for ValueHandler");
}
Index: javax/rmi/CORBA/ValueHandler.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/rmi/CORBA/ValueHandler.java,v
retrieving revision 1.5
diff -u -r1.5 ValueHandler.java
--- javax/rmi/CORBA/ValueHandler.java 2 Oct 2005 19:58:01 -0000 1.5
+++ javax/rmi/CORBA/ValueHandler.java 3 Oct 2005 14:35:53 -0000
@@ -79,7 +79,7 @@
*
* @return the codebase.
*/
- Runtime getRunTimeCodeBase();
+ RunTime getRunTimeCodeBase();
/**
* Indicates that the given class is responsible itself for writing its
@@ -114,7 +114,7 @@
* When the value provides the writeReplace method, the result of this method
* is written. Otherwise, the value itself is written.
*
- * @param the value that should be written to the stream.
+ * @param value the value that should be written to the stream.
*
* @return the value that will be actually written to the stream.
*/
- [cp-patches] Patch: FYI: small RMI/CORBA japi fix,
Tom Tromey <=