Problem building latest head with latest jdk9

Doug Simon doug.simon at oracle.com
Fri Jun 23 09:33:54 UTC 2017


The fix has just landed on github: https://github.com/graalvm/graal/commit/4cbc5cd7e0951d1ebd156bad317749224e7d2589

> On 23 Jun 2017, at 08:22, Jaroslav Tulach <jaroslav.tulach at oracle.com> wrote:
> 
> On čtvrtek 22. června 2017 13:00:57 CEST Andrew Dinn wrote:
>> I had to patch the latest head as below to get it to build. Did someone
>> forget to update this mock class?
> 
> I wrote this Mock class and it compiled when I wrote it. Looks like things 
> changed incompatibly since then. Probably nobody expected the 
> HotSpotResolvedObjectType would be implemented by an independent party.
> 
> -jt
> 
> 
>> -----------
>> Senior Principal Software Engineer
>> Red Hat UK Ltd
>> Registered in England and Wales under Company Registration No. 03798903
>> Directors: Michael Cunningham, Michael ("Mike") O'Neill, Eric Shander
>> 
>> 
>> ----- 8 -------- 8 -------- 8 -------- 8 -------- 8 -------- 8 ---
>> diff --git
>> a/compiler/src/org.graalvm.compiler.hotspot.test/src/org/graalvm/compiler/ho
>> tspot/test/HotSpotGraalMBeanTest.java
>> b/compiler/src/org.graalvm.compiler.hotspot.test/src/org/graalvm/compiler/h
>> otspot/test/HotSpotGraalMBeanTest.java index 7c0b0a8..7e32496 100644
>> ---
>> a/compiler/src/org.graalvm.compiler.hotspot.test/src/org/graalvm/compiler/ho
>> tspot/test/HotSpotGraalMBeanTest.java +++
>> b/compiler/src/org.graalvm.compiler.hotspot.test/src/org/graalvm/compiler/ho
>> tspot/test/HotSpotGraalMBeanTest.java @@ -626,6 +626,12 @@ public class
>> HotSpotGraalMBeanTest {
>>             }
>> 
>>             @Override
>> +            public ResolvedJavaType getHostClass() {
>> +                throw new UnsupportedOperationException();
>> +            }
>> +
>> +
>> +            @Override
>>             public boolean isInstance(JavaConstant obj) {
>>                 throw new UnsupportedOperationException();
>>             }
>> ----- 8 -------- 8 -------- 8 -------- 8 -------- 8 -------- 8 ---
> 
> 



More information about the graal-dev mailing list