/[classpath]/classpath/gnu/CORBA/gnuAny.java
ViewVC logotype

Diff of /classpath/gnu/CORBA/gnuAny.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by audriusa, Wed Sep 14 21:12:21 2005 UTC revision 1.8 by audriusa, Sun Oct 2 19:58:00 2005 UTC
# Line 789  public class gnuAny Line 789  public class gnuAny
789              // reading the value, not the value header.              // reading the value, not the value header.
790              Field vField = has.getClass().getField("value");              Field vField = has.getClass().getField("value");
791    
792              BoxedValueHelper helper;              Object content = Vio.read(input, a_type.id());
   
             try  
               {  
                 Class helperClass =  
                   Class.forName(ObjectCreator.toHelperName(a_type.id()));  
                 helper = (BoxedValueHelper) helperClass.newInstance();  
               }  
             catch (Exception ex)  
               {  
                 helper = null;  
               }  
   
             Object content = Vio.read(input, helper);  
793              vField.set(has, content);              vField.set(has, content);
794            }            }
795          else          else

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26