[ 
https://issues.apache.org/jira/browse/QPID-6719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14736642#comment-14736642
 ] 

ASF subversion and git services commented on QPID-6719:
-------------------------------------------------------

Commit 1701974 from [email protected] in branch 'java/trunk'
[ https://svn.apache.org/r1701974 ]

QPID-6719: Make sure qpid-client.properties and qpid-common.properties are 
loaded on initialization of classes AMQDestination, AMQConnection, 
AMQConnectionFactory and PropertiesFileInitialContextFactory

           work done by Lorenz Quack <[email protected]> and Alex Rudyy 
<[email protected]>

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

Reply via email to