diff --git a/ide-compiler-runner/src/org/jetbrains/jet/compiler/runner/CompilerRunnerUtil.java b/ide-compiler-runner/src/org/jetbrains/jet/compiler/runner/CompilerRunnerUtil.java index 96e73d79ec8..655805ca236 100644 --- a/ide-compiler-runner/src/org/jetbrains/jet/compiler/runner/CompilerRunnerUtil.java +++ b/ide-compiler-runner/src/org/jetbrains/jet/compiler/runner/CompilerRunnerUtil.java @@ -208,7 +208,7 @@ public class CompilerRunnerUtil { message.setLength(0); String rawPath = attributes.getValue("path"); - path = rawPath == null ? null : "file://" + rawPath; + path = rawPath == null ? null : rawPath; line = safeParseInt(attributes.getValue("line"), -1); column = safeParseInt(attributes.getValue("column"), -1); } diff --git a/idea/src/org/jetbrains/jet/plugin/compiler/MessageCollectorAdapter.java b/idea/src/org/jetbrains/jet/plugin/compiler/MessageCollectorAdapter.java index a103b11e5c0..babee40d3de 100644 --- a/idea/src/org/jetbrains/jet/plugin/compiler/MessageCollectorAdapter.java +++ b/idea/src/org/jetbrains/jet/plugin/compiler/MessageCollectorAdapter.java @@ -42,7 +42,7 @@ class MessageCollectorAdapter implements MessageCollector { @NotNull CompilerMessageLocation location ) { CompilerMessageCategory category = category(severity); - compileContext.addMessage(category, message, location.getPath(), location.getLine(), location.getColumn()); + compileContext.addMessage(category, message, "file://" + location.getPath(), location.getLine(), location.getColumn()); if (severity == CompilerMessageSeverity.EXCEPTION) { LOG.error(message); }