Invalid java classname in GzipSource.kt
nasrajan opened this issue · comments
Hi,
Some of our java class name validation tests are flagging the jvmName "-GzipSourceExtensions" in GzipSource.kt. Can this be changed to a valid class name?
Thanks.
It's meant to be invalid in Java as it's for Kotlin users only.
If the class has the synthetic bit set does the tool still complain?
Mine is a gradle project. Okio is brought in by okhttp with:
manage 'com.squareup.okhttp3:okhttp', '4.11.0'
The resulting java classpath has the above discussed classes starting with "-". Is there a way I can exclude them?
No, because they contain methods that OkHttp or other libraries written in Kotlin may link to in their bytecode.
No action to take on this.