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

Implement Runtime.Context.Dataflow_Stack_Trace for dataflow errors thrown from Java #10712

Open
GregoryTravis opened this issue Jul 29, 2024 · 0 comments
Assignees
Labels
-compiler p-low Low priority

Comments

@GregoryTravis
Copy link
Contributor

This is part 2 of #8665. Part 1 is #9625.

Dataflow errors thrown from Java (for example, from an Enso callback invoked from Java) do not respect the value of Context.Dataflow_Stack_Trace, since Stateis not available at the throw site. This is becauseState` is threaded explicitly through interpreter calls, but not everywhere.

While adding more State threading might solve this, a better solution is to solve #7117 by keeping State in ContextThreadLocal.

@GregoryTravis GregoryTravis self-assigned this Jul 29, 2024
@GregoryTravis GregoryTravis moved this from ❓New to 📤 Backlog in Issues Board Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
-compiler p-low Low priority
Projects
Status: 📤 Backlog
Development

No branches or pull requests

1 participant