Regex Point Lambdafication Patch
Jonathan Gibbons
jonathan.gibbons at oracle.com
Tue Mar 12 16:46:07 PDT 2013
On 03/12/2013 03:56 PM, Ben Evans wrote:
> On Tue, Mar 12, 2013 at 10:41 PM, Jonathan Gibbons
> <jonathan.gibbons at oracle.com> wrote:
>> On 03/12/2013 02:33 PM, Ben Evans wrote:
>>> By the way, I've noticed that something in the webrev process appears
>>> to be mangling the Unicode chars in some of my tests. Is this OK? Is
>>> it known behaviour?
>> JDK source code is supposed to be ASCII.
> This is test code, rather than source, but in general - why this restriction?
>
> Given that javac should accept UTF-8 as source, why shouldn't test
> cases be written with UTF-8 identifiers or literals?
>
> I'm happy to modify tests accordingly if necessary, but this does seem
> a bit archaic...
>
> Ben
I think the reason is for safety and lowest common denominator
across all the platforms that we use. It's hard enough keeping
Windows line-feeds out of the source without having other characters
mangled as well.
-- Jon
More information about the lambda-dev
mailing list