This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 253694

Summary: Bad accessibility in "Introduce Function" window
Product: cnd Reporter: soldatov <soldatov>
Component: -- Other --Assignee: Alexander Simon <alexvsimon>
Status: RESOLVED FIXED    
Severity: normal Keywords: A11Y
Priority: P3    
Version: 8.1   
Hardware: PC   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:

Description soldatov 2015-07-23 15:42:46 UTC
Call "Introduce Function" window (Refactor|Introduce Function... menu item)

Our A11y checker fails with StackOverflowError on "Return Type" label
java.lang.StackOverflowError
<------>at javax.swing.ArrayTable.get(ArrayTable.java:150)
<------>at javax.swing.JComponent.getClientProperty(JComponent.java:4046)
<------>at javax.swing.JComponent.getToolTipText(JComponent.java:3020)
<------>at javax.swing.JLabel$AccessibleJLabel.getToolTipText(JLabel.java:1555)
<------>at javax.swing.JComponent$AccessibleJComponent.getAccessibleDescription(JComponent.java:3870)
<------>at javax.swing.JComponent$AccessibleJComponent.getAccessibleDescription(JComponent.java:3891)
<------>at javax.swing.JComponent$AccessibleJComponent.getAccessibleDescription(JComponent.java:3891)
<------>at javax.swing.JComponent$AccessibleJComponent.getAccessibleDescription(JComponent.java:3891)

Also I see Alt-R shortcut doesn't work
Comment 1 Alexander Simon 2015-07-23 16:36:02 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/780715229e8b
Comment 2 Quality Engineering 2015-07-24 01:18:47 UTC
Integrated into 'main-silver', will be available in build *201507240001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/780715229e8b
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug 253694 - Bad accessibility in "Introduce Function" window