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:
@@ -38,6 +38,7 @@ exception statement from your version. */
|
||||
|
||||
package gnu.CORBA.DynAn;
|
||||
|
||||
import gnu.CORBA.Minor;
|
||||
import gnu.CORBA.Unexpected;
|
||||
|
||||
import org.omg.CORBA.Any;
|
||||
@@ -66,7 +67,7 @@ import java.io.Serializable;
|
||||
*
|
||||
* @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org)
|
||||
*/
|
||||
public class gnuDynValue extends abstractRecord implements DynValue,
|
||||
public class gnuDynValue extends RecordAny implements DynValue,
|
||||
Serializable
|
||||
{
|
||||
/**
|
||||
@@ -243,7 +244,7 @@ public class gnuDynValue extends abstractRecord implements DynValue,
|
||||
/**
|
||||
* Create a new instance.
|
||||
*/
|
||||
protected abstractRecord newInstance(TypeCode oType, TypeCode aType,
|
||||
protected RecordAny newInstance(TypeCode oType, TypeCode aType,
|
||||
gnuDynAnyFactory aFactory, ORB anOrb
|
||||
)
|
||||
{
|
||||
@@ -301,9 +302,12 @@ public class gnuDynValue extends abstractRecord implements DynValue,
|
||||
ValueFactory factory =
|
||||
((org.omg.CORBA_2_3.ORB) orb).lookup_value_factory(official_type.id());
|
||||
if (factory == null)
|
||||
throw new MARSHAL("Factory for " + official_type.id() +
|
||||
" not registered."
|
||||
);
|
||||
{
|
||||
MARSHAL m = new MARSHAL("Factory for " + official_type.id() +
|
||||
" not registered.");
|
||||
m.minor = Minor.Factory;
|
||||
throw m;
|
||||
}
|
||||
|
||||
OutputStream out = orb.create_output_stream();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user