You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2014/03/28 09:51:15 UTC
[jira] [Resolved] (CAMEL-7315) SPI locator fails when using a
charset such as UTF16
[ https://issues.apache.org/jira/browse/CAMEL-7315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Willem Jiang resolved CAMEL-7315.
---------------------------------
Resolution: Fixed
Fix Version/s: 2.14.0
2.13.1
2.12.4
Applied the patch into camel master, camel-2.13.x and camel-2.12.x branches with thanks to Knut-Olav.
> SPI locator fails when using a charset such as UTF16
> ----------------------------------------------------
>
> Key: CAMEL-7315
> URL: https://issues.apache.org/jira/browse/CAMEL-7315
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Reporter: Knut-Olav Hoven
> Assignee: Willem Jiang
> Labels: patch
> Fix For: 2.12.4, 2.13.1, 2.14.0
>
>
> Java 6 ServiceLocator requires SPI resources to be encoded in UTF8 according to <http://docs.oracle.com/javase/6/docs/api/java/util/ServiceLoader.html>.
> I believe Camel SPI locator should confirm to this.
> Pull request with patch:
> <https://github.com/apache/camel/pull/115>
> Sorry for not supplying tests. Try running tests using property "file.encoding=UTF16" :)
--
This message was sent by Atlassian JIRA
(v6.2#6252)