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

Invalid byte stream for ZipExporter

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: