Hi, the HashSet used for the script engine factories caused the random behaviour. Bug: https://bugs.openjdk.java.net/browse/JDK-8011697 Webrev: http://cr.openjdk.java.net/~arieber/8011697/webrev.00/ Please review and sponsor required... thanks Andreas