From 3c29ac686dd61d8f06579a639836a2a9cc1c6f39 Mon Sep 17 00:00:00 2001 From: jjg Date: Wed, 25 Aug 2010 11:24:30 -0700 Subject: [PATCH] 6979564: ":" for path separator in dist/bin/javac does not work on Windows Reviewed-by: jjh --- make/build.xml | 1 + src/share/bin/launcher.sh-template | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/make/build.xml b/make/build.xml index d269f396..b15e779e 100644 --- a/make/build.xml +++ b/make/build.xml @@ -673,6 +673,7 @@ + diff --git a/src/share/bin/launcher.sh-template b/src/share/bin/launcher.sh-template index d208c341..c912f83f 100644 --- a/src/share/bin/launcher.sh-template +++ b/src/share/bin/launcher.sh-template @@ -40,8 +40,8 @@ mylib="`dirname $mydir`"/lib if [ "$LANGTOOLS_USE_BOOTCLASSPATH" != "no" ]; then cp=`unzip -c "$mylib/#PROGRAM#.jar" META-INF/MANIFEST.MF | grep "Class-Path:" | - sed -e 's|Class-Path: *||' -e 's|\([a-z]*\.jar\) *|'"$mylib"'/\1:|g'` - bcp="$mylib/#PROGRAM#.jar":$cp + sed -e 's|Class-Path: *||' -e 's|\([a-z]*\.jar\) *|'"$mylib"'/\1#PS#|g'` + bcp="$mylib/#PROGRAM#.jar#PS#$cp" fi # tools currently assumes that assertions are enabled in the launcher -- GitLab