Closed glassfishrobot closed 15 years ago
Reported by najmi
najmi said: Created an attachment (id=12) Patch that fixes issue 17
lexi said: Done in 0.4.1.3.
File: issue-17-patch.txt Attached By: najmi
Was assigned to lexi
This issue was imported from java.net JIRA JAXB2_COMMONS-17
Marked as fixed on Sunday, February 1st 2009, 4:06:19 pm
copy fails incorrectly when a class has a public clone method on cloneMethod.isAccessible().
This issue was seen when copying a com.vividsolutions.jts.geom.Polygon object in jts-1.8.jar even though it has a public clone method:
<[http://www.vividsolutions.com/Jts/javadoc/com/vividsolutions/jts/geom/Polygon.html#clone(](http://www.vividsolutions.com/Jts/javadoc/com/vividsolutions/jts/geom/Polygon.html#clone())>
Attached is a patch that fixes the bug that simply removes the check. If there truly is an inaccessible clone method the existing exception block will catch it.
Environment
Operating System: All Platform: All
Affected Versions
[current]