Details
-
Bug
-
Resolution: Unresolved
-
P4
-
9
-
None
Description
public SynthContext constructor does not allow to use null arguments: @throws NullPointerException if component, region of style is null.
However, SynthLabelUI uses the SynthContext.getContext() method with null style.
Steps to reproduce:
- run a conditional breakpoint to SynthContext.getContext() method
- debug SwingSet2 application
- select Nimbus L&F
The SynthContext.getContext() method is called with null style.
However, SynthLabelUI uses the SynthContext.getContext() method with null style.
Steps to reproduce:
- run a conditional breakpoint to SynthContext.getContext() method
- debug SwingSet2 application
- select Nimbus L&F
The SynthContext.getContext() method is called with null style.
Attachments
Issue Links
- relates to
-
JDK-8132791 No access to SynthContext.getContext()
- Resolved