big missing dependency
Fredrik Öhrström
fredrik.ohrstrom at oracle.com
Wed Nov 9 03:48:32 PST 2011
2011/11/9 Jonathan Gibbons <jonathan.gibbons at oracle.com>:
> I edited javac in a way that would change the bytecodes, and reran the
> build. No JDK source files got recompiled, as they should have been.
It would be a truly awesome build system that could deduce that,
your newly compiled javac creates bytecodes that differ from the old ones,
and only then trigger a recompile of corba/jaxp/jaxws/hotspot/jdk.
(I heard that GNU make 4.2, will have an AI, so we just need to wait.)
In the meantime, we could always trigger a rebuild of all the other
repoes, if
the langtools repo is changed, even a tiny bit. This would make us err on
the safe side. But it would be inconvenient.
I think, we have to rely on ourselves (when we are developing javac) to
realize that, it is time to do "make clean && make"
But there are three more big dependencies missing, that are possible to
deal with.
If you add a public method to java.lang.Object, then none of
corba/jaxp/jaxws
are recompiled, and they should be. Partially this is a result of the
current repository
structure. With Jigsaw, it will all be solved, right?
//Fredrik
More information about the build-infra-dev
mailing list