Re: [jexl] JEXL Secure Sandbox

2011-07-13 Thread henrib
Hi Sarel, On point 4/, I've created JEXL-115 and just committed some code/tests in the trunk. I hope this will allow you to avoid having to derive JexlArithmetic or Interpreter. On point 3/, I agree that full access to the system can only be controlled by a security policy. In "closed" environment

Re: [jexl] JEXL Secure Sandbox

2011-07-13 Thread Sarel Botha
Hi, Henrib, I think for the most part it should be kept simple and work out of the box with the restrictions from my first e-mail. This should be what most people want. Then allow some simple variations as you've described so that they can customize this sandboxed version. If they want to do

Re: [jexl] JEXL Secure Sandbox

2011-07-13 Thread henrib
Hi again, On the time constraint issue and playing with it, I now understand why you went the proper Callable/Future route (not some lousy external timing solution...). A few functions in the interpreter only need to check the interrupted/cancelled status (calling methods and ctors, accessing/setti

Re: [math] Polygon intersection vertices outside original polygon

2011-07-13 Thread Luc Maisonobe
Hi Curtis, Le 05/07/2011 22:23, luc.maison...@free.fr a écrit : - "Curtis Jensen" a écrit : On Mon, Jul 4, 2011 at 2:00 PM, Curtis Jensen wrote: I'm using the RegonFactory.intersection method to get the intersection of polygons. However, I'm getting points that are outside of one of