oak-solr-core test failures with java 9
Tests disabled under Java 9 because they were already disabled for Java 8 as well.
@@ -244,6 +244,7 @@ public class SolrIndexIT extends AbstractQueryTest {
public void testNativeMLTQuery() throws Exception {
// TODO: OAK-1819
assumeTrue(!System.getProperty("java.version").startsWith("1.8"));
+ assumeTrue(!System.getProperty("java.version").startsWith("9"));
String nativeQueryString = "select [jcr:path] from [nt:base] where native('solr', 'mlt?q=text:World&mlt.fl=text&mlt.mindf=0&mlt.mintf=0')";
@@ -266,6 +267,7 @@ public class SolrIndexIT extends AbstractQueryTest {
public void testNativeMLTQueryWithStream() throws Exception {
// TODO: OAK-1819
assumeTrue(!System.getProperty("java.version").startsWith("1.8"));
+ assumeTrue(!System.getProperty("java.version").startsWith("9"));
String nativeQueryString = "select [jcr:path] from [nt:base] where native('solr', 'mlt?stream.body=world is nice today&mlt.fl=text&mlt.mindf=0&mlt.mintf=0')";
