Visitar URL original
Resolve “Successfully created” chatter and “illegal reflective access” errors from launch4j · Issue #137 · processing/processing4 · GitHub
The Wayback Machine - https://web.archive.org/web/20201107175237/https://github.com/processing/processing4/issues/137
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

Resolve “Successfully created” chatter and “illegal reflective access” errors from launch4j #137

Open
benfry opened this issue Sep 25, 2020 · 0 comments

Comments

@benfry
Copy link
Member

@benfry benfry commented Sep 25, 2020

When exporting an application for Windows, launch4j puts the following out to stderr, so we get red text in the console:

Compiling resources
Linking
Successfully created /path/to/sketch_200925b/application.windows64/sketch_200925b.exe

Would be good to shut this off, but we can't just ignore stderr since it may contain actual debug information.

Further, other warnings are generated during the process:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.thoughtworks.xstream.core.util.Fields (file:/path/to/Processing.app/Contents/Java/modes/java/application/launch4j/lib/xstream.jar) to field java.util.Properties.defaults
WARNING: Please consider reporting this to the maintainers of com.thoughtworks.xstream.core.util.Fields
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

which seems a little more important to actually resolve, though users won't see this unless they're looking at the system console.

@benfry benfry changed the title Reduce chatter from launch4j, handle warnings Resolve “Successfully created” chatter and “illegal reflective access” errors from launch4j Sep 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.