-
Bug
-
Resolution: Fixed
-
P3
-
8u25
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8083991 | emb-9 | Vivi An | P3 | Resolved | Fixed | team |
JDK-8086795 | 8u65 | Vivi An | P3 | Resolved | Fixed | b01 |
JDK-8138111 | emb-8u65 | Unassigned | P3 | Resolved | Fixed | b01 |
Some code that was added to javax.swing.JComponent.java in jdk 1.6.0 was
inadvertently left out of jdk 1.8.0.
The code corrected a problem by which as new property listeners are added,
and exponential recursive list of propertyListeners are no longer added.
Comparing JComponent.java from jdk 1.7.0.71 and jdk 1.8.0.40.0b19, the
following code is missing from the jdk 1.8.0 version:
diff command:
diff jdk7\JComponent.java jdk8\JComponent
yields:
3744,3747d3740
< if (accessibleFocusHandler == null) {
< accessibleFocusHandler = new AccessibleFocusHandler();
< JComponent.this.addFocusListener(accessibleFocusHandler);
< }
This code should appear at the beginning of the addPropertyChangeListener
method.
With this code missing, it renders JDeveloper unusable because of the exponential adding of propertyChangeListeners which eventually simply causes the jvm to stop working.
inadvertently left out of jdk 1.8.0.
The code corrected a problem by which as new property listeners are added,
and exponential recursive list of propertyListeners are no longer added.
Comparing JComponent.java from jdk 1.7.0.71 and jdk 1.8.0.40.0b19, the
following code is missing from the jdk 1.8.0 version:
diff command:
diff jdk7\JComponent.java jdk8\JComponent
yields:
3744,3747d3740
< if (accessibleFocusHandler == null) {
< accessibleFocusHandler = new AccessibleFocusHandler();
< JComponent.this.addFocusListener(accessibleFocusHandler);
< }
This code should appear at the beginning of the addPropertyChangeListener
method.
With this code missing, it renders JDeveloper unusable because of the exponential adding of propertyChangeListeners which eventually simply causes the jvm to stop working.
- backported by
-
JDK-8083991 JComponent.AccessibleJComponent.addPropertyListeners adds exponential listeners
-
- Resolved
-
-
JDK-8086795 JComponent.AccessibleJComponent.addPropertyListeners adds exponential listeners
-
- Resolved
-
-
JDK-8138111 JComponent.AccessibleJComponent.addPropertyListeners adds exponential listeners
-
- Resolved
-
- relates to
-
JDK-7179482 Component.accessibleContext and JComponent.accessibleContext refactoring
-
- Closed
-