FULL PRODUCT VERSION :
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Darwin matanzas.local 13.3.0 Darwin Kernel Version 13.3.0: Tue Jun 3 21:27:35 PDT 2014; root:xnu-2422.110.17~1/RELEASE_X86_64 x86_64
A DESCRIPTION OF THE PROBLEM :
I am working on the 'Pants' build tool project. We see an issue with java -jar failing on jar files with >64k entries in them. This is fixed in Java 8 and the backport has been requested before. Now that Java 8 is released, I was hoping you would re-consider the backport.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
create a .jar file that is executable with 'java -jar' but make sure it has > 64k files in it.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Expected it to run.
ACTUAL -
It didn't run...
ERROR MESSAGES/STACK TRACES THAT OCCUR :
Error: Invalid or corrupt jarfile root-bundle-jar.jar
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
The original bug lists a workaround. We don't want to change our SOP for every launch of a binary just to get around this issue that happens with some large Scala projects with lots of generated classes.