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]

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


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


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