Uploaded image for project: 'ShrinkWrap'
  1. ShrinkWrap
  2. SHRINKWRAP-276

Invalid byte stream for ZipExporter

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0-beta-1
    • 1.0.0-alpha-13
    • api
    • None

      Alpha13 generates an incorrect byte stream for a ResourceAdapterArchive; the resulting archive gives:

      java.util.zip.ZipException: error in opening zip file
      at java.util.zip.ZipFile.open(Native Method)
      at java.util.zip.ZipFile.<init>(ZipFile.java:114)
      at java.util.zip.ZipFile.<init>(ZipFile.java:75)
      at sun.tools.jar.Main.list(Main.java:979)
      at sun.tools.jar.Main.run(Main.java:224)
      at sun.tools.jar.Main.main(Main.java:1149)

      Alpha12 works as expected.

        1. TestResourceAdapterWrong.java
          1 kB
        2. TestResourceAdapterRight.java
          2 kB
        3. TestManagedConnection.java
          1 kB
        4. TestActivationSpec.java
          1 kB
        5. ra.xml
          2 kB
        6. as_constructor_wrong.rar
          2 kB

              arubinge@redhat.com Andrew Rubinger (Inactive)
              jpederse@redhat.com Jesper Pedersen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: