Issue1630

classification
Title: threading.Thread lacks __tojava__ method
Type: Severity: normal
Components: Versions: 2.5.1
Milestone:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: zyasoft Nosy List: zyasoft
Priority: normal Keywords:

Created on 2010-07-09.14:45:05 by zyasoft, last changed 2010-07-14.05:12:43 by zyasoft.

Messages
msg5884 (view) Author: Jim Baker (zyasoft) Date: 2010-07-09.14:45:04
Current workaround documented in the Jython book, should simply be added to threading.Thread

@monkeypatch_method_if_not_set(Thread)
def __tojava__(self, java_type):
    return self._thread

http://jythonpodcast.hostjava.net/jythonbook/en/1.0/Concurrency.html#interruption
msg5892 (view) Author: Jim Baker (zyasoft) Date: 2010-07-14.05:12:42
Fixed by r7078
History
Date User Action Args
2010-07-14 05:12:43zyasoftsetstatus: open -> closed
resolution: fixed
messages: + msg5892
2010-07-09 14:45:05zyasoftcreate