Mantis - Resin
Viewing Issue Advanced Details
4992 minor always 03-19-12 07:01 06-22-12 12:55
guus  
ferg  
normal  
closed 3.1.11  
fixed  
none    
none 4.0.29  
0004992: PojoBean can cause bug when extending AbstractAuthenticator
These exact combination of characteristics when extending com.caucho.server.security.AbstractAuthenticator:
* Serializable class
* transient
* webbeans-annotated field

Triggers com.caucho.ejb3.gen.PojoBean to generate a proxy class that contains the private method Object writeReplace()

As Resins AbstractAuthenticator already contains a method with this signature, but which has an access privilege of public, this generated proxy class will generate runtime problems.
This bug has been reported in more detail (thanks to its markup functionality) in the Caucho forums at http://forum.caucho.com/showthread.php?p=34240#post34240 [^]

A workaround has been provided there as well.

Notes
(0005937)
ferg   
06-22-12 12:55   
ioc/0e41