Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001098 [Quercus] major always 05-11-06 15:41 05-15-06 16:45
Reporter koreth View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 3.0.19
Summary 0001098: Functions that throw exceptions don't compile
Description test.php:

<?php
function foo() {
    throw new Exception("foo");
}
?>

With Resin logging turned up to "fine", I see that the generated Java file doesn't compile:

[15:38:39.061] /Users/sgrimm/resin/resin-3.0.s060510/webapps/test/WEB-INF/work/_quercus/_test__php.java:64: cannot find symbol
[15:38:39.061] symbol : method NULLtoException()
[15:38:39.061] location: class com.caucho.quercus.env.NullValue
[15:38:39.061] throw NullValue.NULLtoException();
[15:38:39.061] ^
[15:38:39.061] 1 error
Additional Information
Attached Files

- Relationships

- Notes
(0001135)
ferg
05-15-06 16:45

php/3g01
 

- Issue History
Date Modified Username Field Change
05-11-06 15:41 koreth New Issue
05-15-06 16:45 ferg Note Added: 0001135
05-15-06 16:45 ferg Assigned To  => ferg
05-15-06 16:45 ferg Status new => closed
05-15-06 16:45 ferg Resolution open => fixed
05-15-06 16:45 ferg Fixed in Version  => 3.0.20


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker