changeset 22729:e00426c54952

made JVMCI providers available as a normal services to avoid need for recompiling Graal jars to deploy them on JDK9
author Doug Simon <doug.simon@oracle.com>
date Tue, 10 Nov 2015 23:16:06 +0100
parents eb2091fcd682
children 24fd08e99b35
files mx.jvmci/mx_jvmci.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mx.jvmci/mx_jvmci.py	Mon Nov 09 14:34:33 2015 +0100
+++ b/mx.jvmci/mx_jvmci.py	Tue Nov 10 23:16:06 2015 +0100
@@ -1726,6 +1726,9 @@
             for service in contents.strip().split(os.linesep):
                 assert service
                 self.jvmciServices.setdefault(service, []).append(provider)
+                # Make provider available as a normal service as well to
+                # allow for deployment on JDK9 without having to recompile.
+                self.services.setdefault(service, []).append(provider)
             return True
         elif arcname.endswith('_OptionDescriptors.class'):
             # Need to create service files for the providers of the