8251193: bin/idea.sh is generating wrong folder definitions for JVMCI modules
Co-authored-by: Galder Zamarreno <galder@redhat.com> Reviewed-by: mcimadamore
This commit is contained in:
parent
70d5cac961
commit
8d6d43c33b
11
bin/idea.sh
11
bin/idea.sh
@ -184,7 +184,18 @@ for root in $MODULE_ROOTS; do
|
|||||||
elif [ "x$WSL_DISTRO_NAME" != "x" ]; then
|
elif [ "x$WSL_DISTRO_NAME" != "x" ]; then
|
||||||
root=`wslpath -am $root`
|
root=`wslpath -am $root`
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
VM_CI="jdk.internal.vm.ci/share/classes"
|
||||||
|
VM_COMPILER="src/jdk.internal.vm.compiler/share/classes"
|
||||||
|
if test "${root#*$VM_CI}" != "$root" || test "${root#*$VM_COMPILER}" != "$root"; then
|
||||||
|
for subdir in "$root"/*; do
|
||||||
|
if [ -d "$subdir" ]; then
|
||||||
|
SOURCES=$SOURCES" $SOURCE_PREFIX""$subdir"/src"$SOURCE_POSTFIX"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
else
|
||||||
SOURCES=$SOURCES" $SOURCE_PREFIX""$root""$SOURCE_POSTFIX"
|
SOURCES=$SOURCES" $SOURCE_PREFIX""$root""$SOURCE_POSTFIX"
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
add_replacement "###SOURCE_ROOTS###" "$SOURCES"
|
add_replacement "###SOURCE_ROOTS###" "$SOURCES"
|
||||||
|
Loading…
Reference in New Issue
Block a user