Mantis Bugtracker

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002121 [Quercus] minor always 10-26-07 22:48 10-29-07 14:31
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 0002121: Can't store Java-generated objects in APC

package test;
import java.util.*;
class Test {
        public static Map test() {
                return new HashMap();


import test.Test;
apc_store("testkey", Test::test());

This throws an UnsupportedOperationException.
Steps To Reproduce
Additional Information java.lang.UnsupportedOperationException
    at com.caucho.quercus.env.JavaAdapter.copy(
    at com.caucho.quercus.env.Value.copy(
    at com.caucho.quercus.lib.ApcModule.apc_store(
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
    at java.lang.reflect.Method.invoke(
    at com.caucho.quercus.module.StaticFunction.invoke(
    at com.caucho.quercus.env.JavaInvoker.callMethod(
    at com.caucho.quercus.expr.FunctionExpr.evalImpl(
    at com.caucho.quercus.expr.FunctionExpr.eval(
    at com.caucho.quercus.program.ExprStatement.execute(
    at com.caucho.quercus.program.BlockStatement.execute(
    at com.caucho.quercus.program.QuercusProgram.execute(
    at com.caucho.quercus.servlet.ResinQuercusServlet.service(
    at com.caucho.quercus.servlet.QuercusServlet.service(
    at javax.servlet.http.HttpServlet.service(
    at com.caucho.server.dispatch.ServletFilterChain.doFilter(
    at com.caucho.server.webapp.WebAppFilterChain.doFilter(
    at com.caucho.server.dispatch.ServletInvocation.service(
    at com.caucho.server.http.HttpRequest.handleRequest(
    at com.caucho.util.ThreadPool$Item.runTasks(
    at com.caucho.util.ThreadPool$
Attached Files

- Relationships

- Notes
10-29-07 14:31


- Issue History
Date Modified Username Field Change
10-26-07 22:48 koreth New Issue
10-29-07 14:31 ferg Note Added: 0002408
10-29-07 14:31 ferg Assigned To  => ferg
10-29-07 14:31 ferg Status new => closed
10-29-07 14:31 ferg Resolution open => fixed
10-29-07 14:31 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