[jboss-jira] [JBoss JIRA] (JGRP-1978) Rename VERSION.properties to avoid conflicts

Bela Ban (JIRA) issues at jboss.org
Thu Nov 12 02:42:00 EST 2015


     [ https://issues.jboss.org/browse/JGRP-1978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bela Ban resolved JGRP-1978.
----------------------------
    Resolution: Done


Moved VERSION.properties -> JGROUPS_VERSION.properties

> Rename VERSION.properties to avoid conflicts
> --------------------------------------------
>
>                 Key: JGRP-1978
>                 URL: https://issues.jboss.org/browse/JGRP-1978
>             Project: JGroups
>          Issue Type: Enhancement
>    Affects Versions: 3.6.6
>            Reporter: Emeric Vernat
>            Assignee: Bela Ban
>            Priority: Minor
>             Fix For: 3.6.7
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list