OpenJDK rebuilding on windows takes a long time (original) (raw)
Fredrik Öhrström oehrstroem at gmail.com
Fri Feb 15 07:31:31 UTC 2013
- Previous message (by thread): OpenJDK rebuilding on windows takes a long time
- Next message (by thread): OpenJDK rebuilding on windows takes a long time
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
2013/2/15 Ioi Lam <ioi.lam at oracle.com>:
Is there an option in the makefiles to compile ONLY the .java file that's changed (assuming I know the changes won't affect other classes)?
Yes, configure with --enable-sjavac.
Then it will recompile exactly the java files you have touched. And if the public api of the package you changed files in, is changed, then it will recompile all other packages that import from that package.
Thus add a public method to java/lang/Object.java, type make, and watch it recompile ~9000 classes.
Change private code in an awt class, and it will recompile only that package.
Try it! And report how it fares for you!
//Fredrik
- Previous message (by thread): OpenJDK rebuilding on windows takes a long time
- Next message (by thread): OpenJDK rebuilding on windows takes a long time
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]