Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0M15
    • Component/s: None
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      Implement those methods:
      1 - ImageOutputStreamImpl.writeBit(int bit)
      2 - ImageOutputStreamImpl.writeBits(writeBits(long bits, int numBits)
      3 - ImageOutputStreamImpl.flushBits()
      They are kind of related, so I put the implementations for those methods in one patch.

      Spec - http://download.oracle.com/docs/cd/E17476_01/javase/1.5.0/docs/api/javax/imageio/stream/ImageOutputStreamImpl.html#writeBit(int)

      I have also modified the existing test case for a bit in order to perform the test. The code of ImageOutputStreamImplTest.BasicImageOutputStreamImpl.read() is copied from ImageInputStreamImplTest.BasicImageInputStreamImpl.read().

        Activity

        Hide
        Lang Yang added a comment -

        Verified. Thanks

        Show
        Lang Yang added a comment - Verified. Thanks
        Hide
        Hudson added a comment -

        Integrated in Harmony-select-1.5-head-linux-x86_64 #61 (See http://hudson.zones.apache.org/hudson/job/Harmony-select-1.5-head-linux-x86_64/61/)
        Apply patch for HARMONY-6578 (Implement missing functionalities in ImageOutputStreamImpl class)

        Show
        Hudson added a comment - Integrated in Harmony-select-1.5-head-linux-x86_64 #61 (See http://hudson.zones.apache.org/hudson/job/Harmony-select-1.5-head-linux-x86_64/61/ ) Apply patch for HARMONY-6578 (Implement missing functionalities in ImageOutputStreamImpl class)
        Hide
        Hudson added a comment -

        Integrated in Harmony-1.5-head-linux-x86_64 #888 (See http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/888/)
        Apply patch for HARMONY-6578 (Implement missing functionalities in ImageOutputStreamImpl class)

        Show
        Hudson added a comment - Integrated in Harmony-1.5-head-linux-x86_64 #888 (See http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/888/ ) Apply patch for HARMONY-6578 (Implement missing functionalities in ImageOutputStreamImpl class)
        Hide
        Tim Ellison added a comment -

        Thanks Lang.

        Patch applied to imageio module at repo revision r963698.

        Please verify it was applied as you expected.

        Show
        Tim Ellison added a comment - Thanks Lang. Patch applied to imageio module at repo revision r963698. Please verify it was applied as you expected.

          People

          • Assignee:
            Tim Ellison
            Reporter:
            Lang Yang
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development