<Swing Dev> [13] JDK-8216008: -Djavax.accessibility.assistive_technologies empty list leads to crash

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Thu Jan 3 22:17:57 UTC 2019


Hi, Shashi.
I think you can update an existing test:
open/test/jdk/javax/accessibility/AccessibilityProvider/basic.sh

On 03/01/2019 01:36, Shashidhara Veerabhadraiah wrote:
> Hi All, Please review a fix for the below bug.
> 
> Bug: https://bugs.openjdk.java.net/browse/JDK-8216008
> 
> Webrev: http://cr.openjdk.java.net/~sveerabhadra/8216008/webrev.00/
> 
> Since the mentioned list of assistive technologies for the system property(javax.accessibility.assistive_technologies) is loaded by jvm am unable to write a test case for this bug. The test file attached with the bug can be used for testing this fix.
> 
> This fix removes the error(class not found error) by passing an empty list to system variable javax.accessibility.assistive_technologies and does not load any assistive technologies(as the list is empty). Currently empty list produce a crash which is not required as there was no class name mentioned in the list. Please read the bug comments for more information.
> 
> Thanks and regards,
> 
> Shashi
> 


-- 
Best regards, Sergey.


More information about the swing-dev mailing list