Skip to content

airframe-surface: Report warnings if ClassNotFound error is observed. #923

@xerial

Description

@xerial

Currently Surface.of[X] automatically consume ClassNotFound exception and returns Surface.of[java.lang.Object] so that it will not stop user programs.

But as we hit the class loader issue like sbt/sbt#5410 and #918 this behavior makes difficult to identify what happened behind the scenes, so we should be able to report ClassNotFoundException later.

Another approach is always using an instance of SurfaceFactory initialized at the beginning so that we can use the same class loader even in Future contexts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kaizencode improvement without changing user-facing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions