Issue1814
Created on 2011-11-05.18:08:53 by amak, last changed 2015-01-09.03:51:47 by zyasoft.
msg6703 (view) |
Author: Alan Kennedy (amak) |
Date: 2011-11-05.18:08:52 |
|
Under 2.2, a common use case for developers embedding jython was to wrap java objects in PyJavaInstance.
PyJavaInstance was deprecated in jython 2.5, so systems that embedded jython 2.2 and that want to upgrade to to jython 2.5 need an upgrade path.
Here are some examples
red5: http://code.google.com/p/red5/issues/detail?id=86
kepler: https://kepler-project.org/developers/reference/python-and-kepler
freemarker: http://sourceforge.net/tracker/index.php?func=detail&aid=3165425&group_id=794&atid=100794
Rather than let everyone trip over this one, let's document it. Ideally a document on the wiki describing the issue and illustrating a solution, with code that works under both 2.2 and 2.5.
|
msg6709 (view) |
Author: Christopher Brooks (cxbrooks) |
Date: 2011-11-05.22:30:28 |
|
BTW - For Kepler/Ptolemy, I changed calls like:
new PyJavaInstance(attribute)
to
PyJavaType.wrapJavaObject(attribute)
I have no idea if this is correct, but the Ptolemy tests passed.
Adding something to the Jython Wiki would be great.
|
msg9370 (view) |
Author: Jim Baker (zyasoft) |
Date: 2015-01-09.03:51:47 |
|
Anyone can edit the Jython wiki, I will leave this bug open for the time being to remind
|
|
Date |
User |
Action |
Args |
2015-01-09 03:51:47 | zyasoft | set | resolution: remind messages:
+ msg9370 nosy:
+ zyasoft |
2013-02-26 18:11:15 | fwierzbicki | set | nosy:
+ fwierzbicki |
2011-11-05 22:30:28 | cxbrooks | set | nosy:
+ cxbrooks messages:
+ msg6709 components:
+ Documentation |
2011-11-05 18:08:53 | amak | create | |
|