Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On 02/15/2012 04:31 PM, Ivan Timofeev wrote:
I found soltools/javadep/javadep.c that contains a very simple parser
for java class files. The problem is that it is old, at least it does
not handle the class files generated by Java 7: as far as I remember,
java guys added the new types of constant pool entries, but...

javadep.c:520:

/* Unknown Constant_pool entry, this means we are
* in trouble
*/
err_quit("corrupted class file\n");

My question: is javadep.c a useful tool? If yes, I could update it.
Because the class file format is one of the few areas where I have some
experience. :) (However, I didn't yet look at the new specs closely.)

Apparently only remaining use is in the old build system (see solenv/inc/rules.mk, where it is called STARDEP). So I would not bother to invest any time in it -- as long as its shortcomings do not actually cause problems (which I don't quite get from your explanation?).

And if it does cause problems, another fix might be to hurry up with the move of Java-based modules to gbuild instead. ;)

Stephan

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.