Put javac on the bootclasspath for tests
diff --git a/pom.xml b/pom.xml
index 656e9e6..5565d38 100644
--- a/pom.xml
+++ b/pom.xml
@@ -249,6 +249,16 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.18</version>
+ <configuration>
+ <!-- set heap size to work around http://github.com/travis-ci/travis-ci/issues/3396 -->
+ <!-- put javac.jar on bootclasspath when executing tests -->
+ <argLine>-Xmx1024m -Xbootclasspath/p:${settings.localRepository}/com/google/errorprone/javac/1.9.0-dev-r2973-2/javac-1.9.0-dev-r2973-2.jar</argLine>
+ </configuration>
+ </plugin>
</plugins>
</build>