Pop quiz

Weijun Wang Weijun.Wang at Sun.COM
Wed Mar 31 17:26:17 PDT 2010


On Apr 1, 2010, at 1:47 AM, Jonathan Gibbons wrote:

> JDK 7 folk,
> 
> I'm curious, what tools do people use to work on JDK 7 source code?
> 
> NetBeans or any other IDE?  emacs?  vi??

NetBeans and vi.

vi for trivial code changes, simple browsing, remote editing, and any other cases where I cannot or is lazy to start NetBeans.

NetBeans for real editing, navigating through classes/methods. Just like Brad, I also point NetBeans library and source to my build (the one with classes/) and sources (including share and solaris and windows of jdk, and langtools). Build is very fast, and often only a simple 'javac -d'. As soon as the classes are rebuilt, NetBeans recognize the changes, go to class/method, code-completion and inline error check works automagically. My primary project includes some small programs with main(). I also add regression test directories I'm working on as source package folders.

As for debugging, although I have DEBUG_CLASSFILES=true, I seldom use NetBeans. System.out is still my normal choice. My System.out includes ANSI escape characters and is colorful in a console windows. :)

I don't know how to edit a Makefile in NetBeans. It changes TAB to spaces and I'm not aware of a :set noexpandtab.

> 
> As we start using new language features within JDK itself, it would be good to be able to estimate the impact on JDK developers.

The nightly dev version already knows about Project Coin, like string in case and diamond operators.

Thanks
Max

> 
> -- Jon



More information about the jdk7-dev mailing list