Anonymous | Login | Signup for a new account | 12-17-2024 10:52 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ 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 | Platform | |||||
Status | closed | OS | |||||||
Projection | none | OS Version | |||||||
ETA | none | Fixed in Version | 4.0.0 | Product Version | 4.0.0 | ||||
Product Build | |||||||||
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) |
||||||||
Steps To Reproduce | |||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |