Get rid of kotlin.Unit usage in RMI interfaces

attempt to fight mysterous "Cannot instantiate kotlin.Unit" exception.

Original commit: 21eed9ee78
This commit is contained in:
Ilya Chernikov
2017-07-03 12:39:59 +02:00
parent a30506e404
commit 6ce3d5adc1
@@ -32,9 +32,10 @@ internal class JpsCompilerServicesFacadeImpl(
port),
JpsCompilerServicesFacade {
override fun report(category: Int, severity: Int, message: String?, attachment: Serializable?) {
override fun report(category: Int, severity: Int, message: String?, attachment: Serializable?): Void? {
env.messageCollector.reportFromDaemon(
{ outFile, srcFiles -> env.outputItemsCollector.add(srcFiles, outFile) },
category, severity, message, attachment)
return null
}
}