javax.sql.rowset.serial.SQLOutputImpl.writeXXXStram unimplemented

XMLWordPrintable

    • beta
    • sparc
    • solaris_2.6



      Name: sdR10048 Date: 09/02/2003


      Filed By : SPB JCK team (###@###.###)
      JDK : java full version "1.5.0-beta-b16"
      JCK : 1.5
      Platform[s] : Solaris
      switch/Mode :
      JCK test owner : http://javaweb.eng/jct/sqe/JCK-tck/usr/owners.jto
      Failing Test [s] :
      api/javax_sql/rowset/serial/SQLOutputImpl/index.html#Write[SQLOutputImpl0002]
      api/javax_sql/rowset/serial/SQLOutputImpl/index.html#Write[SQLOutputImpl0004]
      api/javax_sql/rowset/serial/SQLOutputImpl/index.html#Write[SQLOutputImpl2002]



      Problem description
      ===================
      javax.sql.rowset.serial.SQLOutputImpl.writeAsciiStream
      javax.sql.rowset.serial.SQLOutputImpl.writeBinaryStream
      javax.sql.rowset.serial.SQLOutputImpl.writeCharacterStream
      do not work. They are unimplemented.
          
      Minimized test:
      ===============
      ------- T.java -------
      import javax.sql.rowset.*;
      import javax.sql.rowset.serial.*;
      import java.sql.*;
      import java.util.*;
      import java.io.*;

      public class T {

          public static void main(String[] args) {
              byte[] bytes = {1};
              ByteArrayInputStream object = new ByteArrayInputStream(bytes);
              Vector vector = new Vector();
              SQLOutputImpl sql_output = new SQLOutputImpl(vector, null);
              try {
                  sql_output.writeAsciiStream(object);
                  System.out.println("vector.size(): "+vector.size());
              } catch (Exception e) {
                  e.printStackTrace();
              }
          }
      }
      ------- end-of-T.java -------

      Minimized test output:
      ======================
      vector.size(): 0

      ======================================================================

            Assignee:
            Amit Handa (Inactive)
            Reporter:
            Dsv Dsv (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: