Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
xerial opened this issue Feb 2, 2020 · 0 comments
Open
Labels
kaizen code improvement without changing user-facing functionality
Milestone

Comments

@xerial
Copy link
Member

xerial commented Feb 2, 2020

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.

@xerial xerial added the kaizen code improvement without changing user-facing functionality label Feb 2, 2020
@xerial xerial added this to the Airframe 20 milestone Mar 17, 2020
@xerial xerial mentioned this issue Dec 4, 2020
90 tasks
@xerial xerial modified the milestones: Airframe 20, Airframe 21 Dec 4, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
kaizen code improvement without changing user-facing functionality
Projects
None yet
Development

No branches or pull requests

1 participant