accept (but currently ignore) -client and -server options for command-line compatibility with java

This commit is contained in:
Joel Dice 2011-07-18 14:17:22 -06:00
parent c3824c6844
commit 801327752a

View File

@ -179,6 +179,10 @@ main(int ac, const char** av)
or strncmp(av[i], "-D", 2) == 0)
{
++ vmArgs.nOptions;
} else if (strcmp(av[i], "-client") == 0
or strcmp(av[i], "-server") == 0)
{
// ignore
} else {
if (jar == 0) {
class_ = av[i++];