Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
1177 | minor | always | 06-05-06 17:24 | 06-09-06 15:15 | |
|
|||||
Reporter: | koreth | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.0.20 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.0.20 | ||
|
|||||
Summary: | 0001177: Calling parent class method with more than 5 arguments using "parent::" results in bad Java code | ||||
Description: |
PHP: <?php class c1 { } class c2 extends c1 { function x() { parent::x(1,2,3,4,5,6); } } ?> This fails to compile because the Java code has an extra ")": [17:20:06.656] com.caucho.java.JavaCompileException: /Users/sgrimm/resin/resin/webapps/test/WEB-INF/work/_quercus/_test__php.java:91: ';' expected [17:20:06.656] env.getClass("c1").getFunction("x").callMethod(env, q_this, new Value[] {_quercus_value_0, _quercus_value_1, _quercus_value_2, _quercus_value_3, _quercus_value_4, _quercus_value_5})); [17:20:06.656] ^ [17:20:06.656] 1 error If you remove one of the arguments, it compiles just fine. |
||||
Steps To Reproduce: | |||||
Additional Information: | 060602 snapshot | ||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|