[
https://issues.jboss.org/browse/JBLOGGING-73?page=com.atlassian.jira.plug...
]
David Lloyd resolved JBLOGGING-73.
----------------------------------
Fix Version/s: 3.1.0.Beta3
Resolution: Done
Processor fails to validate log messages defined in an inheriting
interface
---------------------------------------------------------------------------
Key: JBLOGGING-73
URL:
https://issues.jboss.org/browse/JBLOGGING-73
Project: JBoss Logging
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 3.1.0.Beta2
Reporter: Sanne Grinovero
Assignee: David Lloyd
Fix For: 3.1.0.Beta3
In both Infinispan and Hibernate we define a main logger in the core project, and extend
this in each other module. In practice it looks like:
{code:title="Main project"}
@MessageLogger(projectCode = "ISPN")
public interface Log extends BasicLogger {
@LogMessage(level = WARN)
@Message(value = "Field %s not found!!", id = 2)
void fieldNotFound(String fieldName);
...
{code}
{code:title="Extending module"}
@MessageLogger(projectCode = "ISPN")
public interface Log extends org.infinispan.util.logging.Log {
@LogMessage(level = ERROR)
@Message(value = "Could not locate key class %s", id = 14001)
void keyClassNotFound(String keyClassName, @Cause Exception e);
...
{code}
since the last release 1.0.0.CR3 all extending modules fail to build with the following
error message:
{quote}
[INFO] diagnostic error: All message bundles and message logger messageMethods must have
or inherit a message.
[INFO] diagnostic error: All message bundles and message logger messageMethods must have
or inherit a message.
[INFO] diagnostic error: All message bundles and message logger messageMethods must have
or inherit a message.
[INFO] diagnostic error: All message bundles and message logger messageMethods must have
or inherit a message.
[many more..]
{quote}
So we had to rollback this dependency upgrade and stick with older versions.
See also
https://infinispan.ci.cloudbees.com/job/Infinispan-master-JDK6-tcp/268/or...
caused by
https://github.com/infinispan/infinispan/blob/master/query/src/main/java/...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira