5c5367d377
The following updates in the JVM/IR plugin were made: * Lots of refactoring with preparation for K/N support: commonization of transformations. * Improved error handling (checks for visibility constraints, appending message about usage constraints in case of an error). * Explicit requirements for the visibility of atomic properties: to prevent leaking they should be private/internal or be members of private/internal classes. * Fixed visibility of generated properties: volatile properties are always private and atomic updaters have the same visibility as the original atomic property. * Volatile fields are generated from scratch and original atomic properties are removed. * Delegated properties support is fixed (only declaration in the same scope is allowed). * Non-inline atomic extensions are forbidden. * For top-level atomics: only one wrapper class per file (with corresponding visibility) is generated. * Bug fixes. The corresponding tickets: https://github.com/Kotlin/kotlinx-atomicfu/issues/322 KT-60528 Merge-request: KT-MR-10579 Merged-by: Maria Sokolova <maria.sokolova@jetbrains.com>
27 lines
1.2 KiB
Plaintext
Vendored
27 lines
1.2 KiB
Plaintext
Vendored
@kotlin.Metadata
|
|
final class IndexArrayElementGetterTest$AtomicArrayClass {
|
|
// source: 'IndexArrayElementGetterTest.kt'
|
|
private synthetic final field intArr: java.util.concurrent.atomic.AtomicIntegerArray
|
|
private synthetic final field longArr: java.util.concurrent.atomic.AtomicLongArray
|
|
public method <init>(): void
|
|
public synthetic final method getIntArr(): java.util.concurrent.atomic.AtomicIntegerArray
|
|
public synthetic final method getLongArr(): java.util.concurrent.atomic.AtomicLongArray
|
|
private final inner class IndexArrayElementGetterTest$AtomicArrayClass
|
|
}
|
|
|
|
@kotlin.Metadata
|
|
public final class IndexArrayElementGetterTest {
|
|
// source: 'IndexArrayElementGetterTest.kt'
|
|
private final @org.jetbrains.annotations.NotNull field clazz: IndexArrayElementGetterTest$AtomicArrayClass
|
|
public method <init>(): void
|
|
public final method fib(p0: int): int
|
|
public final method testIndexArrayElementGetting(): void
|
|
private final inner class IndexArrayElementGetterTest$AtomicArrayClass
|
|
}
|
|
|
|
@kotlin.Metadata
|
|
public final class IndexArrayElementGetterTestKt {
|
|
// source: 'IndexArrayElementGetterTest.kt'
|
|
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
|
}
|