RFR: 8177845: Need a mechanism to load Graal
mandy.chung at oracle.com
Wed Apr 19 19:04:49 UTC 2017
> On Apr 19, 2017, at 11:55 AM, Christian Thalinger <cthalinger at twitter.com> wrote:
>> On Apr 19, 2017, at 8:38 AM, Mandy Chung <mandy.chung at oracle.com> wrote:
>> Since jdk.internal.vm.compiler becomes an upgradeable module, it is not hashed with java.base to allow it to be upgraded and there is no integrity check. Such qualified export will be granted to any module named jdk.internal.vm.compiler at runtime. The goal is for upgradeable modules not to use any internal APIs and eliminate the qualified exports.
>> The main thing is that jdk.vm.ci.services API would need to be guarded if it’s used by non-Graal modules.
> This all makes sense but where is the restriction that only jdk.internal.vm.compiler can use jdk.vm.ci.services?
It's unqualified and no restriction in this change.
More information about the hotspot-dev