Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.1.2
-
None
-
SpringSource dm Server (equinox)
-
Patch
Description
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