Message13180

Author pekka.klarck
Recipients pekka.klarck
Date 2021-09-29.15:09:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1632928192.97.0.197537774826.issue2924@roundup.psfhosted.org>
In-reply-to
Content
When trying to extend jython-standalone-2.7.2.jar using the `jar` command I get this error:

    jar: Package org.objectweb.asm.signature missing from ModulePackages class file attribute

It seems that the problem is caused by module-info.class file at the root of the jython-standalone-2.7.2.jar. It doesn't exist in jython-standalone-2.7.1.jar and with it I get no problems. Removing the file also fixes the problem with 2.7.2.

This seems to be dependent on Java version, environment or something similar. I'm not the only one in our project who has encountered this problem, but there are also others who aren't affected. For more details about our exact case see:
https://github.com/robotframework/robotframework/issues/3780

It's easy for us to remove the problematic module-info.class file when building our jar package. I hope someone from the Jython project could comment is doing that safe.
History
Date User Action Args
2021-09-29 15:09:53pekka.klarcksetrecipients: + pekka.klarck
2021-09-29 15:09:52pekka.klarcksetmessageid: <1632928192.97.0.197537774826.issue2924@roundup.psfhosted.org>
2021-09-29 15:09:52pekka.klarcklinkissue2924 messages
2021-09-29 15:09:52pekka.klarckcreate