8079342: some docs cleanup for CORBA - part 2

Some fixes for CORBA docs

Reviewed-by: lancea
This commit is contained in:
Alexander Stepanov 2015-05-06 15:10:46 +04:00
parent 9e57400034
commit f1ceebf3a5
35 changed files with 149 additions and 171 deletions

View File

@ -171,9 +171,9 @@ public final class ValueHandlerImpl implements javax.rmi.CORBA.ValueHandlerMulti
* @param out The stream to write the value to * @param out The stream to write the value to
* @param value The value to be written to the stream * @param value The value to be written to the stream
**/ **/
public void writeValue(org.omg.CORBA.portable.OutputStream _out, public void writeValue(org.omg.CORBA.portable.OutputStream out,
java.io.Serializable value) { java.io.Serializable value) {
writeValueWithVersion(_out, value, STREAM_FORMAT_VERSION_1); writeValueWithVersion(out, value, STREAM_FORMAT_VERSION_1);
} }
private void writeValueWithVersion(org.omg.CORBA.portable.OutputStream _out, private void writeValueWithVersion(org.omg.CORBA.portable.OutputStream _out,
@ -240,25 +240,25 @@ public final class ValueHandlerImpl implements javax.rmi.CORBA.ValueHandlerMulti
* Reads a value from the stream using java semantics. * Reads a value from the stream using java semantics.
* @param in The stream to read the value from * @param in The stream to read the value from
* @param clazz The type of the value to be read in * @param clazz The type of the value to be read in
* @param sender The sending context runtime * @param rt The sending context runtime
**/ **/
public java.io.Serializable readValue(org.omg.CORBA.portable.InputStream _in, public java.io.Serializable readValue(org.omg.CORBA.portable.InputStream in,
int offset, int offset,
java.lang.Class clazz, java.lang.Class clazz,
String repositoryID, String repositoryID,
org.omg.SendingContext.RunTime _sender) org.omg.SendingContext.RunTime rt)
{ {
// Must use narrow rather than a direct cast to a com.sun // Must use narrow rather than a direct cast to a com.sun
// class. Fix for bug 4379539. // class. Fix for bug 4379539.
CodeBase sender = CodeBaseHelper.narrow(_sender); CodeBase sender = CodeBaseHelper.narrow(rt);
org.omg.CORBA_2_3.portable.InputStream in = org.omg.CORBA_2_3.portable.InputStream inStream =
(org.omg.CORBA_2_3.portable.InputStream) _in; (org.omg.CORBA_2_3.portable.InputStream) in;
if (!useHashtables) { if (!useHashtables) {
if (inputStreamBridge == null) { if (inputStreamBridge == null) {
inputStreamBridge = createInputStream(); inputStreamBridge = createInputStream();
inputStreamBridge.setOrbStream(in); inputStreamBridge.setOrbStream(inStream);
inputStreamBridge.setSender(sender); //d11638 inputStreamBridge.setSender(sender); //d11638
// backward compatability 4365188 // backward compatability 4365188
inputStreamBridge.setValueHandler(this); inputStreamBridge.setValueHandler(this);
@ -269,7 +269,7 @@ public final class ValueHandlerImpl implements javax.rmi.CORBA.ValueHandlerMulti
try { try {
inputStreamBridge.increaseRecursionDepth(); inputStreamBridge.increaseRecursionDepth();
result = (java.io.Serializable) readValueInternal(inputStreamBridge, in, offset, clazz, repositoryID, sender); result = (java.io.Serializable) readValueInternal(inputStreamBridge, inStream, offset, clazz, repositoryID, sender);
} finally { } finally {
@ -287,16 +287,16 @@ public final class ValueHandlerImpl implements javax.rmi.CORBA.ValueHandlerMulti
if (inputStreamPairs == null) if (inputStreamPairs == null)
inputStreamPairs = new Hashtable(); inputStreamPairs = new Hashtable();
jdkToOrbInputStreamBridge = (IIOPInputStream)inputStreamPairs.get(_in); jdkToOrbInputStreamBridge = (IIOPInputStream)inputStreamPairs.get(in);
if (jdkToOrbInputStreamBridge == null) { if (jdkToOrbInputStreamBridge == null) {
jdkToOrbInputStreamBridge = createInputStream(); jdkToOrbInputStreamBridge = createInputStream();
jdkToOrbInputStreamBridge.setOrbStream(in); jdkToOrbInputStreamBridge.setOrbStream(inStream);
jdkToOrbInputStreamBridge.setSender(sender); //d11638 jdkToOrbInputStreamBridge.setSender(sender); //d11638
// backward compatability 4365188 // backward compatability 4365188
jdkToOrbInputStreamBridge.setValueHandler(this); jdkToOrbInputStreamBridge.setValueHandler(this);
inputStreamPairs.put(_in, jdkToOrbInputStreamBridge); inputStreamPairs.put(in, jdkToOrbInputStreamBridge);
} }
java.io.Serializable result = null; java.io.Serializable result = null;
@ -304,12 +304,12 @@ public final class ValueHandlerImpl implements javax.rmi.CORBA.ValueHandlerMulti
try { try {
jdkToOrbInputStreamBridge.increaseRecursionDepth(); jdkToOrbInputStreamBridge.increaseRecursionDepth();
result = (java.io.Serializable) readValueInternal(jdkToOrbInputStreamBridge, in, offset, clazz, repositoryID, sender); result = (java.io.Serializable) readValueInternal(jdkToOrbInputStreamBridge, inStream, offset, clazz, repositoryID, sender);
} finally { } finally {
if (jdkToOrbInputStreamBridge.decreaseRecursionDepth() == 0) { if (jdkToOrbInputStreamBridge.decreaseRecursionDepth() == 0) {
inputStreamPairs.remove(_in); inputStreamPairs.remove(in);
} }
} }

View File

@ -37,9 +37,6 @@ import com.sun.corba.se.spi.ior.ObjectKeyTemplate ;
import com.sun.corba.se.impl.encoding.EncapsOutputStream ; import com.sun.corba.se.impl.encoding.EncapsOutputStream ;
/**
* @author
*/
public class ObjectKeyImpl implements ObjectKey public class ObjectKeyImpl implements ObjectKey
{ {
private ObjectKeyTemplate oktemp; private ObjectKeyTemplate oktemp;

View File

@ -35,9 +35,6 @@ import org.omg.CORBA_2_3.portable.InputStream ;
import org.omg.CORBA.INTERNAL ; import org.omg.CORBA.INTERNAL ;
/**
* @author
*/
public class TaggedProfileTemplateFactoryFinderImpl extends public class TaggedProfileTemplateFactoryFinderImpl extends
IdentifiableFactoryFinderBase IdentifiableFactoryFinderBase
{ {

View File

@ -593,7 +593,7 @@ public class Util implements javax.rmi.CORBA.UtilDelegate
* @param className the name of the class. * @param className the name of the class.
* @param remoteCodebase a space-separated list of URLs at which * @param remoteCodebase a space-separated list of URLs at which
* the class might be found. May be null. * the class might be found. May be null.
* @param loadingContext a class whose ClassLoader may be used to * @param loader a class whose ClassLoader may be used to
* load the class if all other methods fail. * load the class if all other methods fail.
* @return the <code>Class</code> object representing the loaded class. * @return the <code>Class</code> object representing the loaded class.
* @exception ClassNotFoundException if class cannot be loaded. * @exception ClassNotFoundException if class cannot be loaded.

View File

@ -114,7 +114,7 @@ public abstract class BindingIteratorImpl extends BindingIteratorPOA
* scope, It will be called from NamingContext.list() operation or * scope, It will be called from NamingContext.list() operation or
* this.next_n(). * this.next_n().
* @param how_many The number of requested bindings in the BindingList. * @param how_many The number of requested bindings in the BindingList.
* @param bl The BindingList as an out parameter. * @param blh The BindingList as an out parameter.
* @return true if there were more bindings. * @return true if there were more bindings.
*/ */
public boolean list( int how_many, org.omg.CosNaming.BindingListHolder blh) public boolean list( int how_many, org.omg.CosNaming.BindingListHolder blh)

View File

@ -181,7 +181,7 @@ public abstract class NamingContextImpl
* exists. The NamingContext will participate in recursive resolving. * exists. The NamingContext will participate in recursive resolving.
* @param n a sequence of NameComponents which is the name under which * @param n a sequence of NameComponents which is the name under which
* the object will be bound. * the object will be bound.
* @param obj the NamingContect object reference to be bound. * @param nc the NamingContext object reference to be bound.
* @exception org.omg.CosNaming.NamingContextPackage.NotFound A name with * @exception org.omg.CosNaming.NamingContextPackage.NotFound A name with
* multiple components was supplied, but the first component could not be * multiple components was supplied, but the first component could not be
* resolved. * resolved.
@ -278,7 +278,7 @@ public abstract class NamingContextImpl
* resolving. * resolving.
* @param n a sequence of NameComponents which is the name under which * @param n a sequence of NameComponents which is the name under which
* the object will be bound. * the object will be bound.
* @param obj the object reference to be bound. * @param nc the object reference to be bound.
* @exception org.omg.CosNaming.NamingContextPackage.NotFound A name with * @exception org.omg.CosNaming.NamingContextPackage.NotFound A name with
* multiple components was supplied, but the first component could not be * multiple components was supplied, but the first component could not be
* resolved. * resolved.
@ -853,10 +853,9 @@ public abstract class NamingContextImpl
/** /**
* This operation creates a stringified name from the array of Name * This operation creates a stringified name from the array of Name
* components. * components.
* @param n Name of the object <p> * @param n Name of the object
* @exception org.omg.CosNaming.NamingContextExtPackage.InvalidName * @exception org.omg.CosNaming.NamingContextExtPackage.InvalidName
* Indicates the name does not identify a binding.<p> * Indicates the name does not identify a binding.
*
*/ */
public String to_string(org.omg.CosNaming.NameComponent[] n) public String to_string(org.omg.CosNaming.NameComponent[] n)
throws org.omg.CosNaming.NamingContextPackage.InvalidName throws org.omg.CosNaming.NamingContextPackage.InvalidName
@ -882,10 +881,9 @@ public abstract class NamingContextImpl
/** /**
* This operation converts a Stringified Name into an equivalent array * This operation converts a Stringified Name into an equivalent array
* of Name Components. * of Name Components.
* @param sn Stringified Name of the object <p> * @param sn Stringified Name of the object
* @exception org.omg.CosNaming.NamingContextExtPackage.InvalidName * @exception org.omg.CosNaming.NamingContextExtPackage.InvalidName
* Indicates the name does not identify a binding.<p> * Indicates the name does not identify a binding.
*
*/ */
public org.omg.CosNaming.NameComponent[] to_name(String sn) public org.omg.CosNaming.NameComponent[] to_name(String sn)
throws org.omg.CosNaming.NamingContextPackage.InvalidName throws org.omg.CosNaming.NamingContextPackage.InvalidName
@ -920,14 +918,13 @@ public abstract class NamingContextImpl
* This operation creates a URL based "iiopname://" format name * This operation creates a URL based "iiopname://" format name
* from the Stringified Name of the object. * from the Stringified Name of the object.
* @param addr internet based address of the host machine where * @param addr internet based address of the host machine where
* Name Service is running <p> * Name Service is running
* @param sn Stringified Name of the object <p> * @param sn Stringified Name of the object
* @exception org.omg.CosNaming.NamingContextExtPackage.InvalidName * @exception org.omg.CosNaming.NamingContextExtPackage.InvalidName
* Indicates the name does not identify a binding.<p> * Indicates the name does not identify a binding.
* @exception org.omg.CosNaming.NamingContextPackage.InvalidAddress * @exception org.omg.CosNaming.NamingContextPackage.InvalidAddress
* Indicates the internet based address of the host machine is * Indicates the internet based address of the host machine is
* incorrect <p> * incorrect
*
*/ */
public String to_url(String addr, String sn) public String to_url(String addr, String sn)
@ -961,15 +958,15 @@ public abstract class NamingContextImpl
/** /**
* This operation resolves the Stringified name into the object * This operation resolves the Stringified name into the object
* reference. * reference.
* @param sn Stringified Name of the object <p> * @param sn Stringified Name of the object
* @exception org.omg.CosNaming.NamingContextPackage.NotFound * @exception org.omg.CosNaming.NamingContextPackage.NotFound
* Indicates there is no object reference for the given name. <p> * Indicates there is no object reference for the given name.
* @exception org.omg.CosNaming.NamingContextPackage.CannotProceed * @exception org.omg.CosNaming.NamingContextPackage.CannotProceed
* Indicates that the given compound name is incorrect <p> * Indicates that the given compound name is incorrect
* @exception org.omg.CosNaming.NamingContextExtPackage.InvalidName * @exception org.omg.CosNaming.NamingContextExtPackage.InvalidName
* Indicates the name does not identify a binding.<p> * Indicates the name does not identify a binding.
* @exception org.omg.CosNaming.NamingContextPackage.AlreadyBound * @exception org.omg.CosNaming.NamingContextPackage.AlreadyBound
* Indicates the name is already bound.<p> * Indicates the name is already bound.
* *
*/ */
public org.omg.CORBA.Object resolve_str(String sn) public org.omg.CORBA.Object resolve_str(String sn)

View File

@ -63,7 +63,6 @@ public class TransientBindingIterator extends BindingIteratorImpl
* @param orb a org.omg.CORBA.ORB object. * @param orb a org.omg.CORBA.ORB object.
* @param aTable A hashtable containing InternalBindingValues which is * @param aTable A hashtable containing InternalBindingValues which is
* the content of the TransientNamingContext. * the content of the TransientNamingContext.
* @param java.lang.Exception a Java exception.
* @exception Exception a Java exception thrown of the base class cannot * @exception Exception a Java exception thrown of the base class cannot
* initialize. * initialize.
*/ */

View File

@ -85,7 +85,7 @@ public class TransientNameService
* NamingContext, whose object * NamingContext, whose object
* reference can be obtained by the initialNamingContext method. * reference can be obtained by the initialNamingContext method.
* @param orb The ORB object * @param orb The ORB object
* @param nameserviceName Stringified key used for INS Service registry * @param serviceName Stringified key used for INS Service registry
* @exception org.omg.CORBA.INITIALIZE Thrown if * @exception org.omg.CORBA.INITIALIZE Thrown if
* the TransientNameService cannot initialize. * the TransientNameService cannot initialize.
*/ */

View File

@ -116,8 +116,8 @@ public class NamingContextImpl
* Runs the super constructor. * Runs the super constructor.
* @param orb an ORB object. * @param orb an ORB object.
* @param objKey as String * @param objKey as String
* @param TheNameService as NameService * @param theNameService as NameService
* @param TheServantManagerImpl as ServantManagerImpl * @param theServantManagerImpl as ServantManagerImpl
* @exception java.lang.Exception a Java exception. * @exception java.lang.Exception a Java exception.
*/ */
@ -223,7 +223,7 @@ public class NamingContextImpl
* exists. The NamingContext will participate in recursive resolving. * exists. The NamingContext will participate in recursive resolving.
* @param n a sequence of NameComponents which is the name under which * @param n a sequence of NameComponents which is the name under which
* the object will be bound. * the object will be bound.
* @param obj the NamingContect object reference to be bound. * @param nc the NamingContect object reference to be bound.
* @exception org.omg.CosNaming.NamingContextPackage.NotFound A name with multiple * @exception org.omg.CosNaming.NamingContextPackage.NotFound A name with multiple
* components was supplied, but the first component could not be * components was supplied, but the first component could not be
* resolved. * resolved.
@ -301,7 +301,7 @@ public class NamingContextImpl
* unbound first. The NamingContext will participate in recursive resolving. * unbound first. The NamingContext will participate in recursive resolving.
* @param n a sequence of NameComponents which is the name under which * @param n a sequence of NameComponents which is the name under which
* the object will be bound. * the object will be bound.
* @param obj the object reference to be bound. * @param nc the object reference to be bound.
* @exception org.omg.CosNaming.NamingContextPackage.NotFound A name with multiple * @exception org.omg.CosNaming.NamingContextPackage.NotFound A name with multiple
* components was supplied, but the first component could not be * components was supplied, but the first component could not be
* resolved. * resolved.
@ -907,7 +907,7 @@ public class NamingContextImpl
* The doResolve( ) method calls Resolve( ) recursively to resolve n level * The doResolve( ) method calls Resolve( ) recursively to resolve n level
* Names. * Names.
* @param n a sequence of NameComponents which is the name to be resolved. * @param n a sequence of NameComponents which is the name to be resolved.
* @param bt Type of binding (as object or as context). * @param bth Type of binding (as object or as context).
* @return the object reference bound under the supplied name. * @return the object reference bound under the supplied name.
* @exception org.omg.CosNaming.NamingContextPackage.NotFound Neither a NamingContext * @exception org.omg.CosNaming.NamingContextPackage.NotFound Neither a NamingContext
* or a Corba Object reference not found under this Name * or a Corba Object reference not found under this Name

View File

@ -64,7 +64,6 @@ public class PersistentBindingIterator extends BindingIteratorImpl
* @param orb a org.omg.CORBA.ORB object. * @param orb a org.omg.CORBA.ORB object.
* @param aTable A hashtable containing InternalBindingValues which is * @param aTable A hashtable containing InternalBindingValues which is
* the content of the PersistentNamingContext. * the content of the PersistentNamingContext.
* @param java.lang.Exception a Java exception.
* @exception Exception a Java exception thrown of the base class cannot * @exception Exception a Java exception thrown of the base class cannot
* initialize. * initialize.
*/ */

View File

@ -61,7 +61,7 @@ import com.sun.corba.se.impl.protocol.JIDLLocalCRDImpl ;
* Its characteristics include: * Its characteristics include:
* <UL> * <UL>
* <LI>There is only one OA instance of the TOA. Its OAId is { "TOA" }</LI> * <LI>There is only one OA instance of the TOA. Its OAId is { "TOA" }</LI>
* <LI>There is not adapter manager. The TOA manager ID is fixed.<LI> * <LI>There is not adapter manager. The TOA manager ID is fixed.</LI>
* <LI>State is the same as ORB state (TBD)</LI> * <LI>State is the same as ORB state (TBD)</LI>
* </UL> * </UL>
* Other requirements: * Other requirements:
@ -118,7 +118,7 @@ public class TOAImpl extends ObjectAdapterBase implements TOA
* This will update thread Current, so that subsequent calls to * This will update thread Current, so that subsequent calls to
* returnServant and removeCurrent from the same thread are for the * returnServant and removeCurrent from the same thread are for the
* same request. * same request.
* @param request is the request containing the rest of the request * @param info is the request containing the rest of the request
*/ */
public void getInvocationServant( OAInvocationInfo info ) public void getInvocationServant( OAInvocationInfo info )
{ {

View File

@ -42,8 +42,9 @@ public class DenseIntMapImpl
throw new IllegalArgumentException( "Key must be >= 0." ) ; throw new IllegalArgumentException( "Key must be >= 0." ) ;
} }
/** If key >= 0, return the value bound to key, or null if none. /**
* Throws IllegalArgumentException if key <0. * If {@code key >= 0}, return the value bound to key, or null if none.
* Throws IllegalArgumentException if {@code key < 0}.
*/ */
public Object get( int key ) public Object get( int key )
{ {
@ -56,8 +57,9 @@ public class DenseIntMapImpl
return result ; return result ;
} }
/** If key >= 0, bind value to the key. /**
* Throws IllegalArgumentException if key <0. * If {@code key >= 0}, bind value to the key.
* Throws IllegalArgumentException if {@code key < 0}.
*/ */
public void set( int key, Object value ) public void set( int key, Object value )
{ {

View File

@ -150,8 +150,7 @@ import com.sun.corba.se.impl.orbutil.ORBUtility ;
* *
* </pre> * </pre>
* @see Mutex * @see Mutex
* <p>[<a href="http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.html"> Introduction to this package. </a>] * [<a href="http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.html"> Introduction to this package. </a>]
**/ **/
public class CondVar { public class CondVar {

View File

@ -181,11 +181,11 @@ package com.sun.corba.se.impl.orbutil.concurrent;
* } * }
* } * }
* } * }
*</pre> * </pre>
* <p> * <p>
* Here is an even fancier version, that uses lock re-ordering * Here is an even fancier version, that uses lock re-ordering
* upon conflict: * upon conflict:
* <pre> * <pre>{@code
* class Cell { * class Cell {
* long value; * long value;
* Sync lock = ...; * Sync lock = ...;
@ -214,8 +214,8 @@ package com.sun.corba.se.impl.orbutil.concurrent;
* } * }
* catch (InterruptedException ex) { return; } * catch (InterruptedException ex) { return; }
* } * }
*} * }
*</pre> * }</pre>
* <p> * <p>
* Interruptions are in general handled as early as possible. * Interruptions are in general handled as early as possible.
* Normally, InterruptionExceptions are thrown * Normally, InterruptionExceptions are thrown
@ -248,7 +248,7 @@ package com.sun.corba.se.impl.orbutil.concurrent;
* it is normally best to just use acquire(), various forms * it is normally best to just use acquire(), various forms
* of busy waits can be implemented. For a simple example * of busy waits can be implemented. For a simple example
* (but one that would probably never be preferable to using acquire()): * (but one that would probably never be preferable to using acquire()):
* <pre> * <pre>{@code
* class X { * class X {
* Sync lock = ... * Sync lock = ...
* void spinUntilAcquired() throws InterruptedException { * void spinUntilAcquired() throws InterruptedException {
@ -269,7 +269,7 @@ package com.sun.corba.se.impl.orbutil.concurrent;
* } * }
* } * }
* } * }
* </pre> * }</pre>
* <p> * <p>
* In addition pure synchronization control, Syncs * In addition pure synchronization control, Syncs
* may be useful in any context requiring before/after methods. * may be useful in any context requiring before/after methods.
@ -277,7 +277,7 @@ package com.sun.corba.se.impl.orbutil.concurrent;
* (perhaps as part of a LayeredSync) in order to obtain callbacks * (perhaps as part of a LayeredSync) in order to obtain callbacks
* before and after each method invocation for a given class. * before and after each method invocation for a given class.
* *
* <p>[<a href="http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.html"> Introduction to this package. </a>] * [<a href="http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.html"> Introduction to this package. </a>]
**/ **/

View File

@ -130,13 +130,13 @@ public abstract class CorbaConnectionCacheBase
* This method must be synchronized since one WorkerThread could * This method must be synchronized since one WorkerThread could
* be reclaming connections inside the synchronized backingStore * be reclaming connections inside the synchronized backingStore
* block and a second WorkerThread (or a SelectorThread) could have * block and a second WorkerThread (or a SelectorThread) could have
* already executed the if (numberOfConnections <= .... ). As a * already executed the if (numberOfConnections {@literal <=} .... ). As a
* result the second thread would also attempt to reclaim connections. * result the second thread would also attempt to reclaim connections.
* *
* If connection reclamation becomes a performance issue, the connection * If connection reclamation becomes a performance issue, the connection
* reclamation could make its own task and consequently executed in * reclamation could make its own task and consequently executed in
* a separate thread. * a separate thread.
* Currently, the accept & reclaim are done in the same thread, WorkerThread * Currently, the accept {@literal &} reclaim are done in the same thread, WorkerThread
* by default. It could be changed such that the SelectorThread would do * by default. It could be changed such that the SelectorThread would do
* it for SocketChannels and WorkerThreads for Sockets by updating the * it for SocketChannels and WorkerThreads for Sockets by updating the
* ParserTable. * ParserTable.

View File

@ -41,8 +41,8 @@ The abstract model of IORs works as follows:
<li>An IIOPProfile isA TaggedProfile.</li> <li>An IIOPProfile isA TaggedProfile.</li>
<li>An IIOPProfile is composed of an IIOPProfileTemplate and an object ID.</li> <li>An IIOPProfile is composed of an IIOPProfileTemplate and an object ID.</li>
<li>An IIOPProfileTemplate has an ObjectKeyTemplate, and contains TaggedComponents.</li> <li>An IIOPProfileTemplate has an ObjectKeyTemplate, and contains TaggedComponents.</li>
<li>A TaggedComponent has an ID, and can be written to an OuputStream.<li> <li>A TaggedComponent has an ID, and can be written to an OuputStream.</li>
<li>A TaggedComponentFactory reads a TaggedComponent from an InputStream.<li> <li>A TaggedComponentFactory reads a TaggedComponent from an InputStream.</li>
</ul> </ul>
<p> <p>
In all cases, containment is represented by having the appropriate interface (IOR and In all cases, containment is represented by having the appropriate interface (IOR and

View File

@ -48,7 +48,7 @@ import com.sun.corba.se.spi.transport.SocketInfo;
* *
* property. <p> * property. <p>
* *
* Example: <p> * Example:
* <pre> * <pre>
* -Dcom.sun.CORBA.connection.ORBSocketFactoryClass=MySocketFactory * -Dcom.sun.CORBA.connection.ORBSocketFactoryClass=MySocketFactory
@ -145,7 +145,7 @@ public interface ORBSocketFactory
* *
* property. <p> * property. <p>
* *
* Example usage:<p> * Example usage:
* *
* <pre> * <pre>
* ... \ * ... \
@ -203,7 +203,7 @@ public interface ORBSocketFactory
* Once you have the port you may add information to references * Once you have the port you may add information to references
* created by the associated adapter by calling * created by the associated adapter by calling
* *
* <code>IORInfo::add_ior_component</code><p> <p> * <code>IORInfo::add_ior_component</code><p>
* *
* *
* Note: if one is using a POA and the lifespan policy of that * Note: if one is using a POA and the lifespan policy of that
@ -247,7 +247,7 @@ public interface ORBSocketFactory
* *
* <code>ORBConstants.BAD_SERVER_ID_HANDLER_CLASS_PROPERTY</code> <p> * <code>ORBConstants.BAD_SERVER_ID_HANDLER_CLASS_PROPERTY</code> <p>
* *
* Example: <p> * Example:
* *
* <pre> * <pre>
* *
@ -271,7 +271,7 @@ public interface ORBSocketFactory
* <code>SOCKET_FACTORY_CLASS_PROPERTY</code> and * <code>SOCKET_FACTORY_CLASS_PROPERTY</code> and
* <code>LISTEN_SOCKET_PROPERTY</code> * <code>LISTEN_SOCKET_PROPERTY</code>
* *
* as used by other clients and servers in your distributed system. <p> * as used by other clients and servers in your distributed system.
* *
*/ */
public ServerSocket createServerSocket(String type, int port) public ServerSocket createServerSocket(String type, int port)
@ -324,7 +324,7 @@ public interface ORBSocketFactory
* *
* The <code>SocketInfo</code> given to <code>getEndPointInfo</code> * The <code>SocketInfo</code> given to <code>getEndPointInfo</code>
* is either null or an object obtained * is either null or an object obtained
* from <code>GetEndPointInfoAgainException</code> <p> * from <code>GetEndPointInfoAgainException</code>
* *
*/ */
public SocketInfo getEndPointInfo(org.omg.CORBA.ORB orb, public SocketInfo getEndPointInfo(org.omg.CORBA.ORB orb,
@ -333,7 +333,7 @@ public interface ORBSocketFactory
/** /**
* DEPRECATED. DEPRECATED. DEPRECATED. DEPRECATED. <p * DEPRECATED. DEPRECATED. DEPRECATED. DEPRECATED. <p>
* *
* This method is used by a client side ORB. <p> * This method is used by a client side ORB. <p>
* *
@ -346,7 +346,7 @@ public interface ORBSocketFactory
* *
* If this method throws GetEndPointInfoAgainException then the * If this method throws GetEndPointInfoAgainException then the
* ORB calls <code>getEndPointInfo</code> again, passing it the * ORB calls <code>getEndPointInfo</code> again, passing it the
* <code>SocketInfo</code> object contained in the exception. <p> * <code>SocketInfo</code> object contained in the exception.
* *
*/ */
public Socket createSocket(SocketInfo socketInfo) public Socket createSocket(SocketInfo socketInfo)

View File

@ -42,7 +42,7 @@ public interface MonitoredAttribute {
/** /**
* Gets the Monitored Attribute Info for the attribute. * Gets the Monitored Attribute Info for the attribute.
* *
* @param monitoredAttributeInfo for this Monitored Attribute. * @return monitoredAttributeInfo for this Monitored Attribute.
*/ */
public MonitoredAttributeInfo getAttributeInfo(); public MonitoredAttributeInfo getAttributeInfo();
/** /**
@ -67,7 +67,7 @@ public interface MonitoredAttribute {
* getvalue is same as the one specified in MonitoredAttributeInfo for this * getvalue is same as the one specified in MonitoredAttributeInfo for this
* attribute. * attribute.
* *
* @param value is the current value for this MonitoredAttribute * @return the current value for this MonitoredAttribute
*/ */
public Object getValue(); public Object getValue();
/** /**

View File

@ -25,14 +25,9 @@
package com.sun.corba.se.spi.monitoring; package com.sun.corba.se.spi.monitoring;
/** /**
* <p>
*
* @author Hemanth Puttaswamy * @author Hemanth Puttaswamy
* </p>
* <p>
* *
* MonitoredObject Factory to create Monitored Object. * MonitoredObject Factory to create Monitored Object.
* </p>
*/ */
public interface MonitoredObjectFactory { public interface MonitoredObjectFactory {
/** /**

View File

@ -89,7 +89,7 @@ import com.sun.corba.se.spi.ior.IORTemplate ;
* <li>A local invocation, where the dispatch is handled in the client subcontract.</li> * <li>A local invocation, where the dispatch is handled in the client subcontract.</li>
* <li>A cached local invocation, where the servant is cached when the IOR is established * <li>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 * for the client subcontract, and the dispatch is handled in the client subcontract
* to the cached subcontract.<li> * to the cached subcontract.</li>
* </ol> * </ol>
* <p> * <p>
* Each of these 3 cases is handled a bit differently. On each request, assume as known * Each of these 3 cases is handled a bit differently. On each request, assume as known
@ -113,9 +113,9 @@ import com.sun.corba.se.spi.ior.IORTemplate ;
* <li>pop info</li> * <li>pop info</li>
* </ol> * </ol>
* </li> * </li>
* REVISIT: Is this the required order for exit/pop? Cna they be nested instead? * <!-- REVISIT: Is this the required order for exit/pop? Cna they be nested instead?
* Note that getInvocationServant and returnServant may throw exceptions. In such cases, * Note that getInvocationServant and returnServant may throw exceptions. In such cases,
* returnServant, exit, and pop must be called in the correct order. * returnServant, exit, and pop must be called in the correct order. -->
* <li>The local pattern: * <li>The local pattern:
* <ol> * <ol>
* <li>oa = oaf.find( oaid )</li> * <li>oa = oaf.find( oaid )</li>
@ -128,10 +128,10 @@ import com.sun.corba.se.spi.ior.IORTemplate ;
* <li>oa.returnServant()</li> * <li>oa.returnServant()</li>
* <li>oa.exit()</li> * <li>oa.exit()</li>
* <li>pop info</li> * <li>pop info</li>
* <ol> * </ol>
* </li> * </li>
* This is the same as the remote case, except that setExecuteReturnServantInResponseConstructor * <!-- This is the same as the remote case, except that setExecuteReturnServantInResponseConstructor
* is not needed (or possible, since there is no server request). * is not needed (or possible, since there is no server request). -->
* <li>The fast local pattern: When delegate is constructed, * <li>The fast local pattern: When delegate is constructed,
* first extract ObjectKey from IOR in delegate, * first extract ObjectKey from IOR in delegate,
* then get ObjectId, ObjectAdapterId, and ObjectAdapterFactory (oaf). Then: * then get ObjectId, ObjectAdapterId, and ObjectAdapterFactory (oaf). Then:
@ -143,14 +143,14 @@ import com.sun.corba.se.spi.ior.IORTemplate ;
* <li>pop info * <li>pop info
* </ol> * </ol>
* The info instance (which includes the Servant) is cached in the client subcontract. * The info instance (which includes the Servant) is cached in the client subcontract.
* <p>Then, on each invocation:</p> * <p>Then, on each invocation:
* <ol> * <ol>
* <li>newinfo = copy of info (clone)</li> * <li>newinfo = copy of info (clone)</li>
* <li>info.setOperation( operation )</li> * <li>info.setOperation( operation )</li>
* <li>push newinfo</li> * <li>push newinfo</li>
* <li>oa.enter()</li> * <li>oa.enter()</li>
* <li>dispatch to servant</li> * <li>dispatch to servant</li>
* <li>oa.returnServant()</li> // XXX This is probably wrong: remove it. * <li>oa.returnServant()</li> <!-- XXX This is probably wrong: remove it. -->
* <li>oa.exit()</li> * <li>oa.exit()</li>
* <li>pop info</li> * <li>pop info</li>
* </ol> * </ol>

View File

@ -58,7 +58,7 @@ public interface DataCollector {
* mappings in the resulting properties. Also, -ORBInitialServices * mappings in the resulting properties. Also, -ORBInitialServices
* is handled specially in applet mode: they are converted from * is handled specially in applet mode: they are converted from
* relative to absolute URLs. * relative to absolute URLs.
* @raises IllegalStateException if setPropertyNames has not * @throws IllegalStateException if setPropertyNames has not
* been called. * been called.
*/ */
Properties getProperties() ; Properties getProperties() ;

View File

@ -93,8 +93,8 @@ public interface Guard
* input is retried when the thread runs again. * input is retried when the thread runs again.
* </ul> * </ul>
* *
* @param FSM fsm is the state machine causing this action. * @param fsm is the state machine causing this action.
* @param Input in is the input that caused the transition. * @param in is the input that caused the transition.
*/ */
public Result evaluate( FSM fsm, Input in ) ; public Result evaluate( FSM fsm, Input in ) ;
} }

View File

@ -32,7 +32,7 @@ import org.omg.CORBA.portable.BoxedValueHelper;
* An interface that is implemented by valuetype helper classes. * An interface that is implemented by valuetype helper classes.
* This interface appeared in CORBA 2.3 drafts but was removed from * This interface appeared in CORBA 2.3 drafts but was removed from
* the published CORBA 2.3 specification. * the published CORBA 2.3 specification.
* <P> *
* @deprecated Deprecated by CORBA 2.3. * @deprecated Deprecated by CORBA 2.3.
*/ */
@Deprecated @Deprecated

View File

@ -68,9 +68,9 @@ public class Arguments
* must check the arguments passed to it for validity and process the * must check the arguments passed to it for validity and process the
* arguments appropriately. If it detects an invalid argument, it should * arguments appropriately. If it detects an invalid argument, it should
* throw an InvalidArgument exception. Arguments MUST be of the form * throw an InvalidArgument exception. Arguments MUST be of the form
* `/<arg> [<qualifiers>]' or `-<arg> [<qualifiers>]' where <qualifiers> * {@code '/<arg> [<qualifiers>]'} or {@code '-<arg> [<qualifiers>]'} where {@code <qualifiers>}
* is optional (for example, -iC:\includes, `C:\includes' is the qualifier * is optional (for example, -iC:\includes, 'C:\includes' is the qualifier
* for the argument `i'). * for the argument 'i').
* @param args The arguments which are unknown by the framework. * @param args The arguments which are unknown by the framework.
* @param properties Environment-style properties collected from the * @param properties Environment-style properties collected from the
* file idl.config. * file idl.config.
@ -289,7 +289,7 @@ public class Arguments
public Hashtable definedSymbols = new Hashtable (); public Hashtable definedSymbols = new Hashtable ();
/** /**
* <f46082.46.01> True if new module entries are created for each * (f46082.46.01) True if new module entries are created for each
* re-opened module. * re-opened module.
**/ **/
public boolean cppModule = false; public boolean cppModule = false;

View File

@ -52,7 +52,7 @@ import com.sun.tools.corba.se.idl.constExpr.DefaultExprFactory;
* Compiler usage: * Compiler usage:
* <br><br> * <br><br>
* *
* java com.sun.tools.corba.se.idl.toJava.compile [options] <idl file> * {@code java com.sun.tools.corba.se.idl.toJava.compile [options] <idl file>}
* <br><br> * <br><br>
* *
* where &lt;idl file&gt; is the name of a file containing IDL definitions, * where &lt;idl file&gt; is the name of a file containing IDL definitions,
@ -62,17 +62,17 @@ import com.sun.tools.corba.se.idl.constExpr.DefaultExprFactory;
* *
* Options: * Options:
* <dl> * <dl>
* <dt>-i &lt;include path&gt; * <dt>{@code -i <include path>}
* <dd>By default, the current directory is scanned for included files. * <dd>By default, the current directory is scanned for included files.
* This option adds another directory. See also Note 1 below. * This option adds another directory. See also Note 1 below.
* *
* <dt>-d &lt;symbol&gt; * <dt>{@code -d <symbol>}
* <dd>This is equivalent to the following line in an IDL file: #define &lt;symbol&gt; * <dd>This is equivalent to the following line in an IDL file: {@code #define <symbol>}
* *
* <dt>-emitAll * <dt>{@code -emitAll}
* <dd>Emit all types, including those found in #included files. * <dd>Emit all types, including those found in #included files.
* *
* <dt>-v * <dt>{@code -v}
* <dd>Verbose mode. * <dd>Verbose mode.
* </dl> * </dl>
* *
@ -81,9 +81,9 @@ import com.sun.tools.corba.se.idl.constExpr.DefaultExprFactory;
* time. Instead, these can be placed into a config file called idl.config. * time. Instead, these can be placed into a config file called idl.config.
* This file must be in the CLASSPATH. The format of the includes line is: * This file must be in the CLASSPATH. The format of the includes line is:
* *
* <pre> * <pre>{@code
* includes=<path1>;<path2>;...;<pathN> * includes=<path1>;<path2>;...;<pathN>
* </pre> * }</pre>
* *
* Note that the path separator character, here shown as a semicolon, is * Note that the path separator character, here shown as a semicolon, is
* machine dependent. For instance, on Windows 95 this character is a * machine dependent. For instance, on Windows 95 this character is a
@ -481,10 +481,10 @@ public class Compile
**/ **/
public Arguments arguments = null; public Arguments arguments = null;
/** /**
* This hashtable contains <real name, alias> pairs. It is filled in by * This hashtable contains {@code <real name, alias>} pairs. It is filled in by
* extenders in cases where they wish to override an IDL type name with * extenders in cases where they wish to override an IDL type name with
* some other name. For instance, when mapping to Java, there could be * some other name. For instance, when mapping to Java, there could be
* an overrideNames entry of <"TRUE", "true">. NOTE: Do NOT change this * an overrideNames entry of {@code <"TRUE", "true">}. NOTE: Do NOT change this
* variable to a new Hash table. Just add elements to it. * variable to a new Hash table. Just add elements to it.
**/ **/
protected Hashtable overrideNames = new Hashtable (); protected Hashtable overrideNames = new Hashtable ();
@ -495,8 +495,8 @@ public class Compile
**/ **/
protected Hashtable symbolTable = new Hashtable (); protected Hashtable symbolTable = new Hashtable ();
/** /**
* This is a vector of strings of the form "IDLfile" or <IDLfile>. It is * This is a vector of strings of the form {@code "IDLfile"} or {@code <IDLfile>}.
* a list of the files included in the given IDL file. It will be empty * It is a list of the files included in the given IDL file. It will be empty
* until the parse method executes. If errors are encountered, the state * until the parse method executes. If errors are encountered, the state
* of this vector is undefined. * of this vector is undefined.
**/ **/

View File

@ -202,7 +202,7 @@ public class DefaultSymtabFactory implements SymtabFactory
'char', 'octet', 'short', 'long', etc. The reason it is not limited 'char', 'octet', 'short', 'long', etc. The reason it is not limited
to these is that, as an extender, you may wish to override these names. to these is that, as an extender, you may wish to override these names.
For instance, when generating Java code, octet translates to byte, so For instance, when generating Java code, octet translates to byte, so
there is an entry in Compile.overrideNames: <"octet", "byte"> and a there is an entry in Compile.overrideNames: {@code <"octet", "byte">} and a
PrimitiveEntry in the symbol table for "byte". */ PrimitiveEntry in the symbol table for "byte". */
public PrimitiveEntry primitiveEntry (String name) public PrimitiveEntry primitiveEntry (String name)
{ {

View File

@ -97,7 +97,7 @@ public class IncludeEntry extends SymtabEntry
//d44810 //d44810
/** Access the fully-qualified file specification of this include. /** Access the fully-qualified file specification of this include.
@returns a string containing the path of the include file. */ @return a string containing the path of the include file. */
public String absFilename () public String absFilename ()
{ {
return _absFilename; return _absFilename;

View File

@ -46,29 +46,21 @@ import com.sun.tools.corba.se.idl.TypedefEntry;
* of what it may contain: * of what it may contain:
* <dl> * <dl>
* <dt> * <dt>
* <pre> * {@code case 1: short x;}
* case 1: short x; * <dd>{@code <short x, <1>, false>}
* </pre>
* <dd><short x, <1>, false>
* <dt> * <dt>
* <pre> * {@code case 0:}<br>
* case 0: * {@code case 8:}<br>
* case 8: * {@code case 2: long x;}
* case 2: long x; * <dd>{@code <long x, <0, 8, 2>, false>}
* </pre>
* <dd><long x, <0, 8, 2>, false>
* <dt> * <dt>
* <pre> * {@code default: long x;}
* default: long x; * <dd>{@code <long x, <>, true>}
* </pre>
* <dd><long x, <>, true>
* <dt> * <dt>
* <pre> * {@code case 0:}<br>
* case 0: * {@code case 2:}<br>
* case 2: * {@code default: char c;}
* default: char c; * <dd>{@code <char c, <0, 2>, true>}
* </pre>
* <dd><char c, <0, 2>, true>
* </dl> * </dl>
**/ **/
public class UnionBranch public class UnionBranch

View File

@ -87,37 +87,37 @@ import com.sun.tools.corba.se.idl.InvalidArgument;
* *
* Options: * Options:
* <dl> * <dl>
* <dt>-i &lt;include path&gt; * <dt>{@code -i <include path>}
* <dd>By default, the current directory is scanned for included files. * <dd>By default, the current directory is scanned for included files.
* This option adds another directory. See also the note below. * This option adds another directory. See also the note below.
* *
* <dt>-d &lt;symbol&gt; * <dt>{@code -d <symbol>}
* <dd>This is equivalent to the following line in an IDL file: * <dd>This is equivalent to the following line in an IDL file:
* #define &lt;symbol&gt; * {@code #define <symbol>}
* *
* <dt>-f<side> * <dt>{@code -f <side>}
* <dd>Defines what bindings to emit. <side> is one of client, server, all, * <dd>Defines what bindings to emit. {@code <side>} is one of client, server, all,
* serverTIE, allTIE. serverTIE and allTIE cause delegate model skeletons * serverTIE, allTIE. serverTIE and allTIE cause delegate model skeletons
* to be emitted. If this flag is not used, -fclient is assumed. * to be emitted. If this flag is not used, -fclient is assumed.
* allPOA has the same effect as all, except for generation POA type skeletons. * allPOA has the same effect as all, except for generation POA type skeletons.
* *
* <dt>-keep * <dt>{@code -keep}
* <dd>If a file to be generated already exists, do not overwrite it. By * <dd>If a file to be generated already exists, do not overwrite it. By
* default it is overwritten. * default it is overwritten.
* *
* <dt>-sep <string> * <dt>{@code -sep <string>}
* <dd>Only valid with -m. Replace the file separator character with * <dd>Only valid with -m. Replace the file separator character with
* <string> in the file names listed in the .u file. * {@code <string>} in the file names listed in the .u file.
* *
* <dt>-emitAll * <dt>{@code -emitAll}
* <dd>Emit all types, including those found in #included files. * <dd>Emit all types, including those found in #included files.
* *
* <dt>-v * <dt>{@code -v}
* <dd>Verbose mode. * <dd>Verbose mode.
* *
* <dt>-pkgPrefix <type> <package> * <dt>{@code -pkgPrefix <type> <package>}
* <dd>Whereever <type> is encountered, make sure it resides within * <dd>Whereever {@code <type>} is encountered, make sure it resides within
* &lt;package&gt; in all generated files. &lt;type&gt; is a fully * {@code <package>} in all generated files. {@code <type>} is a fully
* qualified, java-style name. * qualified, java-style name.
* </dl> * </dl>
* *
@ -127,9 +127,9 @@ import com.sun.tools.corba.se.idl.InvalidArgument;
* called idl.config. This file must be in the CLASSPATH. The format of * called idl.config. This file must be in the CLASSPATH. The format of
* the includes line is: * the includes line is:
* *
* <pre> * <pre>{@code
* includes=<path1>;<path2>;...;<pathN> * includes=<path1>;<path2>;...;<pathN>
* </pre> * }</pre>
* *
* Note that the path separator character, here shown as a semicolon, * Note that the path separator character, here shown as a semicolon,
* is machine dependent. For instance, on Windows 95 this character * is machine dependent. For instance, on Windows 95 this character

View File

@ -534,7 +534,7 @@ public class Util extends com.sun.tools.corba.se.idl.Util
} // holderName } // holderName
/** /**
* <d61056> * d61056
**/ **/
public static String helperName (SymtabEntry entry, boolean qualifiedName) public static String helperName (SymtabEntry entry, boolean qualifiedName)
{ {
@ -1412,7 +1412,7 @@ public class Util extends com.sun.tools.corba.se.idl.Util
// <d62023> // <d62023>
/** /**
* @return true if the current setting of corbaLevel is within delta of * @return true if the current setting of corbaLevel is within delta of
* the range min <= corbaLevel <= max * the range {@code min <= corbaLevel <= max}
**/ **/
public static boolean corbaLevel (float min, float max) public static boolean corbaLevel (float min, float max)
{ {

View File

@ -121,7 +121,7 @@ public class ValueBoxGen24 extends ValueBoxGen
} // helperRead } // helperRead
/** /**
* <d62023> * d62023
**/ **/
public void helperWrite (SymtabEntry entry, PrintWriter stream) public void helperWrite (SymtabEntry entry, PrintWriter stream)
{ {

View File

@ -28,7 +28,7 @@ import org.omg.CORBA.portable.*;
/** /**
* <P>Used as a base class for implementation of a local IDL interface in the * Used as a base class for implementation of a local IDL interface in the
* Java language mapping. It is a class which implements all the operations * Java language mapping. It is a class which implements all the operations
* in the <tt>org.omg.CORBA.Object</tt> interface. * in the <tt>org.omg.CORBA.Object</tt> interface.
* <P>Local interfaces are implemented by using CORBA::LocalObject * <P>Local interfaces are implemented by using CORBA::LocalObject
@ -49,7 +49,8 @@ import org.omg.CORBA.portable.*;
* <P><code>LocalObject</code> is to be used as the base class of locally * <P><code>LocalObject</code> is to be used as the base class of locally
* constrained objects, such as those in the PortableServer module. * constrained objects, such as those in the PortableServer module.
* The specification here is based on the CORBA Components * The specification here is based on the CORBA Components
* Volume I - orbos/99-07-01<P> * Volume I - orbos/99-07-01
*
* @see <a href="package-summary.html#unimpl"><code>CORBA</code> package * @see <a href="package-summary.html#unimpl"><code>CORBA</code> package
* comments for unimplemented features</a> * comments for unimplemented features</a>
*/ */
@ -64,7 +65,7 @@ public class LocalObject implements org.omg.CORBA.Object
public LocalObject() {} public LocalObject() {}
/** /**
* <P>Determines whether the two object references are equivalent, * Determines whether the two object references are equivalent,
* so far as the ORB can easily determine. Two object references are equivalent * so far as the ORB can easily determine. Two object references are equivalent
* if they are identical. Two distinct object references which in fact refer to * if they are identical. Two distinct object references which in fact refer to
* the same object are also equivalent. However, ORBs are not required * the same object are also equivalent. However, ORBs are not required

View File

@ -145,15 +145,15 @@ public abstract class CompoundType extends Type {
/** /**
* Return true if this type implements * Return true if this type implements
* isIDLEntity() && isException(). * {@code isIDLEntity() && isException()}.
*/ */
public boolean isIDLEntityException () { public boolean isIDLEntityException () {
return isIDLEntity() && isException(); return isIDLEntity() && isException();
} }
/** /**
* Return true if isIDLEntity() && !isValueBase() * Return true if {@code isIDLEntity() && !isValueBase()
* && !isAbstractBase() && !isCORBAObject() * && !isAbstractBase() && !isCORBAObject()
* && !isIDLEntityException(). * && !isIDLEntityException()}.
*/ */
public boolean isBoxed () { public boolean isBoxed () {
return (isIDLEntity() && !isValueBase() && return (isIDLEntity() && !isValueBase() &&
@ -1984,7 +1984,7 @@ public abstract class CompoundType extends Type {
} }
/** /**
* Return true if this is NOT a constructor && is not * Return true if this is NOT a constructor {@code &&} is not
* an attribute. * an attribute.
*/ */
public boolean isNormalMethod () { public boolean isNormalMethod () {

View File

@ -95,7 +95,7 @@ public class ContextStack {
} }
/** /**
* Return true if env.nerrors > 0. * Return true if {@code env.nerrors > 0}.
*/ */
public boolean anyErrors () { public boolean anyErrors () {
return env.nerrors > 0; return env.nerrors > 0;

View File

@ -91,8 +91,8 @@ public class IDLGenerator extends sun.rmi.rmic.iiop.Generator {
/** /**
* Create and return a top-level type. * Create and return a top-level type.
* @param env The compiler environment.
* @param cdef The top-level class definition. * @param cdef The top-level class definition.
* @param stack The context stack.
* @return An RemoteType or null if is non-conforming. * @return An RemoteType or null if is non-conforming.
*/ */
protected sun.rmi.rmic.iiop.CompoundType getTopType(ClassDefinition cdef, protected sun.rmi.rmic.iiop.CompoundType getTopType(ClassDefinition cdef,
@ -169,7 +169,7 @@ public class IDLGenerator extends sun.rmi.rmic.iiop.Generator {
* Examine and consume command line arguments. * Examine and consume command line arguments.
* @param argv The command line arguments. Ignore null * @param argv The command line arguments. Ignore null
* and unknown arguments. Set each consumed argument to null. * and unknown arguments. Set each consumed argument to null.
* @param error Report any errors using the main.error() methods. * @param main Report any errors using the main.error() methods.
* @return true if no errors, false otherwise. * @return true if no errors, false otherwise.
*/ */
public boolean parseArgs(String argv[], Main main) { public boolean parseArgs(String argv[], Main main) {
@ -403,7 +403,7 @@ public class IDLGenerator extends sun.rmi.rmic.iiop.Generator {
* Write the output for the given OutputFileName into the output stream. * Write the output for the given OutputFileName into the output stream.
* (The IDL mapping for java.lang.Class is generated from * (The IDL mapping for java.lang.Class is generated from
* javax.rmi.CORBA.ClassDesc in the tools workspace) * javax.rmi.CORBA.ClassDesc in the tools workspace)
* @param OutputType ot One of the items returned by getOutputTypesFor(...) * @param ot One of the items returned by getOutputTypesFor(...)
* @param alreadyChecked A set of Types which have already been checked. * @param alreadyChecked A set of Types which have already been checked.
* Intended to be passed to Type.collectMatching(filter,alreadyChecked). * Intended to be passed to Type.collectMatching(filter,alreadyChecked).
* @param p The output stream. * @param p The output stream.
@ -927,7 +927,7 @@ public class IDLGenerator extends sun.rmi.rmic.iiop.Generator {
* Add reference for given type avoiding duplication. * Add reference for given type avoiding duplication.
* Sort into specials, arrays and regular references. * Sort into specials, arrays and regular references.
* Filter out types which are not required. * Filter out types which are not required.
* @param t Given Type * @param ref Given Type
* @param refHash Hashtable for type references * @param refHash Hashtable for type references
* @param spcHash Hashtable for special type references * @param spcHash Hashtable for special type references
* @param arrHash Hashtable for array references * @param arrHash Hashtable for array references
@ -986,7 +986,7 @@ public class IDLGenerator extends sun.rmi.rmic.iiop.Generator {
* Collect and filter thrown exceptions for a given pre-filtered method. * Collect and filter thrown exceptions for a given pre-filtered method.
* Keep only 'checked' exception classes minus java.rmi.RemoteException * Keep only 'checked' exception classes minus java.rmi.RemoteException
* and its subclasses * and its subclasses
* @param method The current method * @param mth The current method
* @param excHash Hashtable containing non-duplicate thrown exceptions * @param excHash Hashtable containing non-duplicate thrown exceptions
*/ */
protected void getExceptions( protected void getExceptions(
@ -1077,7 +1077,7 @@ public class IDLGenerator extends sun.rmi.rmic.iiop.Generator {
* order. * order.
* Non-static, non-transient fields are mapped. * Non-static, non-transient fields are mapped.
* If the type is a custom valuetype, only public fields are mapped. * If the type is a custom valuetype, only public fields are mapped.
* @param ct The current CompoundType * @param t The current CompoundType
* @return Vector containing the data fields * @return Vector containing the data fields
*/ */
protected Vector getData( protected Vector getData(
@ -1163,7 +1163,7 @@ public class IDLGenerator extends sun.rmi.rmic.iiop.Generator {
/** /**
* Write forward reference for boxed valuetype for single dimension of IDL * Write forward reference for boxed valuetype for single dimension of IDL
* sequence. * sequence.
* If the dimension is <1 and the element is a CompoundType, write a * If the dimension is {@literal < 1} and the element is a CompoundType, write a
* forward declare for the element * forward declare for the element
* @param at ArrayType for forward declare * @param at ArrayType for forward declare
* @param dim The dimension to write * @param dim The dimension to write
@ -1276,7 +1276,7 @@ public class IDLGenerator extends sun.rmi.rmic.iiop.Generator {
/** /**
* Write #includes * Write #includes
* @param incHash Hashtable loaded with Types to include * @param inhHash Hashtable loaded with Types to include
* @param p The output stream. * @param p The output stream.
*/ */
protected void writeInheritedIncludes( protected void writeInheritedIncludes(