8069041: Bootcycle builds do not work with sjavac
authorerikj
Fri, 16 Jan 2015 10:15:54 +0100
changeset 28360 b7a477fa93b5
parent 28359 3a02fb1e9144
child 28361 19cacc520105
8069041: Bootcycle builds do not work with sjavac Reviewed-by: ihse
make/common/JavaCompilation.gmk
--- 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.