EVALUATION
This regression is introduced by CR 7068047 ("DnDMerlinQLTestsuite_DnDJTextArea test fails with an java.awt.dnd.InvalidDnDOperationException"). The faulty method is AWTKeyStroke.readResolve():
protected Object readResolve() throws java.io.ObjectStreamException {
synchronized (AWTKeyStroke.class) {
Class newClass = getClass();
Class awtKeyStrokeClass = getAWTKeyStrokeClass();
if (!newClass.equals(awtKeyStrokeClass)) {
registerSubclass(newClass);
}
return getCachedStroke(keyChar, keyCode, modifiers, onKeyRelease);
}
}
Judging from the exception stack trace, newClass is invalid and registerSubclass(newClass) fails, triggering an exception.
|