Skip to content

Illegal reflective access by processing.app.platform.LinuxPlatform #207

Closed
@processing-bot

Description

@processing-bot

Created by: benfry

The X11 WM_CLASS property which is used as the application name by Gnome3 and other window managers, so in response to processing/processing#2534, we added code to modify the name. It relies on a hack that makes a field public, so Java 11+ complains about it.

To fix, we need a more reliable way to specify the application name so that it doesn't show up as Processing.app.Base on Linux. This could be as simple as modifying the launcher script to set the WM_CLASS environment variable to Processing on startup, but someone would need to spend some time looking into it and testing any possible solution on various Linux distros.

There may also be an alternative using JNA, but on a quick look, it seemed to required a contrib library for JNA, which we probably don't want to rely on for sake of longevity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions