Imported GNU Classpath 0.19 + gcj-import-20051115.
* sources.am: Regenerated.
* Makefile.in: Likewise.
* scripts/makemake.tcl: Use glob -nocomplain.
From-SVN: r107049
This commit is contained in:
@@ -79,6 +79,25 @@ public abstract class DynAnyHelper
|
||||
throw new BAD_PARAM(obj.getClass().getName() + " is not a DynAny");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Narrow the given object to the DynAny. For the objects that are
|
||||
* always local, this operation does not differ from the ordinary
|
||||
* {@link #narrow} (ClassCastException will be thrown if narrowing something
|
||||
* different).
|
||||
*
|
||||
* @param obj the object to cast.
|
||||
*
|
||||
* @return the casted DynAny.
|
||||
*
|
||||
* @since 1.5
|
||||
*
|
||||
* @see OMG issue 4158.
|
||||
*/
|
||||
public static DynAny unchecked_narrow(org.omg.CORBA.Object obj)
|
||||
{
|
||||
return narrow(obj);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the type code of the {@link DynAny}.
|
||||
|
||||
Reference in New Issue
Block a user