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/15 16:41:05 UTC
[jira] Created: (HARMONY-3184) [drlvm][netbeans] Aborting on
RI-supported options
[drlvm][netbeans] Aborting on RI-supported options
--------------------------------------------------
Key: HARMONY-3184
URL: https://issues.apache.org/jira/browse/HARMONY-3184
Project: Harmony
Issue Type: Bug
Components: App-Oriented Bug Reports, DRLVM
Reporter: Vasily Zakharov
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.
[jira] Commented: (HARMONY-3184) [drlvm][netbeans] Aborting on
RI-supported options
Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12473632 ]
Alexey Varlamov commented on HARMONY-3184:
------------------------------------------
Partially fixed at 508325: added handling of "-XX:name=val" options; unknown options are ignored (parsed but never used).
This enables running apps so priority of this issue may be lower now. Remaining (and more complex) part is to add validation of options, so that passing unsupported option would produce a warning.
Actually this is a missing feature rather than bug, so it may worth to change issue type and subject as well.
> [drlvm][netbeans] Aborting on RI-supported options
> --------------------------------------------------
>
> Key: HARMONY-3184
> URL: https://issues.apache.org/jira/browse/HARMONY-3184
> Project: Harmony
> Issue Type: Bug
> Components: App-Oriented Bug Reports, DRLVM
> Reporter: Vasily Zakharov
>
> 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.
[jira] Commented: (HARMONY-3184) [drlvm][netbeans] Print warnings
on unsupported options
Posted by "Vasily Zakharov (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (HARMONY-3184) [drlvm][netbeans] Print warnings on
unsupported options
Posted by "Vasily Zakharov (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Commented: (HARMONY-3184) [drlvm][netbeans] Aborting on
RI-supported options
Posted by "Vasily Zakharov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12473402 ]
Vasily Zakharov commented on HARMONY-3184:
------------------------------------------
Here's a discussion of this issue on the dev-list:
http://thread.gmane.org/gmane.comp.java.harmony.devel/24188
> [drlvm][netbeans] Aborting on RI-supported options
> --------------------------------------------------
>
> Key: HARMONY-3184
> URL: https://issues.apache.org/jira/browse/HARMONY-3184
> Project: Harmony
> Issue Type: Bug
> Components: App-Oriented Bug Reports, DRLVM
> Reporter: Vasily Zakharov
>
> 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.
[jira] Updated: (HARMONY-3184) [drlvm][init][netbeans] Print
warnings on unsupported options
Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gregory Shimansky updated HARMONY-3184:
---------------------------------------
Summary: [drlvm][init][netbeans] Print warnings on unsupported options (was: [drlvm][netbeans] Print warnings on unsupported options)
> [drlvm][init][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.