Hi, i have a one line fix for this bug but i also have a patch to make jconsole-plugin demo working with Nashorn. The problems there are similar to scriptpad (sync function, array handling and the new JSAdapter __call__). Do you want two separate patches or is one OK? cheers Andreas