RFR: Regex exponential backtracking issue --- more cleanup/tuning

Xueming Shen xueming.shen at oracle.com
Sat Mar 19 05:51:04 UTC 2016


On 3/18/16 11:28 AM, Xueming Shen wrote:
>
>>
>> src/java.base/share/classes/java/util/regex/CharPredicates.java:
>>
>> - The static fields like ALPHABETIC should be final
>>
>>
>
> Updated. I'm making the CharPredicates class final.
>
>
>
>
>> -374: add "final" to static declarations
>
> Updated the whole class to final.
>
>

I'm not sure what I was thinking back then :-)  Yes, those fields have 
been updated to "final".
My apology for the confusion.

http://cr.openjdk.java.net/~sherman/regexBackTrack.Lamnda.CanonEQ/webrev/

sherman



More information about the core-libs-dev mailing list