6487488: 3/5 TEST_BUG: Something in test/java/lang/instrument creates a copy of an SCCS dir
Summary: Only copy Java source files from ilib and bootreporter.
Reviewed-by: sspitsyn
--- a/jdk/test/java/lang/instrument/MakeJAR2.sh Mon Mar 24 15:20:29 2008 -0700
+++ b/jdk/test/java/lang/instrument/MakeJAR2.sh Mon Mar 24 15:26:24 2008 -0700
@@ -70,9 +70,11 @@
cp ${TESTSRC}/${AGENT}.java .
cp ${TESTSRC}/${APP}.java .
rm -rf ilib
-cp -r ${TESTSRC}/ilib .
-mkdir bootpath
-cp -r ${TESTSRC}/bootreporter bootpath
+mkdir ilib
+cp ${TESTSRC}/ilib/*.java ilib
+rm -rf bootpath
+mkdir -p bootpath/bootreporter
+cp ${TESTSRC}/bootreporter/*.java bootpath/bootreporter
cd bootpath
${JAVAC} bootreporter/*.java