changeset 13244:6140eda73e6f

make launching IGV with jdk8 issue an error message (GRAAL-420)
author Doug Simon <doug.simon@oracle.com>
date Wed, 04 Dec 2013 16:01:14 +0100
parents 68529068f08e
children af7d328b2cc7
files mx/mx_graal.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mx/mx_graal.py	Wed Dec 04 14:54:43 2013 +0100
+++ b/mx/mx_graal.py	Wed Dec 04 16:01:14 2013 +0100
@@ -1132,6 +1132,8 @@
 
 def igv(args):
     """run the Ideal Graph Visualizer"""
+    if (mx.java().version >= mx.JavaVersion('1.8')) :
+        mx.abort('IGV does not yet work with JDK 8. Use --java-home to specify a JDK 7 when launching the IGV')
     with open(join(_graal_home, '.ideal_graph_visualizer.log'), 'w') as fp:
         mx.logv('[Ideal Graph Visualizer log is in ' + fp.name + ']')
         if not exists(join(_graal_home, 'src', 'share', 'tools', 'IdealGraphVisualizer', 'nbplatform')):