Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-1978

Rename VERSION.properties to avoid conflicts

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Done
    • 3.6.6
    • 3.6.7
    • None

    Description

      JGroups expects to find a resource /VERSION.properties in the classpath from its jar file.
      But other libs may expect the same resource in the classpath from their jar files.
      This would cause a conflict and JGroups would fail to initialize its Version class, with an IllegalStateException and NoClassDefFoundError:
      https://github.com/belaban/JGroups/blob/master/src/org/jgroups/Version.java#L59

      Of course, it has happened:
      https://github.com/javamelody/javamelody/issues/511

      It could be suggested to rename or move VERSION.properties in jgroups to avoid conflicts.

      Attachments

        Activity

          People

            rhn-engineering-bban Bela Ban
            evernat Emeric Vernat (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: