From 7af25985e802eafec2307307e1703f9191b49b9f Mon Sep 17 00:00:00 2001
From: Mike Ovsiannikov <movsiannikov@quantcast.com>
Date: Thu, 1 Nov 2018 17:50:30 -0700
Subject: [PATCH] Java build: work around new oracle SDK problem by setting use
 system class loader property for sure fire plugin.

---
 src/java/pom.xml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/java/pom.xml b/src/java/pom.xml
index ca4a7f4e..ae28ff72 100644
--- a/src/java/pom.xml
+++ b/src/java/pom.xml
@@ -42,6 +42,14 @@ permissions and limitations under the License.
         <artifactId>maven-compiler-plugin</artifactId>
         <version>2.3</version>
       </plugin>
+    <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <version>2.22.1</version>
+        <configuration>
+            <useSystemClassLoader>false</useSystemClassLoader>
+        </configuration>
+    </plugin>
     </plugins>
   </build>
 

Patch from upstream correcting the Maven surefire break from newer Java SDK
BIGTOP-3107: Patch from upstream correcting the Maven surefire break from newer Java SDK
