FileDocCategorySizeDatePackage
IIOPInputStream_1_3_1.javaAPI DocJava SE 5 API879Fri Aug 26 14:54:28 BST 2005com.sun.corba.se.impl.orbutil

IIOPInputStream_1_3_1.java

/*
 * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */

/*
 * @(#)IIOPInputStream_1_3_1.java	1.5 03/12/19
 */
package com.sun.corba.se.impl.orbutil;

import java.io.*;
import java.util.Hashtable;

/**
 * Implements legacy behavior from Ladybird to maintain
 * backwards compatibility.
 */
public class IIOPInputStream_1_3_1 extends com.sun.corba.se.impl.io.IIOPInputStream
{
    public IIOPInputStream_1_3_1()
    	throws java.io.IOException {
        super();
    }

    /**
     * Before JDK 1.3.1_01, the PutField/GetField implementation
     * actually sent a Hashtable.
     */
    public ObjectInputStream.GetField readFields()
    	throws IOException, ClassNotFoundException, NotActiveException {

	Hashtable fields = (Hashtable)readObject();
	return new LegacyHookGetFields(fields);
    }
}