Hi,
I want to do a task in a separate thread in java where the task is completely isolated from the outside world and there is no way for it to access the outside world variables. How to enforce this restriction practically as the task is written by anyone and I am providing a wrapper around a task to prevent it from accessing outside world.
Is it something that can be done in java?
thanks,
samit

