Skip to content

Kotlin @JvmField internal fields not being removed #954

@jpobst

Description

@jpobst

Context: https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-core/jvm/src/scheduling/Tasks.kt

When binding org.jetbrains.kotlinx.kotlinx-coroutines-core-jvm, the following Kotlin-internal fields are not being marked as private in the Java API.

  • /api/package[@name='kotlinx.coroutines.scheduling']/class[@name='TasksKt']/field[@name='BlockingContext']
  • /api/package[@name='kotlinx.coroutines.scheduling']/class[@name='TasksKt']/field[@name='NonBlockingContext']

This causes an issue because their type is a Kotlin-internal interface which is being removed from the Java API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugComponent does not function as intendedgeneratorIssues binding a Java library (generator, class-parse, etc.)

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions