Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
3332 | block | always | 02-09-09 11:17 | 02-09-09 11:52 | |
|
|||||
Reporter: | koreth | Platform: | |||
Assigned To: | nam | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 4.0.0 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in 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) |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|