Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 159095 - jar does not recognize the "i" command line option
jar does not recognize the "i" command line option
Product: Fedora
Classification: Fedora
Component: java-1.4.2-gcj-compat (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Thomas Fitzsimmons
: FutureFeature
Depends On:
Blocks: FC4Update
  Show dependency treegraph
Reported: 2005-05-29 06:24 EDT by Ville Skyttä
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-03-01 21:11:55 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Ville Skyttä 2005-05-29 06:24:51 EDT
jar from java-1.4.2-gcj-compat-devel- 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
rarely used.
Comment 1 Thomas Fitzsimmons 2005-05-29 13:17:27 EDT
OK, I'll submit a patch for this to fastjar upstream.
Comment 2 Thomas Fitzsimmons 2006-02-07 11:22:58 EST
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.
Comment 3 Thomas Fitzsimmons 2006-02-08 00:53:02 EST
Patch accepted and committed to gcc HEAD and 4.1 branches.
Comment 4 Thomas Fitzsimmons 2006-03-01 21:11:55 EST
This landed in Rawhide with libgcj-4.1.0-1.  Closing.

Note You need to log in before you can comment on or make changes to this bug.