ctubbsii commented on PR #3043:
URL: https://github.com/apache/thrift/pull/3043#issuecomment-2380418986

   Merely changing the source and target is not enough. You also need API 
compliance with the cross compilation to Java 8. For javac, that's what the 
`--release` flag does, in addition to setting the source and target. We need 
something similar implemented here for the Kotlin stuff. We don't actually need 
to remove the toolchain, because that's a separate matter. It's fine to keep 
the toolchain and set it to 17, like we do for Java. But we need to make sure 
the Kotlin option is set that is equivalent to the javac release flag. That's 
why I linked to the additional detailed information about that option. I'm just 
not sure the right way to use it. However, I can tell that your added commit 
doesn't do that. It only sets the source and target.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@thrift.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to