Skip to content

Commit

Permalink
AgentInstallationType: Mark as @PublishedApi, as we want to keep the …
Browse files Browse the repository at this point in the history
…API stable

... as it has known usages in products which we do not want to break
  • Loading branch information
sellmair committed Oct 21, 2024
1 parent 859f945 commit faa26b8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 4 additions & 0 deletions kotlinx-coroutines-core/api/kotlinx-coroutines-core.api
Original file line number Diff line number Diff line change
Expand Up @@ -911,6 +911,10 @@ public final class kotlinx/coroutines/channels/TickerMode : java/lang/Enum {
public static fun values ()[Lkotlinx/coroutines/channels/TickerMode;
}

public final class kotlinx/coroutines/debug/internal/AgentInstallationType {
public static final field INSTANCE Lkotlinx/coroutines/debug/internal/AgentInstallationType;
}

public final class kotlinx/coroutines/debug/internal/DebugCoroutineInfo {
public final fun getContext ()Lkotlin/coroutines/CoroutineContext;
public final fun getCreationStackTrace ()Ljava/util/List;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ package kotlinx.coroutines.debug.internal
* Otherwise, access to `AgentPremain.isInstalledStatically` triggers the load of its internal `ClassFileTransformer`
* that is not available on Android.
*
* Usage Note: Fleet (Reflection): FleetDebugProbes
* Usage Note: Android (Hard Coded, ignored for Leak Detection)
* Usage Note: IntelliJ (Suppress KotlinInternalInJava): CoroutineDumpState
* The entity (despite being internal) has usages in the following products
* - Fleet (Reflection): FleetDebugProbes
* - Android (Hard Coded, ignored for Leak Detection)
* - IntelliJ (Suppress KotlinInternalInJava): CoroutineDumpState
*/
@PublishedApi
internal object AgentInstallationType {
internal var isInstalledStatically = false
}

0 comments on commit faa26b8

Please sign in to comment.