diff mx.graal/mx_graal.py @ 22147:32434ca987d7

fixed Windows build issues
author Doug Simon <doug.simon@oracle.com>
date Mon, 06 Jul 2015 00:25:01 +0200
parents 51ceda0cf404
children 102c41a0516c
line wrap: on
line diff
--- a/mx.graal/mx_graal.py	Fri Jul 03 14:10:26 2015 +0200
+++ b/mx.graal/mx_graal.py	Mon Jul 06 00:25:01 2015 +0200
@@ -2349,7 +2349,7 @@
             return True
         if arcname.startswith('META-INF/jvmci.providers/'):
             provider = arcname[len('META-INF/jvmci.providers/'):]
-            for service in contents.split('\n'):
+            for service in contents.split(os.linesep):
                 self.jvmciServices.setdefault(service, []).append(provider)
             return True
         elif arcname.startswith('META-INF/jvmci.options/'):