[
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: [email protected]
For additional commands, e-mail: [email protected]