﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
8918	UtilsTest failed in Java7 due to character \u200B Zero width space	AlfonZ	team	"[source:/trunk/test/unit/org/openstreetmap/josm/tools/UtilsTest.java UtilsTest] passed in my Java 6u45 and failed in Java 7u25.

I have narrowed it down to character `\u200B` //Zero width space//.
In Java 6 `Character.isWhitespace()` and `Character.isSpaceChar()` return `true` for it, in Java 7 they return `false`.

Java 6's `Character` is based on //Unicode 4.0//, Java 7's on //Unicode 6.0// - [http://openjdk.java.net/projects/jdk7/features/#f497].

[http://www.unicode.org/reports/tr44/tr44-6.html Unicode 6.0 Standard Annex #44]:
> For example, U+200B ZERO WIDTH SPACE was originally classified as a space character (General_Category=Zs), but it was reclassified as a Format character (General_Category=Cf) to clearly distinguish it from space characters in its function as a format control for line breaking.
> ...
> Changed the value for U+200B ZERO WIDTH SPACE from wb=Format to wb=Other.
"	defect	closed	normal		Core		fixed	java7 unicode	
