|
Mantis - Quercus
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 5340 | minor | always | 01-21-13 21:13 | 02-05-13 04:01 | |
|
|
|||||
| Reporter: | ngoc | Platform: | |||
| Assigned To: | OS: | ||||
| Priority: | normal | OS Version: | |||
| Status: | new | Product Version: | 4.0.34 | ||
| Product Build: | Resolution: | open | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | |||
|
|
|||||
| Summary: | 0005340: Make QuercusCompiledScript Serializable | ||||
| Description: |
My project need save QuercusCompiledScript to datastore-memcache (appengine). So I need QuercusCompiledScript implements Serializable . - I can extends or rewrite another version of it , but it have QuercusScriptEngine and QuercusProgram fields non Serializable too . - make transient it will cause null if reconstruct from datastore |
||||
| Steps To Reproduce: | |||||
| Additional Information: |
Example my code in use : QuercusScriptEngine engine = new QuercusScriptEngine(new QuercusScriptEngineFactory(), quercus); String sayHelloVN ="<h1>hello <?php echo 'vietnam'; ?> </h1>" ; CompiledScript script = engine.compile(sayHelloVN); MemcacheService syncCache = MemcacheServiceFactory.getMemcacheService(); syncCache.put("test", script ); CompiledScript compiledscript = (CompiledScript)syncCache.get("test"); compiledscript.eval(); |
||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||