Mercurial > hg > truffle
changeset 21118:ae4941602cfa
mx: fix crash when there are no services
author | Gilles Duboscq <gilles.m.duboscq@oracle.com> |
---|---|
date | Mon, 27 Apr 2015 12:04:10 +0200 |
parents | f6f3f44a1830 |
children | 294ed4ce1fa0 |
files | mx/mx_graal.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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