Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
1099 | major | always | 05-11-06 17:33 | 05-15-06 16:32 | |
|
|||||
Reporter: | koreth | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.0.19 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.0.20 | ||
|
|||||
Summary: | 0001099: Can't call static method from another class's static method | ||||
Description: |
PHP file: <?php class foo1 { public static function spit($arg) { print $arg; } } class foo2 { public static function test() { foo1::spit("hi"); } } ?> This results in an invalid Java file that causes a compilation error: /Users/sgrimm/resin/resin-3.0.s060510/webapps/test/WEB-INF/work/_quercus/_test__php.java:90: cannot find symbol symbol : variable q_this location: class _quercus._test__php.quercus_foo2 env.getClass("foo1").evalMethod(env, q_this, "spit", _quercus_value_0); ^ 1 error |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|