]
George Gastaldi closed FORGE-1872.
----------------------------------
Assignee: George Gastaldi
Fix Version/s: 2.6.1.Final
(was: 2.x Future)
Resolution: Done
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, Furnace Simple
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
Assignee: George Gastaldi
Labels: JDK_Compatibility
Fix For: 2.6.1.Final
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