Temporarily vendor jsr292-mock to allow building on Java 6.