Small change triggers 8990 file compiling?
Erik Joelsson
erik.joelsson at oracle.com
Fri Oct 12 03:59:45 PDT 2012
On 2012-10-12 09:51, Erik Joelsson wrote:
> The other issue, which we should fix, concerns javah header
> generation. In the new build we use a new feature in javac which
> automatically outputs the jni headers for all classes with native
> methods or a special annotation. The problem is that javac doesn't
> check if new headers were actually needed, so it will touch all the
> headers every time, which make will interpret as the headers having
> changed and so will recompile all the native sources that depend on
> them. I believe sjavac is going to fix this problem too, otherwise we
> will need to add some logic for it in the makefiles.
>
I just pushed a fix for this for the batch compile mode. Fredrik
confirmed that sjavac has this functionality too.
/Erik
More information about the build-infra-dev
mailing list