mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 15:53:37 +00:00
BoxWithJava tests now by default are loaded with the classloader which has test's classpath in itself, as in the former ClassPathInTheSameClassLoaderTest
12 lines
200 B
Kotlin
12 lines
200 B
Kotlin
package protectedPack
|
|
|
|
class Derived(): protectedStaticClass() {
|
|
fun test(): String {
|
|
return protectedStaticClass.Inner().foo()!!
|
|
}
|
|
}
|
|
|
|
fun box(): String {
|
|
return Derived().test()
|
|
}
|