[jboss-jira] [JBoss JIRA] (WFLY-1289) Spurious warnings about invalid META-INF/services class name

Harald Wellmann (JIRA) jira-events at lists.jboss.org
Sat Apr 27 06:54:53 EDT 2013


Harald Wellmann created WFLY-1289:
-------------------------------------

             Summary: Spurious warnings about invalid META-INF/services class name
                 Key: WFLY-1289
                 URL: https://issues.jboss.org/browse/WFLY-1289
             Project: WildFly
          Issue Type: Bug
          Components: Class Loading
         Environment: 7.2.0.Final
java version "1.7.0_21"
Ubuntu 12.04 LTS
            Reporter: Harald Wellmann
            Assignee: David Lloyd


When an application contains a {{META-INF/services}} resource referencing an inner class, JBoss prints a spurious warning

{noformat}
JBAS015893: Encountered invalid class name 'com.acme.Foo$Bar' for service type 'com.acme.Service'
{noformat}

{{META-INF/services}} lists classes with their binary name, so dollar characters are likely to occur.

{{org.jboss.as.server.deployment.ServiceLoaderProcessor}} scans all {{META-INF/services}} resources but does not accept dollar characters in its validation pattern. 

(Note: I can't select any 7.x release for "Affects Version".)



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list