Mike Bowler wrote:
> Marc Guillemot wrote:
>> I have tests working with pages that contain the prototype js library.
>> Everything worked just fine with Java 5 but I've discovered a regression
>> in Java 6 regular expression support.
>
> Sun's implementation of Java 6 ships with Rhino built in and by default,
> I expect that HtmlUnit will use that one rather than the one that we
> ship. I wonder if this is the cause of the problem.
HtmlUnit doesn't use the (light) Rhino shipped with Java 6, it's just a
too bad option (I think that we already discussed it on this list).
The issue is really a String.replaceAll() bug. I can send you the unit
test if you're interested in,
Marc.
--
Blog: http://mguillem.wordpress.com
|