harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Evgueni Brevnov" <evgueni.brev...@gmail.com>
Subject Re: [drlvm] VM throws NullPointerException in case java.class.path is not set
Date Tue, 10 Oct 2006 10:38:10 GMT
I agree with both of you. Second variant doesn't contradict with what
you are saying. Do you agree?

Evgueni

On 10/10/06, Alexey Varlamov <alexey.v.varlamov@gmail.com> wrote:
> 2006/10/10, Evgueni Brevnov <evgueni.brevnov@gmail.com>:
> > It seems for me like pretty specified VM behavior to treat classpath
> > absence as take classes from current directory. At least RI does like
> > that when you don't specify classpath on command line.
>
> Please note, you said "command line" - this is prerogative of the launcher.
> I agree with Mikhail, the VM itself should do minimal number of
> assumptions about environment where it is being invoked.
>
> >
> > Evgueni
> >
> > On 10/10/06, Mikhail Fursov <mike.fursov@gmail.com> wrote:
> > > Another solution could be a simple shutdown with the valid error message.
> > > Sometimes the error message is better than hidden behaviour.
> > > So the alternative is to check all properties VM needs before running real
> > > startup and fail if some of the properties are not found.
> > >
> > >
> > > On 10/10/06, Evgueni Brevnov <evgueni.brevnov@gmail.com> wrote:
> > > >
> > > > Hi All,
> > > >
> > > > Currently DRLVM starts with help of the launcher. The launcher does a
> > > > lot of stuff required to create VM instatnce. As a part of its job it
> > > > sets up java.class.path property. And this is good. What is not good
> > > > that DRLVM crashes (actually throws NullPointerException in
> > > > initalization stage) if java.class.path is not set. I believe it makes
> > > > sense to point java.class.path to current directory inside VM if
> > > > launcher doesn't set it.
> > > >
> > > > What do u think?
> > > >
> > > > Thanks
> > > > Evgueni
> > > >
> > > > ---------------------------------------------------------------------
> > > > 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
> > > >
> > > >
> > >
> > >
> > > --
> > > Mikhail Fursov
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > 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
>
>

---------------------------------------------------------------------
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