Mercurial > hg > graal-compiler
diff mx.graal/mx_graal_9.py @ 23222:56359eb3abfa
moved @ServiceProvider mechanism from JVMCI to Graal (GRAAL-1380)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 30 Dec 2015 18:08:59 +0100 |
parents | 75a807751aa6 |
children | 77feea4fe00c |
line wrap: on
line diff
--- a/mx.graal/mx_graal_9.py Tue Dec 29 13:23:02 2015 +0100 +++ b/mx.graal/mx_graal_9.py Wed Dec 30 18:08:59 2015 +0100 @@ -385,8 +385,8 @@ self.arc = arc def __add__(self, arcname, contents): - if arcname.startswith('META-INF/jvmci.providers/'): - provider = arcname[len('META-INF/jvmci.providers/'):] + if arcname.startswith('META-INF/providers/'): + provider = arcname[len('META-INF/providers/'):] for service in contents.strip().split(os.linesep): assert service self.services.setdefault(service, []).append(provider)