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

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 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 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