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

Illegal reflective access operation with Java 11 #29

Open
kencinder opened this issue Apr 19, 2021 · 6 comments
Open

Illegal reflective access operation with Java 11 #29

kencinder opened this issue Apr 19, 2021 · 6 comments

Comments

@kencinder
Copy link

Yes, still making use of this excellent tool, but have now moved to Java 11. Working fine, but may not on newer than 11.

PackUpdateUpdater Version: 3.0
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by at.chaosfield.updaterupdater.UpdaterClassLoader (file:/PackUpdateUpdater.jar) to method java.net.URLClassLoader.addURL(java.net.URL)
WARNING: Please consider reporting this to the maintainers of at.chaosfield.updaterupdater.UpdaterClassLoader
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
@Kilobyte22
Copy link
Collaborator

This is a bug affecting the self-updater. I have pushed an update, can you please check with the latest release from https://github.com/XDjackieXD/PackUpdateUpdater/releases? You can do this by either manually swapping out the self-updater or by generatring a new instance zip file.

@kencinder
Copy link
Author

kencinder commented Apr 23, 2021

That warning appears to have been fixed, and things are working fine, I'm seeing this now though.

Apr. 23, 2021 2:12:35 P.M. org.jline.utils.Log logr
WARNING: Unable to create a system terminal, creating a dumb terminal (enable debug logging for more information)

@Kilobyte22
Copy link
Collaborator

Kilobyte22 commented Apr 23, 2021

What platform is that on?
Also are you testing Client, Server or Generate?

@kencinder
Copy link
Author

This is on Windows 10, on a test server I have set up.

I put the new version on my production server that runs Debian Linux headless and I don't see it there.

@Kilobyte22
Copy link
Collaborator

Kilobyte22 commented Jul 28, 2021

Ah, this is a windows specific thing.

Windows does not support unix style ttys, and appachently jline does not support the windows specific APIs (probably because they don't allow what it wants). There is no real issue, except that progress bars may look ugly. I may look into this in the future, but its probably not worth it.

I'll keep the issue open for now, but i doubt many servers run on windows. Also you can tell packupdate to use the gui used on the client for the server side as well. You might want to do that on windows.

@kencinder
Copy link
Author

Doesn't bother me any, just something I noticed on my test server, feel free to close.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants