From 1960081d1ac7d8449fa0a0f8d1c251bb1efbe70e Mon Sep 17 00:00:00 2001 From: Johannes Schindelin Date: Fri, 8 Nov 2013 15:02:43 -0600 Subject: [PATCH] Compile the annotation tests with the annotations in the class path Earlier, if the annotations were already up-to-date (but Annotations.class not), the compilation would fail. Signed-off-by: Johannes Schindelin --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index 113593478b..c5989e178b 100755 --- a/makefile +++ b/makefile @@ -1566,7 +1566,7 @@ $(test-dep): $(test-sources) $(test-library) @mkdir -p $(test-build) files="$(shell $(MAKE) -s --no-print-directory build=$(build) $(test-classes))"; \ if test -n "$${files}"; then \ - $(javac) -d $(test-build) -bootclasspath $(boot-classpath) $${files}; \ + $(javac) -classpath $(test-build) -d $(test-build) -bootclasspath $(boot-classpath) $${files}; \ fi $(javac) -source 1.2 -target 1.1 -XDjsrlimit=0 -d $(test-build) \ -bootclasspath $(boot-classpath) test/Subroutine.java