Problem building latest head with latest jdk9
Jaroslav Tulach
jaroslav.tulach at oracle.com
Fri Jun 23 06:22:32 UTC 2017
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