Project

Profile

Help

Bug #4218

closed

Multithreading crash - ConcurrentModificationException evaluating subtyping relationship

Added by Michael Kay over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Multithreading
Sprint/Milestone:
-
Start date:
2019-05-10
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
9.9, trunk
Fix Committed on Branch:
9.9, trunk
Fixed in Maintenance Release:
Platforms:

Description

See bug #4216. During investigation of this a multithreading problem was found. During type checking of a general comparison at GeneralComparison.java#293 we are doing th.isSubtype(t1, NumericType.getInstance()) where t1 happens to be BuiltInAtomicType.STRING. This is leading to a ConcurrentModificationException in TypeHierarchy.java#396 where we call toSet(t2.getPlainMemberTypes()), iterating through the members of the union type :numeric.


Related issues

Has duplicate Saxon - Bug #6154: ConcurrentModificationException in net.sf.saxon.s9api.XsltCompiler.compile Duplicate2023-08-04

Actions

Please register to edit this issue

Also available in: Atom PDF