Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002084 [Quercus] minor always 10-18-07 11:46 10-18-07 17:24
Reporter koreth View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.1.4 Product Version 3.1.3
  Product Build
Summary 0002084: Class can't implement ArrayAccess
Description This broke in the last day or so. When I load a class definition that implements the PHP "ArrayAccess" interface, even a trival no-op one like

<?php
class Foo implements ArrayAccess { }

I get an exception:

java.lang.IllegalArgumentException: unknown @Delegate class 'class com.caucho.quercus.lib.spl.ArrayAccessDelegate'
    at com.caucho.quercus.program.JavaClassDef.introspectAnnotations(JavaClassDef.java:839)
    at com.caucho.quercus.program.JavaClassDef.introspect(JavaClassDef.java:797)
    at com.caucho.quercus.program.JavaClassDef.init(JavaClassDef.java:731)
    at com.caucho.quercus.env.QuercusClass.<init>(QuercusClass.java:148)
    at com.caucho.quercus.env.Env.createQuercusClass(Env.java:3366)
    at com.caucho.quercus.env.Env.createClassImpl(Env.java:3231)
    at com.caucho.quercus.env.Env.findClass(Env.java:3184)
    at com.caucho.quercus.env.Env.findClass(Env.java:3162)
    at com.caucho.quercus.program.ClassDefStatement.execute(ClassDefStatement.java:54)
    at com.caucho.quercus.program.QuercusProgram.execute(QuercusProgram.java:239)
    at com.caucho.quercus.page.InterpretedPage.execute(InterpretedPage.java:61)
    at com.caucho.quercus.page.QuercusPage.executeTop(QuercusPage.java:119)
    at com.caucho.quercus.servlet.ResinQuercusServlet.service(ResinQuercusServlet.java:146)
    at com.caucho.quercus.servlet.QuercusServlet.service(QuercusServlet.java:353)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:91)
    at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:103)
    at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:178)
    at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:241)
    at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:268)
    at com.caucho.server.port.TcpConnection.run(TcpConnection.java:586)
    at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:690)
    at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:612)
    at java.lang.Thread.run(Thread.java:637)
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0002369)
ferg
10-18-07 17:24

The current snapshot is in the middle of a SPL refactoring, so these regressions were failing.

php/4a2-
 

- Issue History
Date Modified Username Field Change
10-18-07 11:46 koreth New Issue
10-18-07 17:24 ferg Note Added: 0002369
10-18-07 17:24 ferg Assigned To  => ferg
10-18-07 17:24 ferg Status new => closed
10-18-07 17:24 ferg Resolution open => fixed
10-18-07 17:24 ferg Fixed in Version  => 3.1.4


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