[jboss-jira] [JBoss JIRA] (JGRP-1978) Rename VERSION.properties to avoid conflicts
Emeric Vernat (JIRA)
issues at jboss.org
Wed Nov 11 14:29:00 EST 2015
[ https://issues.jboss.org/browse/JGRP-1978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emeric Vernat updated JGRP-1978:
--------------------------------
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.
was:
JGroups expect 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.
> 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
>
> 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