qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-6719) qpid-client.properties not loaded by client
Date Wed, 09 Sep 2015 10:47:45 GMT

    [ 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 orudyy@apache.org 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 <quack.lorenz@gmail.com> and Alex Rudyy <orudyy@apache.org>

> 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


Mime
View raw message