RFR: JDK-8143282: \p{Cn} unassigned code points should be included in \p{C}
Martin Buchholz
martinrb at google.com
Fri May 20 16:11:22 UTC 2016
Here is a duplicate check:
4422 (Character.CONTROL == type || Character.CONTROL
== type ||
I don't see any tests for corresponding p{Cn}
I expected to see general category Other "C" in Character.java
I'd like to see tests that p{C} is the same as p{Other} is the same as
p{isOther} and similar with other categories.
You could add a test assertion that checks that p{C} has identical
effect to [p{Cn}p{Cs}p{C....]
The matcher("") with reset idiom looks weird to me. I'd just create
Patterns and then keep creating new Matchers, at least in test code.
On Fri, May 20, 2016 at 8:44 AM, Xueming Shen <xueming.shen at oracle.com> wrote:
> Hi,
>
> Please help review the change for 8143282.
>
> issue: https://bugs.openjdk.java.net/browse/JDK-8143282
> webrev: http://cr.openjdk.java.net/~sherman/8143282
>
> thanks,
> Sherman
More information about the core-libs-dev
mailing list