You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alex Rudyy (JIRA)" <ji...@apache.org> on 2015/09/08 19:29:46 UTC
[jira] [Updated] (QPID-6719) qpid-client.properties not loaded by
client
[ https://issues.apache.org/jira/browse/QPID-6719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Rudyy updated QPID-6719:
-----------------------------
Attachment: client-properties-loading-fix.diff
Potential fix for the issue
> qpid-client.properties not loaded by client
> -------------------------------------------
>
> Key: QPID-6719
> URL: https://issues.apache.org/jira/browse/QPID-6719
> Project: Qpid
> Issue Type: Bug
> Components: Java Client
> Reporter: Keith Wall
> Fix For: qpid-java-6.0
>
> Attachments: client-properties-loading-fix.diff
>
>
> The client is supposed to load a qpid-client.properties from the classpath. It does this within a static initialiser block within the ClientProperties class. However, since the remainder of class ClientProperties contains only final member variables these can be legitimately inlined at compile time into referring classes, therefore the static initialiser may never be called and the properties file never loaded.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org