atom feed5 messages in net.java.openjdk.awt-devRe: <AWT Dev> JDK8 tree fails to compile
FromSent OnAttachments
Mario TorreJun 13, 2012 3:19 am 
Anthony PetrovJun 13, 2012 4:49 am 
Mario TorreJun 13, 2012 5:16 am 
Anthony PetrovJun 13, 2012 5:22 am 
Lana SteuckJun 13, 2012 9:47 am 
Subject:Re: <AWT Dev> JDK8 tree fails to compile
From:Lana Steuck (lana@oracle.com)
Date:Jun 13, 2012 9:47:07 am
List:net.java.openjdk.awt-dev

Hi Mario,

Sounds like there is an issue with your build environment. Forwarding your email to build alias which more appropriate.

Thanks, Lana

On 06/13/2012 05:17 AM, Mario Torre wrote:

Hi Anthony, Lana,

Thanks for taking a look at it.

I got the same problem with the very latest jdk8 repository. It seems that this patch is missing there too.

I'm on a Fedora 17 machine, gcc version 4.7.0 20120507 (Red Hat 4.7.0-5) (GCC), perhaps this would explain why you don't see this? (It's the first time I tried to compile directly from the OpenJDK since I updated, so I can't say when this started to happen).

2012/6/13 Anthony Petrov<anth@oracle.com>:

Lana, could you clarify the matter please?

@Mario: usually we build the jdk/ repo only, so we don't observe the problem.

On 6/13/2012 2:19 PM, Mario Torre wrote:

Hi all!

I'm trying to compile the latest http://hg.openjdk.java.net/jdk8/awt but I got this error:

ompiling /home/neugens/work_space/jdk/jdk8-awt/hotspot/src/share/vm/memory/blockOffsetTable.cpp

/home/neugens/work_space/jdk/jdk8-awt/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp: In instantiation of ‘TreeList<Chunk>* TreeList<Chunk>::remove_chunk_replace_if_needed(TreeChunk<Chunk>*) [with Chunk = FreeChunk]’:

/home/neugens/work_space/jdk/jdk8-awt/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:1342:16: required from here

/home/neugens/work_space/jdk/jdk8-awt/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:173:7: error: ‘link_tail’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]

I guess the tree needs to be integrated with this patch:

http://hg.openjdk.java.net/hsx/hotspot-main/hotspot/rev/a297b0e14605

Any ideas?