jps: CompiledClass accepts multiple source files
[idea/community.git] / jps / jps-builders / src / org / jetbrains / jps / incremental / instrumentation / BaseInstrumentingBuilder.java
index f9adb5df9cebe2dd261a168b9323d37f3f5bfea9..fffa64cb6ccbb5903a8c0bb48e3d1708efada2df 100644 (file)
@@ -72,7 +72,7 @@ public abstract class BaseInstrumentingBuilder extends ClassProcessingBuilder {
         LOG.info(e);
         final String message = e.getMessage();
         if (message != null) {
-          context.processMessage(new CompilerMessage(getPresentableName(), BuildMessage.Kind.ERROR, message, compiledClass.getSourceFile().getPath()));
+          context.processMessage(new CompilerMessage(getPresentableName(), message, compiledClass.getSourceFilesPaths(), BuildMessage.Kind.ERROR));
         }
         else {
           context.processMessage(new CompilerMessage(getPresentableName(), e));