java/5552: jar fails to include class files in subdirectories

bero@redhat.de bero@redhat.de
Thu Jan 31 03:06:00 GMT 2002


>Number:         5552
>Category:       java
>Synopsis:       jar fails to include class files in subdirectories
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 31 03:06:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     bero@redhat.de
>Release:        CVS HEAD 2002/01/30
>Organization:
>Environment:
Red Hat Linux post-7.2
>Description:
This can be noticed for example while building the Qt Java bindings:

Using the command:
jar cvf qtjava.jar org/kde/qt/*.class

gcj's jar creates an empty manifest and packages it in an otherwise empty jar file.

I'd expect the class files to be included both in the jar file and the manifest, the way the non-free JDKs do.
>How-To-Repeat:
mkdir foo
mv foo.class foo
jar cvf foo.jar foo/*.class
>Fix:
None yet
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Java-prs mailing list