You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Vasily Zakharov (JIRA)" <ji...@apache.org> on 2007/02/16 11:36:05 UTC

[jira] Updated: (HARMONY-3184) [drlvm][netbeans] Print warnings on unsupported options

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

Vasily Zakharov updated HARMONY-3184:
-------------------------------------

      Priority: Minor  (was: Major)
    Issue Type: Improvement  (was: Bug)
       Summary: [drlvm][netbeans] Print warnings on unsupported options  (was: [drlvm][netbeans] Aborting on RI-supported options)

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