Use Void instead of Unit in RMI calls, should fix EA-82064
("Could not initialize class Kotlin.Unit")
(cherry picked from commit b3a1311)
This commit is contained in:
+2
-1
@@ -80,9 +80,10 @@ open class CompilerCallbackServicesFacadeServer(
|
|||||||
|
|
||||||
override fun lookupTracker_isDoNothing(): Boolean = lookupTracker_isDoNothing
|
override fun lookupTracker_isDoNothing(): Boolean = lookupTracker_isDoNothing
|
||||||
|
|
||||||
override fun compilationCanceledStatus_checkCanceled() {
|
override fun compilationCanceledStatus_checkCanceled(): Void? {
|
||||||
try {
|
try {
|
||||||
compilationCanceledStatus!!.checkCanceled()
|
compilationCanceledStatus!!.checkCanceled()
|
||||||
|
return null
|
||||||
}
|
}
|
||||||
catch (e: Exception) {
|
catch (e: Exception) {
|
||||||
// avoid passing exceptions that may have different serialVersionUID on across rmi border
|
// avoid passing exceptions that may have different serialVersionUID on across rmi border
|
||||||
|
|||||||
+1
-1
@@ -81,7 +81,7 @@ interface CompilerCallbackServicesFacade : Remote {
|
|||||||
// ----------------------------------------------------
|
// ----------------------------------------------------
|
||||||
// CompilationCanceledStatus
|
// CompilationCanceledStatus
|
||||||
@Throws(RemoteException::class, RmiFriendlyCompilationCanceledException::class)
|
@Throws(RemoteException::class, RmiFriendlyCompilationCanceledException::class)
|
||||||
fun compilationCanceledStatus_checkCanceled(): Unit
|
fun compilationCanceledStatus_checkCanceled(): Void?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user