From: Martin G. <re...@bu...> - 2019-11-20 12:56:05
|
New submission from Martin Ginkel <mar...@we...>: 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. ---------- components: Core messages: 12780 nosy: FraOrolo severity: critical status: open title: import of Java classes is not threadsafe, probably because of PyJavaType type: crash versions: Jython 2.7.2 _______________________________________ Jython tracker <re...@bu...> <https://bugs.jython.org/issue2834> _______________________________________ |