"jar -tvf" Command Is Issuing Improper Information (Doc ID 1459664.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Java Platform, Standard Edition - Version 6 to 7 [Release 6 to 7]
Information in this document applies to any platform.

Symptoms

 

The issue reported was that running 'jar -tvf' on a given jar shows the entry for certain members more than once i.e. duplicate entries.

For example:

 

 

 

This happened with random jar files belonging to different teams (e.g. WebLogic, Fusion BI).  The only difference seen was the timestamp of the files.

After a lot of different theories and internal discussions, it was determined that the issue was with ant jarring.

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms