[richfaces-issues] [JBoss JIRA] Created: (RF-10822) graphValidator: java.lang.CloneNotSupportedException on GAE when bean implements Clonable interface
Gleb Galkin (JIRA)
jira-events at lists.jboss.org
Tue Mar 29 11:05:37 EDT 2011
graphValidator: java.lang.CloneNotSupportedException on GAE when bean implements Clonable interface
---------------------------------------------------------------------------------------------------
Key: RF-10822
URL: https://issues.jboss.org/browse/RF-10822
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component, component-validators
Affects Versions: 4.0.1.Milestone1
Reporter: Gleb Galkin
Assignee: Alexander Smirnov
When user bean implements Clonable interface without overriding clone() method it causes java.lang.CloneNotSupportedException on GAE because of security restrictions.
There are 2 ways to resolve this issue:
1. let user implement clone() method in her bean and remove AbstractGraphValidator#getCloneMethod(Class<?> clazz) method
2. add catch block to the AbstractGraphValidator#getCloneMethod(Class<?> clazz) and throw SecurityException that should be handled by user
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list