Skip to content

Commit

Permalink
Allow access to JDK 'META-INF/services'
Browse files Browse the repository at this point in the history
  • Loading branch information
lincolnthree committed Mar 13, 2014
1 parent ec13eb4 commit 96892da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import org.jboss.forge.arquillian.archive.ForgeArchive;
import org.jboss.shrinkwrap.api.ShrinkWrap;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;

Expand Down Expand Up @@ -43,14 +42,12 @@ public void testGetJDKProvidedImpl() throws Exception
}

@Test
@Ignore("This test fails")
public void testMidiDeviceProviderLookup()
{
Assert.assertTrue(ServiceLoader.load(MidiDeviceProvider.class).iterator().hasNext());
}

@Test
@Ignore("This test fails")
public void testMixerProviderLookup()
{
Assert.assertTrue(ServiceLoader.load(MixerProvider.class).iterator().hasNext());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,8 @@ private ModuleSpec findAddonModule(ModuleIdentifier id)
builder.addDependency(DependencySpec.createModuleDependencySpec(SystemClasspathSpec.ID));
builder.addDependency(DependencySpec.createModuleDependencySpec(XPathJDKClasspathSpec.ID));
builder.addDependency(DependencySpec.createModuleDependencySpec(SunMiscClasspathSpec.ID));
builder.addDependency(DependencySpec.createModuleDependencySpec(SunJDKClasspathSpec.ID));
builder.addDependency(DependencySpec.createModuleDependencySpec(PathFilters.acceptAll(),
PathFilters.rejectAll(), null, SunJDKClasspathSpec.ID, false));
builder.addDependency(DependencySpec.createModuleDependencySpec(XATransactionJDKClasspathSpec.ID));
builder.addDependency(DependencySpec.createModuleDependencySpec(PathFilters.acceptAll(),
PathFilters.rejectAll(), null, FurnaceContainerSpec.ID, false));
Expand Down

0 comments on commit 96892da

Please sign in to comment.