Rolling back commits related to Unit -> Void? confersion in RMI interface

since it breaks the compatibility and doesn't actually help - the problem
with NoClassDef Unit is apparently elsewhere.

Original commit: fc12f37105
This commit is contained in:
Ilya Chernikov
2017-07-11 09:00:38 +02:00
parent 3f0e3902f0
commit ba786ee7e2
@@ -32,10 +32,9 @@ internal class JpsCompilerServicesFacadeImpl(
port),
JpsCompilerServicesFacade {
override fun report(category: Int, severity: Int, message: String?, attachment: Serializable?): Void? {
override fun report(category: Int, severity: Int, message: String?, attachment: Serializable?) {
env.messageCollector.reportFromDaemon(
{ outFile, srcFiles -> env.outputItemsCollector.add(srcFiles, outFile) },
category, severity, message, attachment)
return null
}
}