There is a problem in BSF4ooRexx where it can return references to wrong (older) instances of java objects.
When this happens, this will gradually happen increasingly more frequently. It seems to be a problem in the registry of java objects.
I have attached a small self-contained example that demonstrates the issue.
In the example, we read values from java objects and report it when the value is not what we expect.
I've encountered this in version 410.20120618, which is the current release at this time.
I'm not aware of a real solution, although it is possible to minimize the chances of this happening in most cases by a significant amount (as commented in the example).
Log in to post a comment.