-
Notifications
You must be signed in to change notification settings - Fork 2
Mute warnings for using deprecated and unsafe methods #22
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
Conversation
|
@jeff5 , this is the next PR to prioritize. The fix supresses these two warning messages when Java 24 or Java 25 is detected: Also see https://openjdk.org/jeps/498 |
|
Console output when using Java 23 Console output when using Java 24 Console output when using Java 25 |
|
I'm broadly against suppressing warnings. This code will break in a later version of Java: best not pretend otherwise. Thanks however for testing. If you have a way of avoiding the problem they warn us of, that's a different matter. |
|
This is a warning message for the developers of Jython, and not the users of Jython. It says that an updated version of jffi is needed and this seems to be work in progress: jnr/jffi#165 Why bother the Jython user with warnings, if they can do nothing about it and it also do not affect them at the moment? It makes for a cleaner user experience, so that is why I am in favour of suppressing these two warning (for now). |
It's so they know it will break if they move up to Java 26, and they can press JNR/JFFI. I'm pretty sure this is what's in the mind of the JDK developers. |
Fixes #21 when using Java 24 or Java 25