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:
+2
-1
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user