mirror of https://github.com/apache/lucene.git
LUCENE-8991: disable HashMap assertions (by default) on java9 and java1.8 as well
(cherry picked from commit bc0652ecc0
)
This commit is contained in:
parent
611966ec7b
commit
48e19ab4c3
|
@ -136,7 +136,7 @@
|
|||
<property name="tests.policy" location="${common.dir}/tools/junit4/tests.policy"/>
|
||||
|
||||
<condition property="tests.asserts.bug.jdk8205399" value="-da:java.util.HashMap" else="">
|
||||
<!-- LUCENE-8991 / JDK-8205399: HashMap assertion bug in Java 10 and 11-->
|
||||
<!-- LUCENE-8991 / JDK-8205399: HashMap assertion bug until java12-->
|
||||
<and>
|
||||
<or>
|
||||
<contains string="${java.vm.name}" substring="hotspot" casesensitive="false"/>
|
||||
|
@ -144,6 +144,8 @@
|
|||
<contains string="${java.vm.name}" substring="jrockit" casesensitive="false"/>
|
||||
</or>
|
||||
<or>
|
||||
<equals arg1="${java.specification.version}" arg2="1.8"/>
|
||||
<equals arg1="${java.specification.version}" arg2="9"/>
|
||||
<equals arg1="${java.specification.version}" arg2="10"/>
|
||||
<equals arg1="${java.specification.version}" arg2="11"/>
|
||||
</or>
|
||||
|
|
Loading…
Reference in New Issue