diff options
author | Erkka Kääriä <erkka.kaaria@intel.com> | 2015-12-10 10:45:45 +0200 |
---|---|---|
committer | Maxin B. John <maxin.john@intel.com> | 2015-12-11 15:07:25 +0200 |
commit | a7586e45a2b89ab8ce66ac00a54c0223f08f6804 (patch) | |
tree | f2dcabef5c20898ad66f5469f551fd279ade86de /classes/java.bbclass | |
parent | bac3b9acee5110390d15d38dacdb1622e31b2238 (diff) | |
download | meta-java-a7586e45a2b89ab8ce66ac00a54c0223f08f6804.tar.gz |
gnumail: Fix race condition in makefile
Parallel make does not handle multiple javac invocations correctly, as javac
compiles any uncompiled dependencies on its own. This leads to a race condition
where make may see incomplete class files and incorrectly assume that the
class files has already been compiled. This ultimately causes incomplete class
files to be included in one of the jars, causing build failures later one when
javac attempts to use such class file.
This issue is fixed by patching the makefile so that only one instance of javac
is invoked, which compiles all the java files in one go.
Signed-off-by: Erkka Kääriä <erkka.kaaria@intel.com>
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Diffstat (limited to 'classes/java.bbclass')
0 files changed, 0 insertions, 0 deletions