# HG changeset patch # User Gilles Duboscq # Date 1430129050 -7200 # Node ID ae4941602cfa11aa98ef1fe9d33ad9b0d057561a # Parent f6f3f44a183051ae5ee581be7c8c6c8cbbc0d5fe mx: fix crash when there are no services diff -r f6f3f44a1830 -r ae4941602cfa mx/mx_graal.py --- a/mx/mx_graal.py Sat Apr 25 19:47:45 2015 -0700 +++ b/mx/mx_graal.py Mon Apr 27 12:04:10 2015 +0200 @@ -601,6 +601,8 @@ def _classifyGraalServices(classNames, graalJars): classification = {} + if not classNames: + return classification for className in classNames: classification[className] = None javap = mx.java().javap