Skip to content

Illegal reflective access operation with Java 11 #29

Description

@kencinder

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

Activity

  1. Kilobyte22 commented on Apr 20, 2021

    @Kilobyte22
    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.

  2. kencinder commented on Apr 23, 2021

    @kencinder
    Author

    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)
    
  3. Kilobyte22 commented on Apr 23, 2021

    @Kilobyte22
    Collaborator

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

  4. kencinder commented on Apr 24, 2021

    @kencinder
    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.

  5. Kilobyte22 commented on Jul 28, 2021

    @Kilobyte22
    Collaborator

    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.

  6. kencinder commented on Jul 29, 2021

    @kencinder
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions