Class reflection get incorrect class name

Hi,

MainActivity_ is subclass of MainActivity

java code generate the correct class name

    CDAppLogger.d("MainActivity_ " + MainActivity_.class.getCanonicalName());  => com.example.ui.home.MainActivity_
    CDAppLogger.d("MainActivity " + MainActivity.class.getCanonicalName()); => com.example.ui.home.MainActivity

but same converted Kotlin code gives me same class name

    CDAppLogger.d("MainActivity_ " + MainActivity_::class.java.canonicalName) => com.example.ui.home.MainActivity
    CDAppLogger.d("MainActivity " + MainActivity::class.java.canonicalName)=> com.example.ui.home.MainActivity

Android Studio 3.0 Canary 8, Build #AI-171.4195411, built on July 20, 2017
JRE: 1.8.0_152-release-884-b01 x86_64
JVM: OpenJDK 64-bit Server VM by JetBrains s.r.o

Kotlin language support Version: 1.1.3-release-Studio3.0-2

Thanks

I was not able to reproduce the problem. Please ensure you have rebuilt everything and haven’t missed anything in the output. If the issue persists, please report it directly to the issue tracker.

Maybe it’s because of the configuration of Android gradle file.

I will try to minimise the scope of problem and report it to the issue tracker.

Thanks @udalov