[forge-issues] [JBoss JIRA] (FORGE-1872) AddonRegistryIncompatibleServiceLookupTest fails when run in JDK 8

George Gastaldi (JIRA) issues at jboss.org
Fri Jun 6 11:42:15 EDT 2014


George Gastaldi created FORGE-1872:
--------------------------------------

             Summary: AddonRegistryIncompatibleServiceLookupTest fails when run in JDK 8
                 Key: FORGE-1872
                 URL: https://issues.jboss.org/browse/FORGE-1872
             Project: Forge
          Issue Type: Quality Risk
          Components: Furnace CDI
    Affects Versions: 2.6.0.Final
         Environment: Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-14T15:37:52-03:00)
Java version: 1.8.0_05, vendor: Oracle Corporation
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.14.4-200.fc20.x86_64", arch: "amd64", family: "unix"

            Reporter: George Gastaldi
             Fix For: 2.x Future


The following assertion fails:
{code}
Assert.assertFalse(depOneServiceRegistry.hasService(BB.class));
{code}

- in JDK7, {{BB.class.getClassLoader()}} == dep1 Classloader
- in JDK8,  {{BB.class.getClassLoader()}} == dep2 Classloader



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the forge-issues mailing list