RFR: JDK-8311113: Remove invalid pointer cast and clean up setLabel() in awt_MenuItem.cpp
Harshitha Onkar
honkar at openjdk.org
Thu Aug 31 23:45:38 UTC 2023
On Thu, 31 Aug 2023 22:40:27 GMT, Phil Race <prr at openjdk.org> wrote:
> > > I'll have to check this further
> >
> >
> > It will get it via javaaccessbridge we provided(kind of native interface) and this native lib uses our a11y java code for each component.
>
> Hmm, I didn't know the AWT heavyweights participated in that. Only the Swing components. On mac, AWT components are implemented as LW so I can see it working there but not GDI. Can someone confirm Sergey is correct ?
I see the two a11y native libraries - `src/jdk.accessibility/windows/native/libjavaaccessbridge`, `src/jdk.accessibility/windows/native/libwindowsaccessbridge`. But I'm missing the part on how `AccessibleAWTMenuItem` gets mapped to a11y functionality and where does JAWS obtain label name.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/15276#issuecomment-1701916595
More information about the client-libs-dev
mailing list