https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
y

yoavst

08/18/2017, 1:59 PM
u

udalov

08/21/2017, 2:05 PM
val protocol
should not work,
fun getProtocol
should work. If it doesn't, please create a new issue (it seems unrelated to KT-17005 to me)
y

yoavst

08/21/2017, 4:01 PM
I'm getting
Could not connect to Kotlin compile daemon
and
e: java.lang.ClassNotFoundException: com.sun.tools.javac.util.Context
. Does it have any connection to the issue or problem on my side?
In the meanwhile:

https://image.prntscr.com/image/awenrBf4SHyY9DwsFpYYcg.png

u

udalov

08/22/2017, 3:31 AM
Does it have any connection to the issue or problem on my side?
I don't think so
If it's not too much trouble, please report both problems at kotl.in/issue. Thanks!
y

yoavst

08/22/2017, 7:21 AM
About the
ClassNotFoundError
issue: Java upgrade broke the path, so tools.jar wasn't in it anymore for me. Fixed it.
@udalov seems like the problem is: https://youtrack.jetbrains.com/issue/KT-17944 . Is it going to be fixed on 1.2?
u

udalov

08/22/2017, 7:35 AM
Indeed it looks like KT-17944. Does it work if you specify
open fun getProtocol
in the header class?
Is it going to be fixed on 1.2?
I can't say anything certain about timeframes at this point, but in any case, the multiplatform projects work is entirely experimental and thus is not aligned with our release cycles. E.g. if it doesn't make it in 1.2, it can make it into 1.2.1, so you wouldn't have to wait a long time for the next major release
y

yoavst

08/22/2017, 7:56 AM
Yea open works