Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-dev] Fix for Bug#219995: SDO - XSD/TypeHelperDelegate define methods are not thread safe

All,

Please review the fix for the following bug and provide any feedback you may have:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=219995
Bug summary:
Since helpers are shared on a class loader basis it is possible for two threads attempt to define the same type at the same time. A number of different errors could occur, such as null pointers, multiple writable mappings, etc. To avoid this, the define methods on SDOTypeHelperDelegate and SDOXSDHelperDelegate should be synchronized.


Oracle
David McCann | Principal Software Engineer | TopLink Product
Oracle Corporation Canada
45 O'Connor Street, Suite 400
Ottawa, Ontario K1P 1A4
Canada
613.288.4636
613.238.2818 (fax)


Back to the top