Re: Query on developing OpenJDK with IntelliJ

2016-09-13 Thread Jonathan Bluett-Duncan
Thanks for the pointer Max, but I think I managed to figure out what my new problem was and to find a solution for it. In my current dev setup, I'm running IntelliJ on Windows connected to a Samba network share which holds my jdk9 clone, which itself is hosted on an Ubuntu VM on my local machine (

Re: Query on developing OpenJDK with IntelliJ

2016-09-12 Thread Weijun Wang
This is how I did. 1. Build jdk9/dev to an exploded-image, so you have build//jdk. 2. mkdir jdk/classes to trick IntelliJ IDEA this is a JDK. 3. Add this jdk directory as an SDK. In classpath and sourcepath, add the modules you are interested in (classpath to /jdk/modules/mod_name, sourcepath

Re: Query on developing OpenJDK with IntelliJ

2016-09-12 Thread Jonathan Bluett-Duncan
Hi Staffan and Maurizio, Thanks for the pointers! The script which the email thread refers to (jdk9/common/bin/idea.sh) helped me get rid of those useless red squiggles. :) However, I now have a new problem, where not just the useless red squiggles but also the useful ones are gone as well; they

Re: Query on developing OpenJDK with IntelliJ

2016-09-12 Thread Maurizio Cimadamore
I confirm that the use case you bring up is addressed with the available IntelliJ project configuration. I've tried creating a project for the modules java.base and jdk.jshell, and then opened the class jdk.jshell.TaskFactory, which mention the Version class, which is new in JDK 9. No red lines

Re: Query on developing OpenJDK with IntelliJ

2016-09-12 Thread Staffan Larsen
See if this email thread helps you out: http://mail.openjdk.java.net/pipermail/jdk9-dev/2016-April/004136.html http://mail.openjdk.java.net/pipermail/jdk9-dev/2016-May/004173.html /Staffan > On 10 sep. 2016, at 17:11, Jonathan Bluett-Duncan > wrote: > > Hi all, > > I have a question regardin

Query on developing OpenJDK with IntelliJ

2016-09-10 Thread Jonathan Bluett-Duncan
Hi all, I have a question regarding setting up a particular aspect of my development environment for OpenJDK, and I wonder if this is the right mailing list for me to post such questions. When I open my local clone of the JDK 9 codebase as a project in IntelliJ Ultimate 2016.2, there are a number