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] Created: (HARMONY-4618) [drlvm][jedit] DRLVM doesn't support -ms and -mx options
Date Fri, 10 Aug 2007 16:41:42 GMT
[drlvm][jedit] DRLVM doesn't support -ms and -mx options
--------------------------------------------------------

                 Key: HARMONY-4618
                 URL: https://issues.apache.org/jira/browse/HARMONY-4618
             Project: Harmony
          Issue Type: Bug
          Components: App-Oriented Bug Reports, DRLVM
            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.

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

$ jedit
Unknown option -mx32m
Use java -help to get help on command line options

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 DRLVM:

Unknown option -ms16M
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.


Mime
View raw message