You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by "Ate Douma (JIRA)" <ji...@apache.org> on 2010/10/24 17:30:19 UTC
[jira] Issue Comment Edited: (PLUTO-601) Remove expensive object
creation in PortletAppDescriptorServiceImpl
[ https://issues.apache.org/jira/browse/PLUTO-601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12924330#action_12924330 ]
Ate Douma edited comment on PLUTO-601 at 10/24/10 11:30 AM:
------------------------------------------------------------
Hi Eric,
Can you fix the build error on PortletAppDescriptorServiceImpl.java?
PortletAppDescriptorServiceImpl.java:[329,18] cannot find symbol
symbol : constructor IOException(java.lang.String,javax.xml.bind.JAXBException)
location: class java.io.IOException
Java 1.5 doesn't have such a IOException constructor (1.6 does).
See also Hudson build status, https://hudson.apache.org/hudson/view/Portals/
(also notified on commits@portals.apache.org)
Thanks, Ate
was (Author: adouma):
Hi Eric,
Can you fix the build error on PortletAppDescriptorServiceImpl.java?
PortletAppDescriptorServiceImpl.java:[329,18] cannot find symbol
symbol : constructor IOException(java.lang.String,javax.xml.bind.JAXBException)
location: class java.io.IOException
Java 1.5 doesn't have such a IOException constructor (1.6 does).
See also Hudson build status, https://hudson.apache.org/hudson/view/Portals/
(also notified on general@portals.apache.org)
Thanks, Ate
> Remove expensive object creation in PortletAppDescriptorServiceImpl
> -------------------------------------------------------------------
>
> Key: PLUTO-601
> URL: https://issues.apache.org/jira/browse/PLUTO-601
> Project: Pluto
> Issue Type: Improvement
> Components: portlet container
> Reporter: Eric Dalquist
> Assignee: Eric Dalquist
> Fix For: 2.0.3, 2.1.0
>
>
> PortletAppDescriptorServiceImpl creates new JAXBContext, XMLInputFactory, DocumentBuilderFactory, and Pattern objects every time they are needed. All of these objects are thread-safe once created and configured and should only be created once at the class level and re-used for the life of the class.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.