Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Better Native Image Errors #5271

Open
fniephaus opened this issue Oct 21, 2022 · 0 comments
Open

Better Native Image Errors #5271

fniephaus opened this issue Oct 21, 2022 · 0 comments
Assignees
Labels

Comments

@fniephaus
Copy link
Member

fniephaus commented Oct 21, 2022

TL;DR

We are re-engineering how errors are thrown by GraalVM Native Image to further improve the developer experience.

Goals

Errors thrown by Native Image can sometimes be difficult to understand or even confusing to users. As an AOT compiler, Native Image is a non-trivial system and currently throws many different types of errors.
To further improve the developer experience, we plan to re-engineer how errors are thrown in Native Image and reported to users.
As part of this, we want to make sure that errors are always actionable, help users resolve build-time and run-time problems quicker, make it easier for them to find related issues and report new issues, and re-categorize and re-classify errors, among other efforts.

As an example, we plan to clearly distinguish between user errors (caused by users; need a clear action) and internal errors (caused by Native Image; need to be reported). As another example, the Native Image build process could generate bug reports automatically that users can copy and paste when creating a new issue.

Non-Goals

Related Pull Requests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: In Progress
Development

No branches or pull requests

1 participant