[
https://issues.apache.org/jira/browse/FELIX-6175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Karl Pauls resolved FELIX-6175.
-------------------------------
Resolution: Fixed
Unfortunately, we can't easily change this as other projects depend on the
location, but I changed it slightly for 7.0.0 by using the class loader to look
it up.
> default.properties resource file would conflict with other libraries
> --------------------------------------------------------------------
>
> Key: FELIX-6175
> URL: https://issues.apache.org/jira/browse/FELIX-6175
> Project: Felix
> Issue Type: Improvement
> Components: Framework
> Affects Versions: framework-6.0.3
> Reporter: George Lipatov
> Assignee: Karl Pauls
> Priority: Minor
> Fix For: framework-7.0.0
>
>
> Felix framework loads properties from "default.properties" resource file.
> The problem is that the same file would exist in other libs, so we do not
> know which one will be loaded when we try to get "default.properties"
> resource.
> For example, if an application contains both Felix and Oshi 4.0.0 libraries,
> Felix crashes on start sometimes (because a random "default.properties"
> resource file is loaded).
> I reckon there could be other libraries with "default.properties" file
> inside. Renaming this file (for example, with "felix.properties") will
> prevent possible conflicts with any other libraries.
> P.S. The same ticket for Oshi: [https://github.com/oshi/oshi/issues/974]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)