This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]