Message12804

Author zyasoft
Recipients FraOrolo, jeff.allen, zyasoft
Date 2019-11-26.16:55:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1574787350.59.0.0276835367334.issue2834@roundup.psfhosted.org>
In-reply-to
Content
It is surprising given that

1) This support in PyType/PyJavaType was rewritten in 2.7.2 (after being also rewritten in 2.7.1) to better support multithreading by safely publishing the proxy type to Java in its mapping, including inner classes. See https://bugs.jython.org/issue2609

2) imports in general should always sequence behind the module import lock (but that lock is per sys/PySystemState, so if the scripts are being run in separate PySystemState objects, we can discount).

@FraOrolo, could you submit a test script showing this behavior?

Having said that, importing methods from a class like `from x.y.z.AJavaClass import *` could very well be undertested, since that's not so common at least for me (!) vs dispatching from the object (unless we are talking about only static methods). Again, a test script would be very helpful.
History
Date User Action Args
2019-11-26 16:55:50zyasoftsetmessageid: <1574787350.59.0.0276835367334.issue2834@roundup.psfhosted.org>
2019-11-26 16:55:50zyasoftsetrecipients: + zyasoft, jeff.allen, FraOrolo
2019-11-26 16:55:50zyasoftlinkissue2834 messages
2019-11-26 16:55:50zyasoftcreate