diff --git a/lucene/queryparser/src/test/org/apache/lucene/queryparser/xml/TestQueryTemplateManager.java b/lucene/queryparser/src/test/org/apache/lucene/queryparser/xml/TestQueryTemplateManager.java index 66d93e5e061..7d4caacb46d 100644 --- a/lucene/queryparser/src/test/org/apache/lucene/queryparser/xml/TestQueryTemplateManager.java +++ b/lucene/queryparser/src/test/org/apache/lucene/queryparser/xml/TestQueryTemplateManager.java @@ -74,11 +74,8 @@ public class TestQueryTemplateManager extends LuceneTestCase { public void testFormTransforms() throws SAXException, IOException, ParserConfigurationException, TransformerException, ParserException { - // Sun 1.5 suffers from http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6240963 - if (Constants.JAVA_VENDOR.startsWith("Sun") && Constants.JAVA_VERSION.startsWith("1.5")) { - String defLang = Locale.getDefault().getLanguage(); - assumeFalse("Sun JRE 1.5 suffers from http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6240963 under Turkish locale", defLang.equals("tr") || defLang.equals("az")); - } + assumeFalse("test temporarily disabled on J9, see https://issues.apache.org/jira/browse/LUCENE-6556", + Constants.JAVA_VENDOR.startsWith("IBM")); //Cache all the query templates we will be referring to. QueryTemplateManager qtm = new QueryTemplateManager(); qtm.addQueryTemplate("albumBooleanQuery", getClass().getResourceAsStream("albumBooleanQuery.xsl"));