qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Rudyy (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (QPID-6719) qpid-client.properties not loaded by client
Date Thu, 10 Sep 2015 13:45:45 GMT

     [ https://issues.apache.org/jira/browse/QPID-6719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alex Rudyy resolved QPID-6719.
------------------------------
    Resolution: Fixed
      Assignee: Alex Rudyy

Reviewed the changes whilst working together with Lorens on the patch

> 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
>            Assignee: Alex Rudyy
>             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