comparison mx.jvmci/mx_jvmci.py @ 22766:7d02b4097309

register JVMCIJDKFactory at module load time
author Doug Simon <doug.simon@oracle.com>
date Tue, 12 Jan 2016 15:03:56 +0100
parents f2206f5bb62e
children 994b87797b9d
comparison
equal deleted inserted replaced
22765:61cc3ee666d2 22766:7d02b4097309
1829 return jdk 1829 return jdk
1830 1830
1831 def description(self): 1831 def description(self):
1832 return "JVMCI JDK" 1832 return "JVMCI JDK"
1833 1833
1834 mx.addJDKFactory(_JVMCI_JDK_TAG, mx.JavaCompliance('8'), JVMCIJDKFactory())
1835
1834 def mx_post_parse_cmd_line(opts): 1836 def mx_post_parse_cmd_line(opts):
1835 mx.addJDKFactory(_JVMCI_JDK_TAG, mx.JavaCompliance('8'), JVMCIJDKFactory())
1836 mx.set_java_command_default_jdk_tag(_JVMCI_JDK_TAG) 1837 mx.set_java_command_default_jdk_tag(_JVMCI_JDK_TAG)
1837 1838
1838 # Execute for the side-effect of checking that the 1839 # Execute for the side-effect of checking that the
1839 # boot strap JDK has a compatible version 1840 # boot strap JDK has a compatible version
1840 get_jvmci_bootstrap_jdk() 1841 get_jvmci_bootstrap_jdk()