Mercurial > hg > graal-jvmci-8
comparison mx/mx_graal.py @ 21635:b311a60991da
more graceful failure in context of stale mx-deployed JDK jars
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 01 Jun 2015 15:01:34 +0200 |
parents | abcb811659e0 |
children | e65bf81961be |
comparison
equal
deleted
inserted
replaced
21634:0a2fc09f6ed6 | 21635:b311a60991da |
---|---|
553 types available in 'classpath' implementing or extending | 553 types available in 'classpath' implementing or extending |
554 com.oracle.jvmci.service.Service. | 554 com.oracle.jvmci.service.Service. |
555 """ | 555 """ |
556 _, binDir = mx._compile_mx_class('FilterTypes', os.pathsep.join(classpath), myDir=dirname(__file__)) | 556 _, binDir = mx._compile_mx_class('FilterTypes', os.pathsep.join(classpath), myDir=dirname(__file__)) |
557 cmd = [mx.java().java, '-cp', mx._cygpathU2W(os.pathsep.join([binDir] + classpath)), 'FilterTypes', 'com.oracle.jvmci.service.Service'] + serviceImplNames | 557 cmd = [mx.java().java, '-cp', mx._cygpathU2W(os.pathsep.join([binDir] + classpath)), 'FilterTypes', 'com.oracle.jvmci.service.Service'] + serviceImplNames |
558 services = subprocess.check_output(cmd, stderr=subprocess.PIPE) | 558 services = subprocess.check_output(cmd) |
559 if len(services) == 0: | 559 if len(services) == 0: |
560 return [] | 560 return [] |
561 return services.split('|') | 561 return services.split('|') |
562 | 562 |
563 def _extractJVMCIFiles(jdkJars, jvmciJars, servicesDir, optionsDir, cleanDestination=True): | 563 def _extractJVMCIFiles(jdkJars, jvmciJars, servicesDir, optionsDir, cleanDestination=True): |