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