Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-6175

default.properties resource file would conflict with other libraries

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • framework-6.0.3
    • framework-7.0.0
    • Framework
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              karlpauls Karl Pauls
              nosferaty George Lipatov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: