harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Varlamov" <alexey.v.varla...@gmail.com>
Subject Re: [drlvm] HARMONY-1363 - status update
Date Tue, 19 Sep 2006 07:23:49 GMT
2006/9/19, Vladimir Gorr <vvgorr@gmail.com>:
> On 9/19/06, Chris Gray <chris.gray@kiffer.be> wrote:
> >
> > On Monday 18 September 2006 18:14, Geir Magnusson Jr. wrote:
> > > Pavel Pervov wrote:
> > > > Tried it on Windows and found the problem which, as it looks like,
> > have
> > > > never been caught before.
> > > > As I discovered, launcher uses platform specific line separators to
> > parse
> > > > harmonyvm.properties on a specific platform. But haromynvm.properties,
> > > > which
> > > > is copied into deploy, has unix line endings and is skipped. As the
> > > > result, EM can't initialize.'
> > >
> > > A ha!
> > >
> > > > I workarounded this by running unix2dos on harmonyvm.properties.
> > >
> > > Ok - we should get that in as eol-native
> >
> > Wouldn't it be better (and safer) to fix the parser?
>
>
>  +1. Indeed this is the good thing for doing to avoid the above-mentioned
> problem in future.
>

This is exactly the feature shared parser has, see HARMONY-1243 and
HARMONY-1376.

> Thanks,
> Vladimir.
>
> Normally a properties file can contain any kind of line separators and still
> > be parsed correctly,
> > which is a Good Thing IMHO. E.g. according to the spec for
> > java.util.Properties.load(),
> >        A natural line of input is terminated either by a set of line
> > terminator
> > characters (\n or \r or \r\n) or by the end of the file.
> >
> > Chris
> >
> > --
> > Chris Gray        /k/ Embedded Java Solutions      BE0503765045
> > Embedded & Mobile Java, OSGi    http://www.k-embedded-java.com/
> > chris.gray@kiffer.be                             +32 3 216 0369
> >
> >
> > ---------------------------------------------------------------------
> > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> >
> >
>
>

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message