Please review JDK-8034055: delete on global object not properly guarded: http://cr.openjdk.java.net/~hannesw/8034055/ This only adds a test case as the bug was fixed in my previous commit (JDK-8021350: Share script classes between threads/globals within context). Thanks, Hannes