Anonymous | Login | Signup for a new account | 12-17-2024 10:33 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0003332 | [Quercus] | block | always | 02-09-09 11:17 | 02-09-09 11:52 | ||||
Reporter | koreth | View Status | public | ||||||
Assigned To | nam | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 4.0.0 | ||||||
Summary | 0003332: Autoinitialized static fields fail to compile | ||||||||
Description |
<?php class x { static $y = 1; } throws this exception: [11:15:45.386] {resin-20} java.lang.ClassCastException: com.caucho.quercus.program.ClassDef$StaticFieldEntry cannot be cast to com.caucho.quercus.expr.CompilingExpr [11:15:45.386] {resin-20} at com.caucho.quercus.program.ProClassDef.generate(ProClassDef.java:222) [11:15:45.386] {resin-20} at com.caucho.quercus.gen.QuercusMain.generate(QuercusMain.java:177) [11:15:45.386] {resin-20} at com.caucho.java.gen.BaseClass.generateComponents(BaseClass.java:253) [11:15:45.386] {resin-20} at com.caucho.java.gen.BaseClass.generateClassContent(BaseClass.java:240) [11:15:45.386] {resin-20} at com.caucho.java.gen.BaseClass.generate(BaseClass.java:228) [11:15:45.386] {resin-20} at com.caucho.java.gen.GenClass.generate(GenClass.java:124) [11:15:45.386] {resin-20} at com.caucho.java.gen.JavaClassGenerator.generate(JavaClassGenerator.java:286) [11:15:45.386] {resin-20} at com.caucho.quercus.gen.QuercusGenerator.generate(QuercusGenerator.java:138) [11:15:45.386] {resin-20} at com.caucho.quercus.gen.QuercusGenerator.generate(QuercusGenerator.java:92) [11:15:45.386] {resin-20} at com.caucho.quercus.page.ProPageManager$GenerateThread.generateCode(ProPageManager.java:339) |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |