Backslashes in properties

Archie Cobbs archie at whistle.com
Wed Apr 7 11:07:00 PDT 1999


Pavel Roskin writes:
> The attached patch makes jCVS much happier.
> The problem was that its configuration file uses DOS-style line ends and
> backslashes for line continuation.
> Kaffe could not handle "\\\r\n" properly. Now it can.

There are actually a lot of other problems with reading of properties
in kaffe vs. the JDK 1.2 spec, see:

 http://java.sun.com/products/jdk/1.2/docs/api/java/util/Properties.html

one of which is that the "grammar" is ambiguous, for example:

  foo\\=bar=blah

Is the first or second "=" the separator?

I'm working on rewriting the load() and store() methods..

-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com


More information about the kaffe mailing list