bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/25866] rmi - UnicastRemoteObject.exportObject() broken


From: tmikov at gmail dot com
Subject: [Bug classpath/25866] rmi - UnicastRemoteObject.exportObject() broken
Date: 17 Mar 2006 04:22:31 -0000


------- Comment #3 from tmikov at gmail dot com  2006-03-17 04:22 -------
Sorry about the delayed reply. 

This problem is not a result of something weird that I am trying to do;
exportObject(), as currenty implemented, does not work at all. exportObject()
is supposed to be used to export objects without requiring them to inherit from
a specific base class. 

I am attaching a test case - it is just a simple program I just put together
implementing a RMI client and server. It includes source and class files
compiled with JDK 1.4. 

With JDK 1.4 installed, you should start the server running under JDK in one
window:
  ant server
And the client in another:
  ant client

The same should work with GIJ:
  ant gij-server
and
  ant gij-client
but as you will see the server terminates with a class cast exception.


-- 

tmikov at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tmikov at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25866





reply via email to

[Prev in Thread] Current Thread [Next in Thread]