Project

Profile

Help

Bug #2436

closed

Multithreading bug in format-date()

Added by Michael Kay almost 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Multithreading
Sprint/Milestone:
Start date:
2015-08-04
Due date:
% Done:

100%

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

Description

When the ICU library is used for date formatting in format-date() (etc), there is a multithreading bug that may cause the wrong month-name or day-name to be output.

(Specifically, instances of the ICUNumberer class are reused and shared across threads, but the class has an instance-level field "cal" which is mutable.)

The observed effect is that XSLT3 test validation-0202 produces incorrect output in about 1 in 30 runs.

Please register to edit this issue

Also available in: Atom PDF