<Beans Dev> [PATCH] JDK-8030123: java/beans/Introspector/Test8027648.java fails

Nicholas Cull run2000 at gmail.com
Wed Jul 30 09:49:18 UTC 2014


Hi there,

I've attached a patch to address JDK-8030123. This is the bug where one of
the existing beans tests succeeds on Windows, but fails on Ubuntu/Debian
Linux.

The approach here is to change the merging code in the
IndexedPropertyDescriptor(PD, PD) constructor to be similar to the same
code in the PropertyDescriptor(PD, PD) class. In particular, use the
isAssignable() method in PropertyDescriptor to determine which method
object should be used in the final merge.

I've regression tested against the existing beans tests, on Windows and
Debian, and confirm the patch fixes the regression on Debian, while
continuing to work correctly on Windows.

Hopefully this is useful, or at least a good starting point.

Regards,

Nicholas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/beans-dev/attachments/20140730/fdde612a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: JDK-8030123.patch
Type: application/octet-stream
Size: 3588 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/beans-dev/attachments/20140730/fdde612a/JDK-8030123-0001.patch>


More information about the beans-dev mailing list