Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003260 [Quercus] major always 01-14-09 20:21 01-15-09 21:06
Reporter cabbiepete View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 3.1.8
Summary 0003260: multiple interface inheritance syntax not supported
Description 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.



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

- Relationships

- 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.
 

- Issue History
Date Modified Username Field Change
01-14-09 20:21 cabbiepete New Issue
01-14-09 20:21 cabbiepete File Added: index.php
01-15-09 21:06 ferg Note Added: 0003745
01-15-09 21:06 ferg Assigned To  => ferg
01-15-09 21:06 ferg Status new => closed
01-15-09 21:06 ferg Resolution open => fixed
01-15-09 21:06 ferg Fixed in Version  => 4.0.0


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