gcc/libjava/java
Norbert Frese f903e73b80 RMIIncomingThread.java: New file.
2004-03-20  Norbert Frese  <postfach@nfrese.net>

	* gnu/java/rmi/server/RMIIncomingThread.java: New file.
	* gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
	Create a new RMIObjectOuputStream/RMIObjectInputStream for every
	rmi-message.
	(getObjectInputStream): Return object reference, throw IOException if null.
	(startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
	(getObjectOutputStream): Return object reference, throw IOException if null.
	(startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
	* gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
	(UnicastConnectionManager): Throw RemoteException if port is not available.
	(getInstance): Throw RemoteException.
	(run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
	* gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
	Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
	Collect Exceptions which are returned by a rmi-call and fix void returns.
	* gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
	Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
	* gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
	(dispatch): Answer ping messages which are sent by other java implementions.
	(incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
	for every rmi-message and fix void return problems.
	* gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
	(UnicastServerRef): Throw RemoteException.
	(exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
	In some situations it is necessary to export a subclass of the class which has the _Stub.
	For instance when the class with has the _Stub is abstract.
	(findStubSkelClass): New method which looks for the class which has the _Stub.
	(getClientHost): Implementated.
	* gcc/libjava/java/rmi/server/RemoteServer.java
	(getClientHost): Implementated.
	* gcc/libjava/Makefile.am (rmi_java_source_files):
	Added gnu/java/rmi/server/RMIIncomingThread.java.
	* Makefile.in: Regenerated.

From-SVN: r79755
2004-03-20 20:30:56 +00:00
..
applet
awt 2004-03-19 Michael Koch <konqueror@gmx.de> 2004-03-19 20:42:39 +00:00
beans BeanDescriptor.java (BeanDescriptor): Set the FeatureDescriptor programmatic name. 2004-03-11 14:36:14 +00:00
io BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc happy. 2004-03-19 22:46:09 +00:00
lang ThreadGroup.java (list): Changed print to println. 2004-03-19 22:59:51 +00:00
math
net 2004-03-20 Michael Koch <konqueror@gmx.de> 2004-03-20 17:59:39 +00:00
nio 2004-03-18 Michael Koch <konqueror@gmx.de> 2004-03-18 21:32:22 +00:00
rmi RMIIncomingThread.java: New file. 2004-03-20 20:30:56 +00:00
security
sql
text DateFormatSymbols.java: Fixed file name in copyright. 2004-03-12 11:24:03 +00:00
util Locale.java: Reverting my last patch and add a comment why the original version was okay. 2004-03-15 22:04:59 +00:00