Details
Description
There is a strange behaviour with the method getImplementedInterfaces().
According to the Java API sources, this class implements seven interfaces :
- MouseListener,
- MouseMotionListener,
- FocusListener,
- ChangeListener,
- PropertyChangeListener,
- SynthEventListener,
- LazyActionMap.Loader.
So the result to the getImplementedInterfaces() metho call returns an array with seven JavaClasses slots. However the first slot is null.
It appear that the six following JavaClasses slots represent the first six interfaces (MouseListener, MouseMotionListener,FocusListener, ChangeListener, PropertyChangeListener and SynthEventListener)
It means that the DefaultClassLoader cannot find the LazyActionMap.Loader interface located in the same package as the SynthButtonListener. That is to say com.sun.java.swing.plaf.gtk.
It may be cause of the fact the Loader interface is an inner interface.
Is there a solution ?
Activity
Field | Original Value | New Value |
---|---|---|
Assignee | Mike Williams [ mdub ] |
Fix Version/s | 1.4 [ 10304 ] | |
Component/s | Java API [ 10125 ] |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Most likely because it's an inner-class; inner-class resolution is slightly broken right now (see
QDOX-29).