changeset 6282:f84a603283be

issue message about -G:+PrintFlags when an unrecognized -G options is passed to the VM
author Doug Simon <doug.simon@oracle.com>
date Sat, 04 Aug 2012 01:36:14 +0200
parents a7b2eaf364de
children 076c5635774d
files graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/HotSpotOptions.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/HotSpotOptions.java	Sat Aug 04 01:35:01 2012 +0200
+++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/HotSpotOptions.java	Sat Aug 04 01:36:14 2012 +0200
@@ -105,7 +105,7 @@
             Logger.info("Security exception when setting option " + option);
             return false;
         } catch (NoSuchFieldException e) {
-            Logger.info("Could not find option " + fieldName);
+            Logger.info("Could not find option " + fieldName + " (use -G:+PrintFlags to see Graal options)");
             return false;
         } catch (IllegalArgumentException e) {
             Logger.info("Illegal value for option " + option);