changeset 1293:f18f3a2c038d

8069041: Bootcycle builds do not work with sjavac Reviewed-by: ihse
author erikj
date Fri, 16 Jan 2015 10:15:54 +0100
parents f1dc16345985
children b6cca3e6175a
files make/common/JavaCompilation.gmk
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/make/common/JavaCompilation.gmk	Thu Jan 15 14:51:05 2015 -0800
+++ b/make/common/JavaCompilation.gmk	Fri Jan 16 10:15:54 2015 +0100
@@ -538,7 +538,7 @@
     $1_REMOTE:=--server:portfile=$$($1_SJAVAC_PORTFILE),id=$1,sjavac=$$(subst $$(SPACE),%20,$$(subst $$(COMMA),%2C,$$(strip $$($1_SERVER_JVM) $$($1_SJAVAC))))
 
     $$($1_BIN)/_the.$1_batch: $$($1_SRCS) $$($1_DEPENDS)
-	$(MKDIR) -p $$(@D)
+	$(MKDIR) -p $$(@D) $$(dir $$($1_SJAVAC_PORTFILE))
         # As a workaround for sjavac not tracking api changed from the classpath, force full
         # recompile if an external dependency, which is something other than a source
         # change, triggered this compilation.