Anonymous | Login | Signup for a new account | 12-17-2024 08:56 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0003235 | [Quercus] | minor | always | 01-09-09 17:14 | 01-09-09 18:13 | ||||
Reporter | koreth | View Status | public | ||||||
Assigned To | nam | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 4.0.0 | ||||||
Summary | 0003235: ReflectionMethod::getDeclaringClass() NPE in compiled mode | ||||||||
Description |
<?php class Foo { public function foo() { } } $x = new ReflectionMethod('Foo', 'foo'); print $x->getDeclaringClass(); This prints "Foo" in interpreted mode, but throws NPE in compiled mode: com.caucho.quercus.QuercusException: com.caucho.quercus.lib.reflection.ReflectionMethod.getDeclaringClass: null at com.caucho.quercus.env.JavaMethod.invoke(JavaMethod.java:116) at com.caucho.quercus.env.JavaInvoker.callMethod(JavaInvoker.java:618) at com.caucho.quercus.env.AbstractJavaMethod.callMethod(AbstractJavaMethod.java:186) at com.caucho.quercus.program.JavaClassDef.callMethod(JavaClassDef.java:605) at com.caucho.quercus.env.JavaValue.callMethod(JavaValue.java:336) at _quercus._html._test._reflectionmethod__php.execute(.../reflectionmethod.php:7) |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |