processing/processing4

Need better method than reflection for setting application name on Linux

Open

#349 aperta il 16 gen 2022

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)Java (176 fork)auto 404
help wantedlinux

Metriche repository

Star
 (439 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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?

Guida contributor