[richfaces-issues] [JBoss JIRA] Updated: (RF-10822) graphValidator: java.lang.CloneNotSupportedException on GAE when bean implements Clonable interface
Nick Belaevski (JIRA)
jira-events at lists.jboss.org
Thu Mar 31 11:35:38 EDT 2011
[ https://issues.jboss.org/browse/RF-10822?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nick Belaevski updated RF-10822:
--------------------------------
Fix Version/s: 4.Future
> 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
> Labels: tran, validator
> Fix For: 4.Future
>
>
> 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