|
|
Re: Serialize threading problems?: msg#00071
|
Subject: |
Re: Serialize threading problems? |
In general you should avoid the serialize stuff; it has been found that we can't pre-parse libraries and have them reliably be usable in future runtimes. This is primarily because various tokens are handled differently depending on when they are encountered in the code. For example, if a parse happens at the top-level and a variable is encountered, it is treated a a local variable. If that same code (perhaps being eval'ed) is parsed within a block, the variable will be a dynamic variable.
Serialization is in general broken. Do not use it.
-- Charles Oliver Nutter @
headius.blogspot.com JRuby Developer @ jruby.sourceforge.net Application Architect @ www.ventera.com
|
| |