Mantis - Quercus
Viewing Issue Advanced Details
3260 major always 01-14-09 20:21 01-15-09 21:06
cabbiepete  
ferg  
normal  
closed 3.1.8  
fixed  
none    
none 4.0.0  
0003260: multiple interface inheritance syntax not supported
the syntax

interface interfaceC extends intefaceA, intefaceB {}

below is the traceback

/var/www/sites/queue/webapps/ROOT/index.php:3: expected '{' at ',' in
index.php:2:
index.php:3: interface interfaceC extends intefaceA, intefaceB {}
index.php:4:

javax.servlet.ServletException: com.caucho.quercus.parser.QuercusParseException:
/var/www/sites/queue/webapps/ROOT/index.php:3: expected '{' at ',' in
index.php:2:
index.php:3: interface interfaceC extends intefaceA, intefaceB {}
index.php:4:
    at com.caucho.quercus.servlet.ResinQuercusServlet.service(ResinQuercusServlet.java:216)
    at com.caucho.quercus.servlet.QuercusServlet.service(QuercusServlet.java:355)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:91)
    at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:103)
    at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:97)
    at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:265)
    at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:293)
    at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:111)
    at com.caucho.server.dispatch.ForwardFilterChain.doFilter(ForwardFilterChain.java:84)
    at com.caucho.server.rewrite.ConditionFilterChain.doFilter(ConditionFilterChain.java:98)
    at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:187)
    at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:265)
    at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:273)
    at com.caucho.server.port.TcpConnection.run(TcpConnection.java:682)
    at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:730)
    at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:649)
    at java.lang.Thread.run(Thread.java:595)
Caused by: com.caucho.quercus.parser.QuercusParseException: /var/www/sites/queue/webapps/ROOT/index.php:3:
expected '{' at ',' in
index.php:2:
index.php:3: interface interfaceC extends intefaceA, intefaceB {}
index.php:4:
    at com.caucho.quercus.parser.QuercusParser.error(QuercusParser.java:5045)
    at com.caucho.quercus.parser.QuercusParser.expect(QuercusParser.java:4929)
    at com.caucho.quercus.parser.QuercusParser.parseClassDefinition(QuercusParser.java:1837)
    at com.caucho.quercus.parser.QuercusParser.parseStatementList(QuercusParser.java:603)
    at com.caucho.quercus.parser.QuercusParser.parseTop(QuercusParser.java:505)
    at com.caucho.quercus.parser.QuercusParser.parse(QuercusParser.java:421)
    at com.caucho.quercus.parser.QuercusParser.parse(QuercusParser.java:302)
    at com.caucho.quercus.page.PageManager.parse(PageManager.java:196)
    at com.caucho.quercus.page.PageManager.parse(PageManager.java:160)
    at com.caucho.quercus.Quercus.parse(Quercus.java:850)
    at com.caucho.quercus.servlet.ResinQuercusServlet.service(ResinQuercusServlet.java:100)
    at com.caucho.quercus.servlet.QuercusServlet.service(QuercusServlet.java:355)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:91)
    at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:103)
    at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:97)
    at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:265)
    at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:293)
    at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:111)
    at com.caucho.server.dispatch.ForwardFilterChain.doFilter(ForwardFilterChain.java:84)
    at com.caucho.server.rewrite.ConditionFilterChain.doFilter(ConditionFilterChain.java:98)
    at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:187)
    at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:265)
    at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:273)
    at com.caucho.server.port.TcpConnection.run(TcpConnection.java:682)
    at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:730)
    at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:649)
    at java.lang.Thread.run(Thread.java:595)


The index.php file is attached.



 index.php [^] (61 bytes) 01-14-09 20:21

Notes
(0003745)
ferg   
01-15-09 21:06   
php/09jg

This is already fixed in 4.0. For Quercus bugs, it's important to test against the latest version because each version includes many bug fixes.