jigsaw and accessibility extensions

Alan Bateman Alan.Bateman at oracle.com
Mon Feb 6 10:06:52 UTC 2017


On 06/02/2017 09:40, Michał Zegan wrote:

> Hello.
>
> Will java9 prevent accessibility extensions from working?
> Specifically, what I mean is the java access bridge enabling
> screenreaders to read java swing apps, that is along with jaccess.jar
> installed as an extension currently in jdk8.
> I also mean any 3'rd party bridge such as a bridge for linux system
> called java-atk-wrapper.
>
If by "extensions" then you mean the extension mechanism where you can 
drop JAR files into the JDK's "lib/ext" directory then that mechanism 
has been removed. JEP 220 [1] has more on that.

As regards assistive technologies then you probably should check out the 
new SPI mechanism in javax.accessibility.AccessibilityProvider as that 
is the way to deploy with alternative or platform specific magnifiers 
and screen readers. The java.awt.Toolkit.getDefaultToolkit() method has 
some information on how this is configured. The jdk.accessibility module 
is probably also of interest as that has the Java Access Bridge.

If you have follow-up questions on deploying accessibility providers 
then it's probably best to follow-up on the awt-dev mailing list.

-Alan

[1] http://openjdk.java.net/jeps/220


More information about the jigsaw-dev mailing list