Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
1176 | minor | always | 06-05-06 17:03 | 06-28-06 19:28 | |
|
|||||
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: | 0001176: "while (false)" produces non-compilable Java code | ||||
Description: |
The PhpDocumentor package has some code that's commented out with "while (false) { ... }". Why they used "while" instead of "if" I'm not sure, but they did, and the resulting Java fails to compile, though it works fine in interpreted mode. [16:59:46.114] com.caucho.java.JavaCompileException: /Users/sgrimm/resin/resin/webapps/test/WEB-INF/work/_quercus/_test__php.java:53: unreachable statement [16:59:46.114] while (false) { [16:59:46.114] ^ [16:59:46.114] 1 error |
||||
Steps To Reproduce: | |||||
Additional Information: | 060602 snapshot | ||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|