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
Illegal reflective access by processing.app.platform.LinuxPlatform #207
Comments
processing.app.platform.LinuxPlatform
processing.app.platform.LinuxPlatform|
Is this issue the reason for #333? |
|
I don't think so—I believe this is a benign problem that we just need to deal with at some point. |
|
To be clear: this is a warning (just like the message says in all caps, I guess), not an error that will break the software (for now). But I'd still like to address the issue it's complaining about. |
|
This issue has been automatically locked. To avoid confusion with reports that have already been resolved, closed issues are automatically locked 30 days after the last comment. Please open a new issue for related bugs. |
The X11
WM_CLASSproperty which is used as the application name by Gnome3 and other window managers, so in response to processing/processing#2534, we added code to modify the name. It relies on a hack that makes a fieldpublic, so Java 11+ complains about it.To fix, we need a more reliable way to specify the application name so that it doesn't show up as
Processing.app.Baseon Linux. This could be as simple as modifying the launcher script to set theWM_CLASSenvironment variable toProcessingon startup, but someone would need to spend some time looking into it and testing any possible solution on various Linux distros.There may also be an alternative using JNA, but on a quick look, it seemed to required a contrib library for JNA, which we probably don't want to rely on for sake of longevity.
The text was updated successfully, but these errors were encountered: