Get rid of kotlin.Unit usage in RMI interfaces

attempt to fight mysterous "Cannot instantiate kotlin.Unit" exception.
This commit is contained in:
Ilya Chernikov
2017-07-03 12:39:59 +02:00
parent 06d27a9efa
commit 21eed9ee78
12 changed files with 30 additions and 21 deletions
@@ -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
}
}