You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tiles.apache.org by "Antonio Petrelli (JIRA)" <ji...@apache.org> on 2009/05/07 23:44:42 UTC
[jira] Commented: (TILES-404) OSGi classloader issue with
Class.forName usage
[ https://issues.apache.org/struts/browse/TILES-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46197#action_46197 ]
Antonio Petrelli commented on TILES-404:
----------------------------------------
I need to port this patch to 2.1.x branch, so I reopen it.
> OSGi classloader issue with Class.forName usage
> ------------------------------------------------
>
> Key: TILES-404
> URL: https://issues.apache.org/struts/browse/TILES-404
> Project: Tiles
> Issue Type: Bug
> Components: tiles-api, tiles-core
> Affects Versions: 2.1.2
> Environment: SpringSource dm Server (equinox)
> Reporter: Scott Andrews
> Assignee: Antonio Petrelli
> Attachments: osgi-classloading.patch
>
>
> Two classes, in the Tiles core and api packages, load classes by name without specifying a classloader. This can cause issues when running in an OSGI environment.
> The two classes we have found issues with are:
> tiles-api/src/main/java/org/apache/tiles/reflect/ClassUtil.java
> tiles-core/src/main/java/org/apache/tiles/context/ChainedTilesContextFactory.java
> The attached patch has been applied to Tiles 2.1.2 and published to the SpringSource Enterprise Bundle Repository:
> http://www.springsource.com/repository/app/bundle/version/detail?name=com.springsource.org.apache.tiles&version=2.1.2.osgi
> http://www.springsource.com/repository/app/bundle/version/detail?name=com.springsource.org.apache.tiles.core&version=2.1.2.osgi
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.