The usage of IPath.toString() and toOSString() seem to follow some surprising rules in JavaSearchScope.
In the case of convertInternalToExternalPath() we are supposed to use paths containing forward slash as that is what used in JavaSearchScope.getPath().
The usage of
IPath.toString()
andtoOSString()
seem to follow some surprising rules inJavaSearchScope
.In the case of
convertInternalToExternalPath()
we are supposed to use paths containing forward slash as that is what used inJavaSearchScope.getPath()
.Fixes https://github.com/eclipse-jdt/eclipse.jdt.core/issues/2439