JDK-8146085 : Zero fails to build after 8139864
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • CPU: generic
  • Submitted: 2015-12-23
  • Updated: 2016-01-15
  • Resolved: 2016-01-15
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9Fixed
Related Reports
Relates :  
Description
In file included from <http://builder.classpath.org/jenkins/job/OpenJDK9_hs_rt_Zero/ws/openjdk9/hs-rt/hotspot/src/share/vm/runtime/frame.hpp>:34:0,
                 from <http://builder.classpath.org/jenkins/job/OpenJDK9_hs_rt_Zero/ws/openjdk9/hs-rt/hotspot/src/share/vm/code/codeBlob.hpp>:30,
                 from <http://builder.classpath.org/jenkins/job/OpenJDK9_hs_rt_Zero/ws/openjdk9/hs-rt/hotspot/src/share/vm/code/codeCache.hpp>:28,
                 from <http://builder.classpath.org/jenkins/job/OpenJDK9_hs_rt_Zero/ws/openjdk9/hs-rt/hotspot/src/cpu/zero/vm/assembler_zero.inline.hpp>:31,
                 from <http://builder.classpath.org/jenkins/job/OpenJDK9_hs_rt_Zero/ws/openjdk9/hs-rt/hotspot/src/share/vm/asm/assembler.inline.hpp>:37,
                 from <http://builder.classpath.org/jenkins/job/OpenJDK9_hs_rt_Zero/ws/openjdk9/hs-rt/hotspot/src/share/vm/precompiled/precompiled.hpp>:30:
<http://builder.classpath.org/jenkins/job/OpenJDK9_hs_rt_Zero/ws/openjdk9/hs-rt/hotspot/src/cpu/zero/vm/stack_zero.hpp>: In constructor ���ZeroStack::ZeroStack()���:
<http://builder.classpath.org/jenkins/job/OpenJDK9_hs_rt_Zero/ws/openjdk9/hs-rt/hotspot/src/cpu/zero/vm/stack_zero.hpp>:43:26: error: incomplete type ���JavaThread��� used in nested name specifier

See: http://builder.classpath.org/jenkins/job/OpenJDK9_hs_rt_Zero/196/
Comments
Fix part of the commit of JDK-8146410
15-01-2016

This has been fixed with JDK-8146410. Specifically these changes: diff --git a/src/cpu/zero/vm/stack_zero.hpp b/src/cpu/zero/vm/stack_zero.hpp --- a/src/cpu/zero/vm/stack_zero.hpp +++ b/src/cpu/zero/vm/stack_zero.hpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved. * Copyright 2008, 2009, 2010 Red Hat, Inc. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * @@ -38,10 +38,7 @@ int _shadow_pages_size; // how much ABI stack must we keep free? public: - ZeroStack() - : _base(NULL), _top(NULL), _sp(NULL) { - _shadow_pages_size = JavaThread::stack_shadow_zone_size(); - } + ZeroStack();
15-01-2016