if (!val._OB_type().equivalent(type_))
throw new org.omg.DynamicAny.DynAnyPackage.TypeMismatch();
org.omg.CORBA.portable.InputStream in = null;
try {
in = val.create_input_stream();
} catch (NullPointerException e) {
throw new org.omg.DynamicAny.DynAnyPackage.InvalidValue();
}
_OB_unmarshal((InputStream) in);