8056252: Incremental build fails on Windows
Changed from '/' to File.separatorChar Reviewed-by: jfranck
This commit is contained in:
parent
f4dc4013f0
commit
baa94f7823
@ -313,7 +313,7 @@ public class Source implements Comparable<Source> {
|
||||
int sp = fn.lastIndexOf(File.separatorChar);
|
||||
String pkg = "";
|
||||
if (sp != -1) {
|
||||
pkg = fn.substring(0,sp).replace('/','.');
|
||||
pkg = fn.substring(0,sp).replace(File.separatorChar,'.');
|
||||
}
|
||||
// Is this a module-info.java file?
|
||||
if (fn.endsWith("module-info.java")) {
|
||||
|
Loading…
Reference in New Issue
Block a user