You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Shenghao Fang (JIRA)" <ji...@apache.org> on 2011/01/19 07:09:46 UTC
[jira] Closed: (GERONIMO-5748) Defects in
ThreadSingletonServiceAdapter
[ https://issues.apache.org/jira/browse/GERONIMO-5748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shenghao Fang closed GERONIMO-5748.
-----------------------------------
> Defects in ThreadSingletonServiceAdapter
> ----------------------------------------
>
> Key: GERONIMO-5748
> URL: https://issues.apache.org/jira/browse/GERONIMO-5748
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: OpenEJB
> Environment: Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
> Reporter: Shenghao Fang
> Assignee: Shenghao Fang
> Fix For: 3.0
>
> Attachments: GERONIMO-5748.patch
>
>
> 2 defects found in ThreadSingletonServiceAdapter:
> 1. ClassCastException on ThreadSingletonServiceAdapter: 69
> {code:borderStyle=solid}
> // The type of old is WebBeansContext, we need to create a new OWBContext wrapper instance.
> startupObject.getAppContext().set(OWBContext.class, (OWBContext) old);
> {code}
> 2. Incorrect judgement on ThreadSingletonServiceAdapter: 96
> {code:borderStyle=solid}
> // The type of oldContext is expected to be WebBeansContext instead of Map.
> 95 public void contextExited(Object oldContext) {
> 96 if (oldContext != null && !(oldContext instanceof Map)) throw new IllegalArgumentException("Expecting a Map<String, Object> not " + oldContext.getClass().getName());
> 97 GeronimoSingletonService.contextExited((WebBeansContext) oldContext);
> 98 }
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
Jetty mail list
Posted by nileader开发 <ni...@gmail.com>.
Hi, have any mail list for Jetty dev??
-----邮件原件-----
发件人: Shenghao Fang (JIRA) [mailto:jira@apache.org]
发送时间: 2011年1月19日 14:10
收件人: dev@geronimo.apache.org
主题: [jira] Closed: (GERONIMO-5748) Defects in ThreadSingletonServiceAdapter
[ https://issues.apache.org/jira/browse/GERONIMO-5748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shenghao Fang closed GERONIMO-5748.
-----------------------------------
> Defects in ThreadSingletonServiceAdapter
> ----------------------------------------
>
> Key: GERONIMO-5748
> URL: https://issues.apache.org/jira/browse/GERONIMO-5748
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: OpenEJB
> Environment: Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
> Reporter: Shenghao Fang
> Assignee: Shenghao Fang
> Fix For: 3.0
>
> Attachments: GERONIMO-5748.patch
>
>
> 2 defects found in ThreadSingletonServiceAdapter:
> 1. ClassCastException on ThreadSingletonServiceAdapter: 69
> {code:borderStyle=solid}
> // The type of old is WebBeansContext, we need to create a new OWBContext wrapper instance.
> startupObject.getAppContext().set(OWBContext.class, (OWBContext) old);
> {code}
> 2. Incorrect judgement on ThreadSingletonServiceAdapter: 96
> {code:borderStyle=solid}
> // The type of oldContext is expected to be WebBeansContext instead of Map.
> 95 public void contextExited(Object oldContext) {
> 96 if (oldContext != null && !(oldContext instanceof Map)) throw new IllegalArgumentException("Expecting a Map<String, Object> not " + oldContext.getClass().getName());
> 97 GeronimoSingletonService.contextExited((WebBeansContext) oldContext);
> 98 }
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.