Commit 217fcbc4 authored by Victor Chang's avatar Victor Chang
Browse files

Sliently drop char 'b' or 'B' in j.t.SimpleDateFormat

- Avoid IllegalArgumentException when locale data uses pattern with 'b'/'B'
  Sliently drop the char in pattern.
- Parsing fails if SimpleDateFormat contains 'b' / 'B' symbols

Bug: 68139386
Test: libcore.java.text.SimpleDateFormatTest
Change-Id: Ic9014371c0ca535d102ec492626c92c165c86539
parent d7b66d7f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment