Running jaotc with an external Graal

Andrew Haley aph at redhat.com
Thu Feb 16 09:17:12 UTC 2017


On 15/02/17 21:56, Christian Thalinger wrote:
> 
>> On Feb 14, 2017, at 4:38 AM, Andrew Haley <aph at redhat.com> wrote:
>>
>> On 14/02/17 14:37, Alan Bateman wrote:
>>> --patch-module can be used to patch any module in the boot layer. So if 
>>> you are looking to override or add classes then --patch-module should work.
>>
>> Aha!  Thanks,
> 
> Does it?

Not quite.  The problem is that the service loader finds classes in
the Hotspot copy of Graal which don't exist in the external copy, and
chaos ensues.

I suppose the only way to make it work is to replace the copy of Graal
in HotSpot, but I don't think that's a trivial thing to do.

Andrew.



More information about the graal-dev mailing list