--- old/src/java.corba/share/classes/com/sun/corba/se/spi/oa/ObjectAdapter.java 2015-05-05 20:15:04.739833424 +0400
+++ new/src/java.corba/share/classes/com/sun/corba/se/spi/oa/ObjectAdapter.java 2015-05-05 20:15:04.655833424 +0400
@@ -89,7 +89,7 @@
*
A local invocation, where the dispatch is handled in the client subcontract.
* A cached local invocation, where the servant is cached when the IOR is established
* for the client subcontract, and the dispatch is handled in the client subcontract
-* to the cached subcontract.
+* to the cached subcontract.
*
*
* Each of these 3 cases is handled a bit differently. On each request, assume as known
@@ -113,9 +113,9 @@
*
pop info
*
*
-* REVISIT: Is this the required order for exit/pop? Cna they be nested instead?
+*
* The local pattern:
*
* - oa = oaf.find( oaid )
@@ -128,10 +128,10 @@
* - oa.returnServant()
* - oa.exit()
* - pop info
-*
+*
*
-* This is the same as the remote case, except that setExecuteReturnServantInResponseConstructor
-* is not needed (or possible, since there is no server request).
+*
* The fast local pattern: When delegate is constructed,
* first extract ObjectKey from IOR in delegate,
* then get ObjectId, ObjectAdapterId, and ObjectAdapterFactory (oaf). Then:
@@ -143,14 +143,14 @@
* pop info
*
* The info instance (which includes the Servant) is cached in the client subcontract.
-* Then, on each invocation:
+* Then, on each invocation:
*
* - newinfo = copy of info (clone)
* - info.setOperation( operation )
* - push newinfo
* - oa.enter()
* - dispatch to servant
-* - oa.returnServant()
// XXX This is probably wrong: remove it.
+* - oa.returnServant()
* - oa.exit()
* - pop info
*