<AWT Dev> RFR: 8256109: Create implementation for NSAccessibilityButton protocol [v2]
Alexander Zuev
kizune at openjdk.java.net
Wed Jan 13 06:06:02 UTC 2021
On Wed, 13 Jan 2021 03:02:04 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
>> Yes, since the CommonComponentAccessibility being imported from the base class sometimes it causes compilation glitches - guess ObjC is not a big fan of forward-declaration. Adding header guard helps. And since i'm not planning to include sub-component header files in the base classes the ifdef guard is not required.
>
> The headers in the obj-c usually do not have guards because they are included via "#import"
I know. But in this case that was not enough - that still caused weird compilation glitches like full compilation works but incremental calculation gives compilation error about usage of non-initialized variables. Guards helped.
-------------
PR: https://git.openjdk.java.net/jdk/pull/1549
More information about the awt-dev
mailing list