Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-862

resteasy-jaxrs - TestIIOImageProvider.testPostJPEGIMage() fails on OpenJDKs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 2.3.5.Final
    • jaxrs
    • None

      In resteasy-jaxrs the test org.jboss.resteasy.test.providers.iioimage.TestIIOImageProvider.testPostJPEGIMage() test fails on machines with OpenJDK (both 1.6.0 and 1.7.0) installed.
      Assertion at the end the test fails as array of bytes returned from server is different (both in size and values) from that obtained directly from test data.

      Note:
      Issue was already addressed in the past as this assert also failed on Oracle (Sun) JDK 6 and was resolved for Oracle JDKs in 10/28/11 (read in comments after test)

              weli@redhat.com Weinan Li
              agalad Andrej Galád (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: