Skip to content

Cannot initialize GTK colors on Linux #365

Description

@thurka

Running VisualVM on Linux with GTK L&F on JDK 17 produces the following warning in the log file:
Cannot initialize GTK colors - using hardcoded defaults: java.lang.reflect.InaccessibleObjectException: Unable to make protected abstract java.awt.Color javax.swing.plaf.synth.SynthStyle.getColorForState(javax.swing.plaf.synth.SynthContext,javax.swing.plaf.synth.ColorType) accessible: module java.desktop does not "opens javax.swing.plaf.synth" to unnamed module @42dd9b

see GH-364 for complete messages.log file.

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions