Red Hat Bugzilla – Bug 159095
jar does not recognize the "i" command line option
Last modified: 2007-11-30 17:11:06 EST
jar from java-1.4.2-gcj-compat-devel-188.8.131.52-40jpp_24rh does not recognize the
"i" option, making it incompatible with for example Sun's jar tool.
$ jar i foo.jar
jar: invalid option -- i
Try `jar --help' for more information.
More info about the "i" option and jar indexes:
I think might be a good idea to provide the "i" option in the jar tool included
in gcj-compat-devel even if it would be a no-op, with an appropriate warning
message. That would provide command line compatibility; indexing of jars is an
optional optimization feature not really required by anything, and at best
OK, I'll submit a patch for this to fastjar upstream.
I submitted a patch for this upstream that creates a no-op -i option for
compatibility. I'll close this bug when the fix lands in Rawhide.
Patch accepted and committed to gcc HEAD and 4.1 branches.
This landed in Rawhide with libgcj-4.1.0-1. Closing.