mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
Fix JvmRuntimeDescriptorLoaderTestGenerated
- Use FULL_JDK instead of mock JDK in some tests because mock JDK is created from JDK 6 and full JDK is now JDK 8, so there are differences in the behavior in the compiler and at runtime - Remove some '*.runtime.txt' files which were workarounds to JDK 6 reflection issues regarding generic inner classes; code in these tests is now loaded exactly the same in the compiler and at runtime - Change supertype in SupertypesAndBounds.kt: the class in the supertype is not relevant to that test, it checks that annotations can be loaded on types
This commit is contained in:
committed by
Dmitry Jemerov
parent
3c96099f7c
commit
33e9e660c4
@@ -1,28 +0,0 @@
|
||||
package test
|
||||
|
||||
public open class InnerOfGeneric {
|
||||
public constructor InnerOfGeneric()
|
||||
|
||||
public abstract inner class A</*0*/ K : kotlin.Any!> {
|
||||
public constructor A</*0*/ K : kotlin.Any!>()
|
||||
|
||||
public abstract inner class Inner /*captured type parameters: /*0*/ K : kotlin.Any!*/ : test.InnerOfGeneric.S<K!> {
|
||||
public constructor Inner()
|
||||
public open override /*1*/ /*fake_override*/ fun iterator(): kotlin.collections.(Mutable)Iterator<K!>!
|
||||
}
|
||||
}
|
||||
|
||||
public open inner class B</*0*/ L : kotlin.Any!> : test.InnerOfGeneric.A<L!> {
|
||||
public constructor B</*0*/ L : kotlin.Any!>()
|
||||
|
||||
public open inner class SubInner /*captured type parameters: /*0*/ L : kotlin.Any!*/ : test.InnerOfGeneric.A<kotlin.Any!>.Inner {
|
||||
public constructor SubInner()
|
||||
public open override /*1*/ fun iterator(): kotlin.collections.(Mutable)Iterator<L!>!
|
||||
}
|
||||
}
|
||||
|
||||
public open inner class S</*0*/ E : kotlin.Any!> {
|
||||
public constructor S</*0*/ E : kotlin.Any!>()
|
||||
public open operator fun iterator(): kotlin.collections.(Mutable)Iterator<E!>!
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user