Mantis - Quercus
Viewing Issue Advanced Details
3881 minor always 02-07-10 12:05 02-07-10 12:05
ice-breaker  
 
normal  
new 4.0.2  
open  
none    
none  
0003881: extending or implementing unknown classes does not create error messages or incorrect messages
In Resin only a blank page is displayed when extending/implementing unknown classes. In Jetty a very uninformative message is displayed: "java.io.FileNotFoundException: jar:"
php file:
class PHPUnit_Util_FilterIterator extends FilterIterator {
    public function accept() {
        return true;
    }
}

expected output:
FilterIterator is an unknown class name

resin output:
*only a blank page*

jetty output:
Problem accessing /unknownClassBug.php. Reason:
    java.io.FileNotFoundException: jar:

Caused by:
com.caucho.quercus.QuercusException: java.io.FileNotFoundException: jar:
    at com.caucho.quercus.env.Env.executePage(Env.java:5199)
    at com.caucho.quercus.env.InternalAutoloadCallback.loadClass(InternalAutoloadCallback.java:68)
    .......

There are no notes attached to this issue.