[
https://issues.apache.org/jira/browse/LUCENE-8991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chris M. Hostetter reopened LUCENE-8991:
----------------------------------------
This just popped up again in thetaphi_Lucene-Solr-8.x-Linux_1352.log.txt, using
1.8.0_201 which doesn't jive w/my original understanding of the issue...
But going back down the rabbit hole of JDK-8205399 (where the assertion failure
is discussed/fixed) I see now that even though that issue says the problem
started in java10, looking at the linked issue JDK-8186171 (where the change
was made that actually caused the assertion to start failing) i see it has
other linked issues indicating that the (broken) change was actually backported
to "9u-open" and "8u201"
So i'm going to revisit this change and fix common-build.xml to check for any
java less then 12.
> disable java.util.HashMap assertions to avoid spurious vailures due to
> JDK-8205399
> ----------------------------------------------------------------------------------
>
> Key: LUCENE-8991
> URL: https://issues.apache.org/jira/browse/LUCENE-8991
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Chris M. Hostetter
> Assignee: Chris M. Hostetter
> Priority: Major
> Labels: Java10, Java11
> Fix For: master (9.0), 8.3
>
> Attachments: LUCENE-8991.patch, LUCENE-8991.patch
>
>
> An incredibly common class of jenkins failure (at least in Solr tests) stems
> from triggering assertion failures in java.util.HashMap -- evidently
> triggering bug JDK-8205399, first introduced in java-10, and fixed in
> java-12, but has never been backported to any java-10 or java-11 bug fix
> release...
> https://bugs.openjdk.java.net/browse/JDK-8205399
> SOLR-13653 tracks how this bug can affect Solr users, but I think it would
> make sense to disable java.util.HashMap in our build system to reduce the
> confusing failures when users/jenkins runs tests, since there is nothing we
> can do to work around this when testing with java-11 (or java-10 on branch_8x)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]