Please review JDK-8041998: RegExp implementation is not thread-safe http://cr.openjdk.java.net/~hannesw/8041998/ This avoids reusing matchers to make regular expressions work with concurrent threads. Thanks, Hannes