[cp-patches] [PATCH] Implement Pattern.quote() API method

Ivan Maidanski ivmai at mail.ru
Thu Jan 27 22:13:15 UTC 2011


Hi,

Ok, since even if OpenJDK quote() is buggy, nonetheless we should reproduce its behavior in the Classpath. ;)

Regards.

Thu, 27 Jan 2011 23:58:18 +0200 Pekka Enberg <penberg at cs.helsinki.fi>:

> On Thu, 2011-01-27 at 23:28 +0300, Ivan Maidanski wrote:
> > 2. I hope (when you were composing this test case) that you produced
> > the result value for "abc\\E123\E" manually by reading the spec, not
> > by executing quote() and copy-pasting its result to this test case
> > code ;)
> 
> I copy-pasted the result of OpenJDK's Pattern.quote() output, not your
> implementation. That should be OK, no?
> 
> Pekka




More information about the Classpath-patches mailing list