JDK-8261430 : Remove redundant #ifndef HEADLESS checks from metal native code
Type:Bug
Component:client-libs
Sub-Component:2d
Affected Version:internal
Priority:P4
Status:Resolved
Resolution:Fixed
OS:os_x
CPU:x86_64
Submitted:2021-02-09
Updated:2021-02-09
Resolved:2021-02-09
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
Files in macosx/native/libawt_lwawt/java2d/metal directory have redundant #ifndef HEADLESS checks. Please remove them.
This was identified as part of code review in https://github.com/openjdk/jdk/pull/2403