Jython

Message12780

Author FraOrolo
Recipients FraOrolo
Date 2019年11月20日.12:55:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1574254550.03.0.600040986397.issue2834@roundup.psfhosted.org>
In-reply-to
Content
We have short Jython scripts executed on multiple threads embedded in Java. Some of these import all methods from a Java class:
from x.y.z.AJavaClass import *
in multi-threaded executions this often fails because the PyJavaType for the class is still built on one Thread, while some other thread already accesses the PyJavaType and does not find necessary methods.
This is a regression from Jython 2.7.1, the scripts worked reliably on the old system.
History
Date User Action Args
2019年11月20日 12:55:50FraOrolosetrecipients: + FraOrolo
2019年11月20日 12:55:50FraOrolosetmessageid: <1574254550.03.0.600040986397.issue2834@roundup.psfhosted.org>
2019年11月20日 12:55:49FraOrololinkissue2834 messages
2019年11月20日 12:55:49FraOrolocreate

Supported by Python Software Foundation,
Powered by Roundup

AltStyle によって変換されたページ (->オリジナル) /