iiopoutputstream_1_3.java

来自「JAVA 所有包」· Java 代码 · 共 51 行

JAVA
51
字号
/* * @(#)IIOPOutputStream_1_3.java	1.7 05/11/17 * * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */package com.sun.corba.se.impl.orbutil;import java.io.*;/** * Implements legacy behavior from before Ladybird to maintain * backwards compatibility. */public class IIOPOutputStream_1_3 extends com.sun.corba.se.impl.io.IIOPOutputStream{    // We can't assume that the superclass's putFields    // member will be non-private.  We must allow    // the RI to run on JDK 1.3.1 FCS as well as    // the JDK 1.3.1_01 patch.    private ObjectOutputStream.PutField putFields_1_3;    // The newer version in the io package correctly writes a wstring instead.    // This concerns bug 4379597.    protected void internalWriteUTF(org.omg.CORBA.portable.OutputStream stream,                                     String data)    {        stream.write_string(data);    }    public IIOPOutputStream_1_3()	throws java.io.IOException {	super();    }    /**     * Before JDK 1.3.1_01, the PutField/GetField implementation     * actually sent a Hashtable.     */    public ObjectOutputStream.PutField putFields()	throws IOException {	putFields_1_3 = new LegacyHookPutFields();	return putFields_1_3;    }    public void writeFields()	throws IOException {	putFields_1_3.write(this);    }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?