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.
This commit is contained in:
Ilya Chernikov
2017-07-11 09:00:38 +02:00
parent 3da5ba4efe
commit fc12f37105
12 changed files with 21 additions and 30 deletions
@@ -22,7 +22,7 @@ import java.rmi.RemoteException
interface CompilationResults : Remote {
@Throws(RemoteException::class)
fun add(compilationResultCategory: Int, value: Serializable): Void?
fun add(compilationResultCategory: Int, value: Serializable)
}
enum class CompilationResultCategory(val code: Int) {
@@ -56,13 +56,13 @@ interface CompilerCallbackServicesFacade : Remote {
fun incrementalCache_getModuleMappingData(target: TargetId): ByteArray?
@Throws(RemoteException::class)
fun incrementalCache_registerInline(target: TargetId, fromPath: String, jvmSignature: String, toPath: String): Void?
fun incrementalCache_registerInline(target: TargetId, fromPath: String, jvmSignature: String, toPath: String)
@Throws(RemoteException::class)
fun incrementalCache_getClassFilePath(target: TargetId, internalClassName: String): String
@Throws(RemoteException::class)
fun incrementalCache_close(target: TargetId): Void?
fun incrementalCache_close(target: TargetId)
@Throws(RemoteException::class)
fun incrementalCache_getMultifileFacadeParts(target: TargetId, internalName: String): Collection<String>?
@@ -73,7 +73,7 @@ interface CompilerCallbackServicesFacade : Remote {
fun lookupTracker_requiresPosition(): Boolean
@Throws(RemoteException::class)
fun lookupTracker_record(lookups: Collection<LookupInfo>): Void?
fun lookupTracker_record(lookups: Collection<LookupInfo>)
@Throws(RemoteException::class)
fun lookupTracker_isDoNothing(): Boolean
@@ -25,7 +25,7 @@ interface CompilerServicesFacadeBase : Remote {
* Reports different kind of diagnostic messages from compile daemon to compile daemon clients (jps, gradle, ...)
*/
@Throws(RemoteException::class)
fun report(category: Int, severity: Int, message: String?, attachment: Serializable?): Void?
fun report(category: Int, severity: Int, message: String?, attachment: Serializable?)
}
enum class ReportCategory(val code: Int) {
@@ -22,7 +22,7 @@ import java.rmi.RemoteException
interface RemoteInputStream : Remote {
@Throws(RemoteException::class)
fun close(): Void?
fun close()
@Throws(RemoteException::class)
fun read(length: Int): ByteArray
@@ -22,8 +22,8 @@ import java.rmi.RemoteException
interface RemoteOperationsTracer : Remote {
@Throws(RemoteException::class)
fun before(id: String): Void?
fun before(id: String)
@Throws(RemoteException::class)
fun after(id: String): Void?
fun after(id: String)
}
@@ -22,11 +22,11 @@ import java.rmi.RemoteException
interface RemoteOutputStream : Remote {
@Throws(RemoteException::class)
fun close(): Void?
fun close()
@Throws(RemoteException::class)
fun write(data: ByteArray, offset: Int, length: Int): Void?
fun write(data: ByteArray, offset: Int, length: Int)
@Throws(RemoteException::class)
fun write(dataByte: Int): Void?
fun write(dataByte: Int)
}