Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6382189

REGRESSION:JPEGMultithread.java is passing with 1.5.0_06-b05 but failing with 1.5.0_07-b01

    Details

    • Subcomponent:
      2d
    • Introduced In Build:
      b01
    • Introduced In Version:
    • CPU:
      generic
    • OS:
      generic

      Description

      Testcase from regression workspace, JPEGMultithread.java is passing with 1.5.0_06-b05 and failing with 1.5.0_07-b01 on all platforms.

      Testcase Location:
      ==================
      /net/urts071.india/export6/testSuites/Regression/workspace_150/test/com/sun/image/codec/jpeg/JPEGMultithread.java

      JDK:
      ====
      java version "1.5.0_07-ea"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-ea-b01)
      Java HotSpot(TM) Client VM (build 1.5.0_07-ea-b01, mixed mode, sharing)

      Steps to reproduce:
      ===================
      1. Install JDK in test machine.
      2. copy attached JPEGMultithread.java file into test machine.
      3. Compile .java files with tested JDK with following command:
         <jdk location>/bin/javac JPEGMultithread.java
      4. Start the test with the following command:
         <jdk location>java JPEGMultithread

      Output for 1.5.0_07-b01:
      =====================
      Spawning new thread
      Reader 0 done
      Spawning new thread
      Reader 1 done
      Exception in thread "WriterThread0" com.sun.image.codec.jpeg.ImageFormatException: JPEG lib error
              at sun.awt.image.codec.JPEGImageEncoderImpl.writeJPEGStream(Native Method)
              at sun.awt.image.codec.JPEGImageEncoderImpl.encode(JPEGImageEncoderImpl.java:472)
              at sun.awt.image.codec.JPEGImageEncoderImpl.encode(JPEGImageEncoderImpl.java:228)
              at sun.awt.image.codec.JPEGImageEncoderImpl.encode(JPEGImageEncoderImpl.java:235)
              at WriterThread.run(JPEGMultithread.java:88)
              at java.lang.Thread.run(Thread.java:595)


      Output for 1.5.0_06-b05:
      =====================

      Spawning new thread
      Reader 0 done
      Spawning new thread
      Reader 1 done
      Writer 0 done

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ssubhanisunw Shaik Subhani (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: