[ 
https://issues.apache.org/jira/browse/VELOCITY-458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Henning Schmiedehausen closed VELOCITY-458.
-------------------------------------------


> InternalContextBase defines non-serializable non-transient fields
> -----------------------------------------------------------------
>
>                 Key: VELOCITY-458
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-458
>             Project: Velocity
>          Issue Type: Bug
>          Components: Engine
>    Affects Versions: 1.5 beta1
>            Reporter: Henning Schmiedehausen
>             Fix For: 1.5
>
>
> According to Findbugs, org.apache.velocity.context.InternalContextBase 
> defines currentResource and eventCartridge as non-serializable, non-transient 
>  in a serializable class.
> Possible solutions:
> a) make Resource and EventCartridge serializable (might drag a large number 
> of classes along)
> b) remove Serializable from InternalContextBase (does the Context get 
> serialized somewhere? Is it needed for e.g. Web Applications?)
> c) make the fields transient, losing their contents after serialization / 
> de-serialization.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to