harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vasily Zakharov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-3184) [drlvm][netbeans] Print warnings on unsupported options
Date Fri, 16 Feb 2007 10:36:05 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-3184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12473670

Vasily Zakharov commented on HARMONY-3184:

Thanks, Alexey!

I've updated the issue type and subject.

> [drlvm][netbeans] Print warnings on unsupported options
> -------------------------------------------------------
>                 Key: HARMONY-3184
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3184
>             Project: Harmony
>          Issue Type: Improvement
>          Components: App-Oriented Bug Reports, DRLVM
>            Reporter: Vasily Zakharov
>            Priority: Minor
> DRL VM aborts if it finds an unknown option in the command line. However, some applications
put RI-specific options to command line, and DRL VM aborts, making those applications unusable
with DRL VM.
> This issue was discovered while trying to run Netbeans on Harmony, it passes -XX:PermSize
and -XX:MaxPermSize. Netbeans launcher for Windows is .exe file, and tweaking the parameters
it passes to JVM is difficult.
> It seems like an important compatibility issue, and the right way to resolve it is knowing
and ignoring RI-specific options, like JRockit does.
> Here's a simple example:
> java -XX:PermSize=32m -XX:MaxPermSize=160m java.lang.Object
> Output on RI:
> Exception in thread "main" java.lang.NoSuchMethodError: main
> Output on BEA JRockit:
> [JRockit] WARNING:  '-XX:PermSize=32m' is not a valid VM option. Ignoring.
> [JRockit] WARNING:  '-XX:MaxPermSize=160m' is not a valid VM option. Ignoring.
> java.lang.NoSuchMethodError: main
> Output on Harmony/IBM VM (sorry for russian due to russian locale on my machine):
> HMYEXEL056E В классе java.lang.Object не реализован main()
> Exception in thread "main" java.lang.NoSuchMethodError: java/lang/Object.main([Ljava/lang/String;)V
> FAILED to invoke JVM.
> Output on Harmony/DRL VM:
> Unknown option -XX:PermSize=32m
> Use java -help to get help on command line options

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message