view patches/jamvm/ignore-assertions-and-verify-options.patch @ 2468:56dac28b4cb5

JamVM: Ignore assertions and verify options. 2011-08-15 Xerxes Ranby <xerxes@zafena.se> JamVM - Ignore assertions and verify options. * NEWS: Updated. * patches/jamvm/ignore-assertions-and-verify-options.patch: New patch. * Makefile.am: Apply JamVM patch.
author Xerxes Ranby <xerxes@zafena.se>
date Fri, 02 Sep 2011 13:13:17 +0200
parents
children
line wrap: on
line source

Index: jamvm/jamvm/src/init.c
===================================================================
--- jamvm.orig/jamvm/src/init.c	2011-08-12 14:12:00.775411188 +0200
+++ jamvm/jamvm/src/init.c	2011-08-12 16:22:24.110205028 +0200
@@ -272,6 +272,15 @@
     /* Compatibility options */
     } else if(strcmp(string,  "-Xcomp")  == 0 ||
               strcmp(string,  "-Xbatch") == 0 ||
+              strcmp(string,  "-ea") == 0 ||
+              strcmp(string,  "-da") == 0 ||
+              strcmp(string,  "-dsa") == 0 ||
+              strcmp(string,  "-esa") == 0 ||
+              strncmp(string, "-ea:", 4) == 0 ||
+              strncmp(string, "-da:", 4) == 0 ||
+              strncmp(string, "-dsa:", 5) == 0 ||
+              strncmp(string, "-esa:", 5) == 0 ||
+              strncmp(string, "-Xverify:", 9) == 0 ||
               strncmp(string, "-XX:", 4) == 0) {
         /* Ignore */
     } else