[
https://issues.jboss.org/browse/SHRINKWRAP-276?page=com.atlassian.jira.pl...
]
Andrew Rubinger commented on SHRINKWRAP-276:
--------------------------------------------
Jesper:
And what code is throwing the exception? I can roundtrip export/import just fine, but I
*am* seeing that Archive Manager in Linux is having problems seeing any contents.
"jar -tvf" on an exported file works as well.
Invalid byte stream for ZipExporter
-----------------------------------
Key: SHRINKWRAP-276
URL:
https://issues.jboss.org/browse/SHRINKWRAP-276
Project: ShrinkWrap
Issue Type: Bug
Components: api
Affects Versions: 1.0.0-alpha-13
Reporter: Jesper Pedersen
Attachments: as_constructor_wrong.rar, ra.xml, TestActivationSpec.java,
TestManagedConnection.java, TestResourceAdapterRight.java, TestResourceAdapterWrong.java
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.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira