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/08/10 18:45:42 UTC

[jira] Created: (HARMONY-4619) [ibm vme][jedit] IBM VME doesn't support -ms and -mx options

[ibm vme][jedit] IBM VME doesn't support -ms and -mx options
------------------------------------------------------------

                 Key: HARMONY-4619
                 URL: https://issues.apache.org/jira/browse/HARMONY-4619
             Project: Harmony
          Issue Type: Bug
          Components: App-Oriented Bug Reports, VM
            Reporter: Vasily Zakharov
            Priority: Minor


RI supports options -ms (equivalent to -Xms) and -mx (equivalent to -Xmx) though they're not documented or listed in help.

However these options are used by some applications, for example by jEdit launcher script for Linux.

IBM VME doesn't support these options, and because of this jEdit launcher doesn't work:

$ jedit
JVMJ9VM007E (russian text here, means 'Unknown command line option'): -mx32m
HMYEXEL062E (russian text here, means 'Internal VM error: could not create') Java VM
FAILED to invoke JVM.

This problem is easily workarounded, as jEdit launcher is very simple and its jar can be easily launched manually, however this situation may confuse users.

As a compact reproducer, the trivial test may be used:

public class Test {
    public static void main(String[] args) {
        System.out.println("SUCCESS");
    }
}

$ java -ms16M -mx32M Test

Output on RI:

SUCCESS

Output on IBM VME:

JVMJ9VM007E (russian text here, means 'Unknown command line option'): -ms16M
HMYEXEL062E (russian text here, means 'Internal VM error: could not create') Java VM
FAILED to invoke JVM.


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