Need better method than reflection for setting application name on Linux
#349 opened on Jan 16, 2022
Repository metrics
- Stars
- (439 stars)
- PR merge metrics
- (PR metrics pending)
Description
Created by: benfry
Inside LinuxPlatform, we're using reflective access to set the application name. Not a great idea but a well-known hack. This started throwing a nasty warning (that kinda looks like an error) on startup with Java 11 and 17.
That's been fixed with https://github.com/processing/processing4/commit/8e5433430e266592b83da0a68542d4d082738c38, which resolves https://github.com/processing/processing4/issues/207, which covers the warning itself.
Another detailed thread from folks looking into the same issue: https://github.com/cryptomator/cryptomator/issues/956#issuecomment-787061581
…but we need a better solution longer-term. Please help?