lw-lin / jarjar

Automatically exported from code.google.com/p/jarjar
0 stars 0 forks source link

JarJar produces corrupt files #16

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Check out Google Guice
2. Invoke "ant clean.all dist"
3. guice-snapshot.jar as generated by JarJar will have many files packed as
0 bytes.
4. This issue is reproducible 100% of the time.

What is the expected output? What do you see instead?
I expect to see the same output as running "jar" but instead I see 0-byte
files.

What version of the product are you using? On what operating system?
1.0rc7 under Windows Vista 64-bit.

Please provide any additional information below.
I am using Ant 1.7.1 under JDK 1.6.0_10-rc-b27

Original issue reported on code.google.com by gili.tza...@gmail.com on 14 Jul 2008 at 6:49

GoogleCodeExporter commented 8 years ago
To clarify, JarJar is being given perfectly valid class files to pack. It 
(somehow)
ends up packing them as 0-byte files which causes the subsequent Google Guice 
build
to fail. I assume this has something to do with my JDK or Ant version because 
other
people have not reported the same problem. That being said, I consider this to 
be a
fairly major bug because we're talking about silent data loss.

Original comment by gili.tza...@gmail.com on 14 Jul 2008 at 6:51

GoogleCodeExporter commented 8 years ago
This bug only seems to occur on Java6 (Java5 works fine). Still, Java5 is EOLed 
(End
of Life) so many users are likely to run into this bug.

Original comment by gili.tza...@gmail.com on 14 Jul 2008 at 8:34

GoogleCodeExporter commented 8 years ago
Fixed in SVN head.

Original comment by chris.no...@gmail.com on 30 Aug 2008 at 5:25