[Bug java/17733] class read for the second time

aph at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Sep 30 16:09:00 GMT 2004


------- Additional Comments From aph at gcc dot gnu dot org  2004-09-30 16:09 -------
OK, I found the problem.  The jarfile is very oddly constructed.  It looks like
this:

META-INF/MANIFEST.MF
./de/lohndirekt/print/attribute/cups/PrinterType.class
./de/lohndirekt/print/attribute/cups/JobQuotaPeriod.class
./de/lohndirekt/print/attribute/cups/JobPageLimit.class
./de/lohndirekt/print/attribute/cups/JobKLimit.class
./de/lohndirekt/print/attribute/cups/DeviceUri.class
...

instead of:

META-INF/
META-INF/MANIFEST.MF
de/
de/lohndirekt/
de/lohndirekt/print/
de/lohndirekt/print/attribute/
de/lohndirekt/print/attribute/cups/
de/lohndirekt/print/attribute/cups/PrinterType.class
de/lohndirekt/print/attribute/cups/JobQuotaPeriod.class
de/lohndirekt/print/attribute/cups/JobPageLimit.class
...

which is why we never saw this problem before.  We need to strip off the "./" at
the start of each name.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17733



More information about the Gcc-bugs mailing list