I committed the first part we agreed on (support of -XX: format), so
you should be able to play with Netbeans now.
Old format (-XD) is still supported but deprecated (produces warnings
if used), should be dropped in few weeks.

--
Alexey

2007/2/16, Zakharov, Vasily M <[EMAIL PROTECTED]>:

Here goes the JIRA:
http://issues.apache.org/jira/browse/HARMONY-3184

 Vasily


-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Gregory Shimansky
Sent: Thursday, February 15, 2007 4:49 PM
To: [email protected]
Subject: Re: [drlvm] Ignoring Sun command line options?

Zakharov, Vasily M wrote:
> Hi, all,
>
> I'm now trying to run Netbeans on Harmony. On IBM VM it starts,
> though with many errors, but on DRL VM it exits immediately with
> the following diagnostic:
>
> Unknown option -XX:PermSize=32m
> Use java -help to get help on command line options
>
> The problem is Netbeans startup file is .exe that makes up the
> command line and starts java. And that .exe adds -XX:PermSize
> and -XX:MaxPermSize options to command line, and DRL VM can't
> handle them.
>
> JRockit also doesn't support these options, but it just ignores
> them and starts normally:
>
> [JRockit] WARNING:  '-XX:PermSize=32m' is not a valid VM option.
> Ignoring.
> [JRockit] WARNING:  '-XX:MaxPermSize=160m' is not a valid VM option.
> Ignoring.
>
> I think we should follow the JRockit/IBM way in DRL VM and ignore
> Sun options we do not support.
>
> My suggestion is to file this as an app-oriented RI-compatibility bug
> in DRLVM and fix it as such.
>
> What do you think?

+1
Create a JIRA for this.

--
Gregory

Reply via email to