Skip to content

[Bug] Random warnings for unresolved java.io.Serializable from commonMain #4554

Description

@juliamcclellan

What is happening? What should have happened instead?

I'm seeing a number of lines logged with WARN: `java.io.Serializable` is unresolved in [some location] for seemingly random lines in the commonMain source set (there is no direct reference to java.io.Serializable). This is for a KMP project with at least one js or native target in addition to a jvm target.

This happens starting with 2.3.0-dev-426.

Reproducer

Some example lines which trigger the warning:

typealias LongType = Long
enum class CommonEnum
expect class FooException : Exception

Dokka version

2.3.0-dev-426

Kotlin Gradle Plugin (KGP) version

No response

Android Gradle Plugin (AGP) version (if applicable)

No response

Build tool

Gradle

Project type

  • Kotlin Multiplatform (KMP)
  • Android
  • JVM
  • Other

Anything else? (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions