Skip to content

Commit

Permalink
Merge pull request #15500 from mswiderski/remote-dev-mode-fix
Browse files Browse the repository at this point in the history
Remote dev mode fails on missing project directory
  • Loading branch information
aloubyansky authored Mar 8, 2021
2 parents 4a92ef5 + 6ec110b commit 89e244b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public ClassLoaderCompiler(ClassLoader classLoader,
new CompilationProvider.Context(
i.getName(),
classPathElements,
new File(i.getProjectDirectory()),
i.getProjectDirectory() == null ? null : new File(i.getProjectDirectory()),
new File(sourcePath),
new File(i.getClassesPath()),
context.getSourceEncoding(),
Expand Down

0 comments on commit 89e244b

Please sign in to comment.