[cp-patches] [PATCH] Implement Pattern.quote() API method
Dr Andrew John Hughes
ahughes at redhat.com
Fri Jan 28 00:31:13 UTC 2011
On 01:13 Fri 28 Jan , Ivan Maidanski wrote:
> Ok, since even if OpenJDK quote() is buggy, nonetheless we should reproduce its behavior in the Classpath. ;)
Sadly, this is usually true, though obviously the specification should also be checked for agreement.
> 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
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Support Free Java!
Contribute to GNU Classpath and IcedTea
PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint = F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8
More information about the Classpath-patches