FileDocCategorySizeDatePackage
ValueHandlerImpl_1_3_1.javaAPI DocJava SE 5 API1825Fri Aug 26 14:54:30 BST 2005com.sun.corba.se.impl.orbutil

ValueHandlerImpl_1_3_1

public class ValueHandlerImpl_1_3_1 extends com.sun.corba.se.impl.io.ValueHandlerImpl
This class overrides behavior of our current ValueHandlerImpl to provide backwards compatibility with JDK 1.3.1.

Fields Summary
Constructors Summary
public ValueHandlerImpl_1_3_1()

public ValueHandlerImpl_1_3_1(boolean isInputStream)

	super(isInputStream);
    
Methods Summary
protected final java.lang.StringgetInputStreamClassName()
Installs the legacy IIOPInputStream_1_3_1 which does PutFields/GetFields incorrectly. Bug 4407244.

        return "com.sun.corba.se.impl.orbutil.IIOPInputStream_1_3_1";
    
protected org.omg.CORBA.TCKindgetJavaCharTCKind()
Our JDK 1.3 and JDK 1.3.1 behavior subclasses override this. The correct behavior is for a Java char to map to a CORBA wchar, but our older code mapped it to a CORBA char.

        return TCKind.tk_char;
    
protected final java.lang.StringgetOutputStreamClassName()
Installs the legacy IIOPOutputStream_1_3_1 which does PutFields/GetFields incorrectly. Bug 4407244.

        return "com.sun.corba.se.impl.orbutil.IIOPOutputStream_1_3_1";
    
public booleanuseFullValueDescription(java.lang.Class clazz, java.lang.String repositoryID)
RepositoryId_1_3_1 performs an incorrect repId calculation when using serialPersistentFields and one of the fields no longer exists on the class itself.

        
        return RepositoryId_1_3_1.useFullValueDescription(clazz, repositoryID);