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 compiler errors #85

Open
jwhpryor opened this issue Mar 8, 2023 · 0 comments
Open

Better compiler errors #85

jwhpryor opened this issue Mar 8, 2023 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@jwhpryor
Copy link
Collaborator

jwhpryor commented Mar 8, 2023

JNI Bind fails to compile (by design) when invalid arguments are passed, or names are used. While this is helpful to avoid making mistakes, the error messages are incomprehensible.

When an invalid method is called, and the name is incorrect, something like the following should be emitted in the compiler error for faster scanning:


  • Jni Bind Failure

Method Foo does not exist.

The following signatures are available:
Fooz ( int , int ) ;
Fooz ( float , int ) ;


This will not be completed for Release 1.0.

@jwhpryor jwhpryor added this to the Release 1.4 milestone Mar 18, 2024
@jwhpryor jwhpryor added the enhancement New feature or request label Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant