opeongo

Results 117 comments of opeongo

The following compiles and runs successfully under Java but now throws a parse error with BeanShell: ```java public class ParseYieldTest { public void yield() { } public static void main(String[]...

I feel a little bit uneasy about the new operators (null coalescing, elvis, compare, etc). For some people these might be nice to have, but it seems like we are...

There is a significant memory leak of BlockNameSpace objects in the ReferenceCache. [Have a look here](https://github.com/beanshell/beanshell/commit/32e8be51001be388743dac45376a699c9549c41a#r91461392) for a simple fix for this.

I have been noticing some problems lately and I suspect the my problems are related to this namespace issue. Check out #655

Oops, I misstated the problem. I should have said that there is a significant leak of Reference objects in the ReferenceCache. The BlockNameSpace object are being cleared by the GC...

> No longer applicable/viable for bsh 3.x Not that I have a use myself for servlets, but just wondering why they are longer considered viable?

I see that this is still an issue. The problem is a bit contrived because removing the extraneous set of parentheses around the argument in the call of the `newFromMap`...

btw all of the above examples work with my PR #671 I have added these lines to the tests

Yes, sorry. I don't usually do github project development and i just forgot to clean up the loose ends.

Would be nice to project some day to do a heap dump and look for orphaned objects.