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

Rename VERSION.properties to avoid conflicts

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Minor Minor
    • 3.6.7
    • 3.6.6
    • None

      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.

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

              Created:
              Updated:
              Resolved: