]
Alexander Smirnov commented on RF-10822:
----------------------------------------
More portable solution is using Serialization for serializable objects - store it in the
byte buffer and deserialize into copy.
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
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: