Using an IDE to work on the Java library

Andrew Dinn adinn at redhat.com
Wed Nov 22 16:52:43 UTC 2017


On 22/11/17 15:30, Andrew Haley wrote:
> That would be awesome!  The last few days I've been trying to work on
> this have sometimes felt like I was losing my mind.  Rather
> ironically, the explanation for the very odd arrangement of these
> source files was that it was what IDEs wanted.  Go figure...
I have not repeated the experiment with jdk10 yet but I was able to get
Idea to use the correct sources for the jdk.internal.vm.ci tree when
using Graal and jdk9.

As I recall, I merely added the top level dir in the hotspot tree
(hotspot/src/jdk.internal.vm.ci) as a source root and Idea worked out
how to find the underlying subdirs
(share/classes/jdk.vm.ci.code/src/jdk/vm/ci/code etc).

Maybe Idea was the only IDE which wanted this? :-)

regards,


Andrew Dinn
-----------
Senior Principal Software Engineerth
Red Hat UK Ltd
Registered in England and Wales under Company Registration No. 03798903
Directors: Michael Cunningham, Michael ("Mike") O'Neill, Eric Shander


More information about the jdk10-dev mailing list